Load IRs from disk
-
@d-healey Wondering about that as well , I need 80 impulses for my Reverb . would rather not load them all into memory
-
Convolution using the FFT class in JUCE needs to stream audio from memory so it can perform resampling and trimming on the fly without noticeable artifacts.
-
@dustbro Say you have categories , small - medium - large , 30 impulses in each .
Is it possible to load each category in a batch of 30 when Small is selected for example ?
Or is my only choice to load 90 impulses ? -
the call loadImpulseResponse() is what loads the audio file into memory. Maybe there is a way to load different files into memory depending on parameters?
-
I understand it needs to load the current impulse into memory but why all the available ones ?
Why not load the one you want to use into memory ?Maybe no answer for that , hehe .
-
Am I right in assuming that the impulses cannot go over the 50 mb limit including the graphics ?
I am also assuming it gets compressed ? If so , what is the compression ratio.I am trying to determine how many impulses I can get into one plugin.
-
@lalalandsynth You can go over the limit but you have to enable a flag (I can't remember the details but a forum search might have the answer).
-
Ok, promising , cannot find anything so far and the manual says it will crash as out of heap space if one goes over the 50 mb limit.
Scouring forum..
-
@lalalandsynth - are you compiling with VisualStudio? If so you can set a flag so it doenst run out of heap space...
bigObj
I think, but search the forums - I asked and Christoph suggested this flag.
-
@Lindon Has anyone actually done this Big obj successfully ?
-
@lalalandsynth said in Load IRs from disk:
@Lindon Has anyone actually done this Big obj successfully ?
yes me.
-
@Lindon Good to know , thanks , would rather not find out at the end of my project :)
-
@Lindon Have you done this for Mac as well ?
How big was your overall plugin export ? -
@lalalandsynth said in Load IRs from disk:
@Lindon Have you done this for Mac as well ?
How big was your overall plugin export ?I think you are probably over thinking it - its not bigObj for your plug-in per se - just bigObj for your code - so in fact that bloat is very very small compared to your graphics and IR inclusions... you are
blowing the memory allocation already with your graphics/IRs so you are unlikely to see it increase more than (guessing) 50% in size of the dll - but thats (relatively) tiny I think. -
@Lindon I was thinking more in terms of how big was the overall IR folder , or how much over 50Mb did you go ?
Just wondering if I will run into any problems? I might be overthinking it though, I have that tendency ;)I estimate my IR total at about 200 mb.