audio files not embed (Engine.loadAudioFilesIntoPool) added
-
@Yannrog The version number doesn't really have any meaning because it doesn't change between commits - although apparently it did change recently
. The git commit hash is more useful.This issue is not related to the HISE path.
How many mb of audio files does your project have?
-
@David-Healey about 20 mb
-
@Yannrog What makes you think the files are not embedded?
-
@David-Healey In the final project, when I open it in daw convolution reverb doesn't respond
-
@Yannrog How are you loading the IRs into the reverb?
-
@David-Healey I made right click and select the wav file
-
@Yannrog If I remember correctly in the compiled project it needs to be loaded through scripting.
-
@David-Healey How do I have to do this?
Engine.loadAudioFilesIntoPool(); is good?
-
@Yannrog That loads the files into HISE to make them available, it doesn't load them into the reverb.
You need to get a reference to the effect
Synth.getAudioSampleProcessor()and then you need to use.setFileto load in the impulse.https://docs.hise.audio/scripting/scripting-api/audiosampleprocessor/index.html#setfile
Another method is to have a hidden waveform control on your UI connected to the convolution. Make sure it's set to saveInPreset and load your impulse through that control. Then the IR should be saved with the preset.
-
Is that good?
const var audiofiles = Engine.loadAudioFilesIntoPool();
const var reverbfile1 = Synth.getAudioSampleProcessor("//reverbname");const var reverbfile2 = Synth.getAudioSampleProcessor("//reverbname");
-
@Yannrog said in audio files not embed (Engine.loadAudioFilesIntoPool) added:
Is that good?
Does it work?