AudioLoopPlayer loading samples issues
-
I haven't used the audio loop player much in the past, but my understanding is this should work to load a sample into the audio player:
Engine.loadAudioFilesIntoPool(); const var AudioLoopPlayer = Synth.getAudioSampleProcessor("Audio Loop Player1"); AudioLoopPlayer.setFile("{PROJECT_FOLDER}AudioFiles/Test1.wav");
I was trying to set this up with a combobox but it doesn't seem to work. Is this a known bug or am I missing something? (I also tried the Samples Folder with the same results).
-
@HISEnberg said in AudioLoopPlayer loading samples issues:
I was trying to set this up with a combobox but it doesn't seem to work.
Do you get an error?
-
@d-healey Nope, the file just won't load. It's a wav file as well, not sure if I am missing something simple here.
-
@HISEnberg I am working from the 4.0.0 branch btw
-
Read the doc here about the project folder wildcard - https://docs.hise.audio/working-with-hise/project-management/index.html
Basically this is what you need
AudioLoopPlayer.setFile("{PROJECT_FOLDER}Test1.wav");
-
@d-healey said in AudioLoopPlayer loading samples issues:
https://docs.hise.audio/working-with-hise/project-management/index.html
Thanks I am familiar with it, just been at the computer too long. Never hurts to brush up on it though.
-