Scrolling a Viewport crashes compiled plugin....
-
@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 like this:
Share Anything with pCloud
With pCloud's unique Download Link feature you can share files with everyone. Click to download. Join pCloud.com and get up to 20GB FREE cloud storage.
pCloud (u.pcloud.link)
-
@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...
-
@Lindon said in Scrolling a Viewport crashes compiled plugin....:
@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...
sigh oh dear - I've got it a bit more reliable - pretty much in the end all I did was replace the viewport with another and copied over the code from the CB....so its over to you I'm afraid.... I PM you the download URL....
-
Ok yet more testing...
Now I added a viewport, and put a panel in it.. and wrote the sample map names --- no on mouse callback - its doing nothing
-- compile, load in reaper, play a note - go to the browser - scroll the new viewport - ---- crash.
-
@Lindon Ok got some debug info. out of VS, again Im just moving the viewport scroll bar..
..and its still telling me there are problems in the SamplerSoundWaveform::paint
-
bump bump?
-
@Lindon Fixed here:
- fixed uninitialised sampler start mod display value 路 christophhart/HISE@cb40b21
The open source framework for sample based instruments - - fixed uninitialised sampler start mod display value 路 christophhart/HISE@cb40b21
GitHub (github.com)