How can I load my samples into the Audio Loop Player as a list to choose from?
-
Hey there, This is my first post at the HISE Forum.
I want my samples from my samples folder to appear in the dropdown menu as an option to load into the audio loop player. -
@elemen8t can the Audio Loop player work without depending on samplemaps?
-
@elemen8t You can use the FileSystem API to load your folder and list all the Samples.
https://docs.hise.audio/scripting/scripting-api/filesystem/index.html#findfiles
You will need to set the Paths as options inside a ComboBox
In the ComboBox callback you need to load the path into the AudioLoopPlayerconst var Player = Synth.getAudioSampleProcessor('Player1'), Player.setFile(samplePath);
@Straticah no it does not depend on samplemaps it can load .wav files directly.
-
@oskarsh
Thank you very much for your reply.And thanks for the advice without a sample map which is what I need.
Do you have a solution for that where I don't have to code?
-
@elemen8t no you need to write code