A single function for multiple components
-
Hi folks,
i'm trying to create a simple multichannel drum sampler, an i found a codesnippet somewhere in the forum, that i use to navigate through the samplefolder with a "PREV" and "NEXT" button to select a drum sample. This works quite well for a single channel, but i don't know how i can use the same function for the other channels. I don't want to copy and paste the code multiple times .
So, is there a simple way to use the same code for multiple Button components and AudioLoopPlayer instances?Here is the codesnippet, i use:
// Next / Previous Sample const var AudioLoopPlayer1 = Synth.getChildSynth("Audio Loop Player1"); const var AudioLoopPlayer1AsAudio = Synth.getAudioSampleProcessor("Audio Loop Player1"); var SampleNameArray = []; var SamplePathArray = []; var CurrentSample; var SampleFolder; var SampleIndex = 0; Engine.loadAudioFilesIntoPool(); inline function onNEXTControl(component, value) { if(value) { // get current file CurrentSample = FileSystem.fromAbsolutePath(AudioLoopPlayer1AsAudio.getFilename()); // get parent directory SampleFolder = CurrentSample.getParentDirectory(); // make array from all files in the directory SampleNameArray = FileSystem.findFiles(SampleFolder, "*.wav", false); // make strings from filepaths for(pos = 0; pos< SampleNameArray.length; pos++) { SamplePathArray[pos] = SampleNameArray[pos].toString(FullPath); }; // index of current file SampleIndex = SamplePathArray.indexOf(CurrentSample.toString(FullPath)); // when last file is reached, restart from beginning if (SampleIndex + 1 >= SamplePathArray.length) { SampleIndex = 0; }else{ SampleIndex++; } AudioLoopPlayer1AsAudio.setFile(SamplePathArray[SampleIndex]); } }; Content.getComponent("NEXT").setControlCallback(onNEXTControl); inline function onPREVControl(component, value) { if(value) { // get current file CurrentSample = FileSystem.fromAbsolutePath(AudioLoopPlayer1AsAudio.getFilename()); // get parent directory SampleFolder = CurrentSample.getParentDirectory(); // make array from all files in the directory SampleNameArray = FileSystem.findFiles(SampleFolder, "*.wav", false); // make strings from filepaths for(pos = 0; pos< SampleNameArray.length; pos++) { SamplePathArray[pos] = SampleNameArray[pos].toString(FullPath); }; // index of current file in the array SampleIndex = SamplePathArray.indexOf(CurrentSample.toString(FullPath)) // when last file is reached, restart from beginning if (SampleIndex - 1 < 0) { SampleIndex = SamplePathArray.length -1; }else{ SampleIndex--; } AudioLoopPlayer1AsAudio.setFile(SamplePathArray[SampleIndex]); } }; Content.getComponent("PREV").setControlCallback(onPREVControl); �
-
the important part is this:
AudioLoopPlayer1AsAudio.setFile(SamplePathArray[SampleIndex]);
so this is loading the found sound into AudioLoopPlayer1, you need it to load into the correct Loopplayer for your channel
so:make an array and populate it with each of your loop players:
const NUM_LOOP_PLAYERS = 10; // as many loop players as you are using const theLoopPlayers = []; // your array for(i=0;i<NUM_LOOP_PLAYERS; i++) { // assuming your loop players are called "Audio Loop Player1", Audio Loop Player2", etc. the LoopPlayers[i] = = Synth.getAudioSampleProcessor("Audio Loop Player" + (i+1)); }
now in your code above you need say:
the LoopPlayers[<the player number you want>].setFile(SamplePathArray[SampleIndex]);
-
@toxonic Is your drum sampler played externally?
That means: it gets a midi signal from the DAW or keyboard!Or can it also be played via an internal sequencer, arp or midi player?
-
@MikeB No, it should be used in a DAW as plugin, so no internal sequencer.
-
@Lindon Hey, thank's for your support.
I still have no idea, how to switch between the AudioLoopPlayers by clicking on the corresponding navigation buttons (so, "PREV0" / "NEXT0" for the firts channel, "PREV1" / "NEXT1" for the second channel, and so on...)
i added a variable called "channel", which has to change, when i use the corresponding buttons.
Here's a snippet:HiseSnippet 5076.3oc6cEDaajjcsokaaQ5wisy3cmff.jdU1YB0ZYIxVxy5IdlQTRjbr1QRlVTyLdfgilVjEI6UM6la2MssrgSbNjfI4Pxkff3bZvl6KxkrHIHHqtDfff8vhjCaNDDXfAH.AaN3bHH.AIv4+qpa1U2raxlTTdkroArsXU0upe8+u+up5+KVpjoQEhkkgoPhjasWKhPhWSr7d51MVoghptvp4ERbNw7lsaVVoYKMh41xBKuWKEKKRUgDIl3CwFkH4IEn+4YKtrhlhdEhWQBBehgZExZpMUs8JsTtORUSqnRUxVpM4Z8B4Vshg9JFZFsAFZBwLBsTprqRcxFJXyNgnPhSUnppsgYYaEahkPhStrQ08J2v3d5r1+IpVp6nQvOjUnLzQrhKZ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dZ4i8gm9G+CCEdZ5eNfBFdZ5eheFGd5wgmdb3oGGd5QV3okGGd59GdZ4dGdZ5e8xFGd5wgm9kX3oOG8zzX.1.Up6oIbOgc6BGvaP8yWraGk34K18iR.6dZfhU83cPOdYpirKALY+hU4E6LVk8HPk3CXDbn3Fdal+me6+kE+T9urL3BF4gyz5e95mr3U923il4y9xu7+7XVzLeUYLZnnZYtkJK0JHRYRZIfr0v8aI5Z3mkZ+2PTQwLylA+RqoskpJhYubVAgtSi7PPy7CAMKLDzbkgfl2cHn4aODzb0dRC50eoVNlMX9vfBJUf8nGlfK7gB++L6PGsA
Examine the code and you will see I put each fwd button in an array of FWDButtons, same for PREV buttons, and called your functions on each one.
The first thing I do in the function is find out which button got pressed - by looking for the component in the button array.. this tells me which button got pressed and thus which channel we are dealing with...
-
@Lindon Hmm, your snippet doesn't work for me. It spits out errors on the console:
Interface:! Line 97, column 19: Can't assign to this expression! {SW50ZXJmYWNlfHwyNTY5fDk3fDE5} DrumSampler_2:! Line 97, column 19: Can't assign to this expression!
-
@toxonic sorry - I was being ultra-programming centric - setting the arrays to const,
you really shouldnt do this I think:
var SampleNameArray = [];
then later..
SampleNameArray = FileSystem.findFiles(SampleFolder, "*.wav", false);
anyway here:
HiseSnippet 5201.3oc6cEDaajjcsokaaQ5wisy3cGff.jdE1LgZsrDYK4Y8DOdDkDIGqcrjoE0LiWX3noUyhj8plcys6lxV1vINGRvjDfM2BhyoAatuHWxhjffc0k.DDLGVjbXygf.CL.AHXyAmCAAHH.N+eUcyt5lrIaRQ4UxlBXFKVU8q5W++6+qp9+hkJYYpRrsMsDRjby8ZRDR7Fhk2yvo9J0UzLDVMuPhyIl2pUixJMZpSr1RVX48ZpXaSpHjHwDeH1nDIOo.8mmu3xJ5JFpD+hDD9DSMUxM0Zn43WZobejltdQkJjM0Zv05ExsppowJl5ls.FZBwLBMUT2QoFYcErYmPTHwoJTQywzprihCwVHwIW1rxdkqadeCV6+DMass0I3GxJTF5HVwEM0qfbL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