audio files not embed (Engine.loadAudioFilesIntoPool) added
-
@David-Healey oh, ok. I'll try thanx
-
@David-Healey
const var reverb1 = Synth.getAudioSampleProcessor("Convolution Reverb1");reverb1.setFile("Reverb 4");
I have a message “const var must be on global level“, what does it mean?
-
@Yannrog said in audio files not embed (Engine.loadAudioFilesIntoPool) added:
I have a message “const var must be on global level“, what does it mean?
That means the variable need to be declared in
on init.For set file you need to use the project folder wildcard like I mentioned, so it knows where to look for the IR. Check the docs.
-
@David-Healey It's better
I am on oninit, why is it saying again?

exemple :
const var ConvolutionReverb1 = Synth.getAudioSampleProcessor("Convolution Reverb1");
ConvolutionReverb1.setFile("{PROJECT_FOLDER}Reverb 4.wav");*
const var ConvolutionReverb2 = Synth.getAudioSampleProcessor("Convolution Reverb2");
ConvolutionReverb2.setFile("{PROJECT_FOLDER}reverb.wav");*
-
@Yannrog That looks good, but why the
*at the end of the lines? -
@David-Healey Yes, I have deleted them. I found help in the forum about how to include the line “PROJECT_FOLDER“, I forgot to delete it.
It asks again for global level. It's on oninit


-
@Yannrog are you sure you haven't put that code inside a function by mistake?
-
@David-Healey There might be an open function, or some other error, earlier in the
oninitscript.Those error messages aren't the most helpful.
-
@David-Healey Hi, thanks God, It's working soooooo fine. I had to put the engine.loadaudiofilesintopool ealier.
-
@dannytaurus It working soo fine, I had to put engine.loadaudiofilesintopool earlier