Scrolling a Viewport crashes compiled plugin....
-
@Lindon just delete the dll and try to open the project, so it's not trying to use the dll but reverting to the scriptnode networks
-
@DanH said in Scrolling a Viewport crashes compiled plugin....:
@Lindon just delete the dll and try to open the project, so it's not trying to use the dll but reverting to the scriptnode networks
Ah yes - thanks - that gets me to a loaded project in the New HISE...
-
@DanH once you're into the project try building the dll. Expect it to fail. Close HISE and open the AutoGen dll project. Build that in VS. Open HISE
-
@DanH wow well done Dan, that worked....
-
@Lindon told ya
-
@DanH said in Scrolling a Viewport crashes compiled plugin....:
@Lindon told ya
Right built the plugin - loaded it into Reaper - crashes...
now to build using Dan K.'s video tutorial...
-
Okay I think I may be getting somewhere....
So I THINK I'm getting an access violation on the paint of the SAmplerSoundWaveform:
But if I sound clueless - I am - but it keeps coming back here no matter what I do...
-
@Lindon Ok so I took out the AudioWaveform controls - and the plugin works fine - so there's a bug in the rendering of this control I think...
@Christoph-Hart !!! Help!!!
-
@Lindon said in Scrolling a Viewport crashes compiled plugin....:
so there's a bug in the rendering of this control I think...
Are you using a custom look and feel for the audio rendering?
-
@Christoph-Hart said in Scrolling a Viewport crashes compiled plugin....:
@Lindon said in Scrolling a Viewport crashes compiled plugin....:
so there's a bug in the rendering of this control I think...
Are you using a custom look and feel for the audio rendering?
nope - everything else just about but not that.
I am redrawing them(changing their colours) a fair bit though to reflect their position in the XY pad space...
-
-
@Lindon OK well I tried a custom LAF and that doenst fix this issue.
It seems to crash every time I've played a note (and thus set the play head somewhere) and then I scroll thru the list of voices -- I have no idea why its doing it at that point.... I can (obviously) let you have the project if you want @Christoph-Hart
-
@Lindon can you dumb it down to a minimal example or is it only happening with your project?
-
@Christoph-Hart said in Scrolling a Viewport crashes compiled plugin....:
@Lindon can you dumb it down to a minimal example or is it only happening with your project?
Ill try and get it down to something manageable...
-
@Lindon said in Scrolling a Viewport crashes compiled plugin....:
@Christoph-Hart said in Scrolling a Viewport crashes compiled plugin....:
@Lindon can you dumb it down to a minimal example or is it only happening with your project?
Ill try and get it down to something manageable...
Well frustratingly I cant reproduce the problem in a simplified project....
-
@Lindon said in Scrolling a Viewport crashes compiled plugin....:
@Lindon said in Scrolling a Viewport crashes compiled plugin....:
@Christoph-Hart said in Scrolling a Viewport crashes compiled plugin....:
@Lindon can you dumb it down to a minimal example or is it only happening with your project?
Ill try and get it down to something manageable...
Well frustratingly I cant reproduce the problem in a simplified project....
its maddening.... I can open the UI, open the viewport and scroll away, and select items... and everything works correctly... I play a note, open the viewport , scroll any amount - and the system gives me the "circling- busy mouse icon" and it crashes...
-
@Christoph-Hart - there is no event taking place on the viewport scroll is there? There's nothing happening in the HISEScript...
-
@Lindon said in Scrolling a Viewport crashes compiled plugin....:
there is no event taking place on the viewport scroll is there? There's nothing happening in the HISEScript...
Yes it communicates to the audio thumbnail class which range to create a path for and spawns the waveform calculation on a background thread.
Alright, send me over this bad boy and I'll try to reproduce it. If you can limit the amount of samples I have to download or remove some parts that don't affect the functionality it would be great.
-
@Christoph-Hart said in Scrolling a Viewport crashes compiled plugin....:
@Lindon said in Scrolling a Viewport crashes compiled plugin....:
there is no event taking place on the viewport scroll is there? There's nothing happening in the HISEScript...
Yes it communicates to the audio thumbnail class which range to create a path for and spawns the waveform calculation on a background thread.
Alright, send me over this bad boy and I'll try to reproduce it. If you can limit the amount of samples I have to download or remove some parts that don't affect the functionality it would be great.
found it I think --- the viewport works fine for a hundred items, but crashes everytime when I add in all 1500 items.....
-
@Lindon said in Scrolling a Viewport crashes compiled plugin....:
found it I think --- the viewport works fine for a hundred items, but crashes everytime when I add in all 1500 items.....
nope now its working fine... grrr...hang on chasing down a couple of other possibilities - if they dont pan out it will be over to you...