Visual Drumpad
-
So im making a drum vst and i wanna know if theres a way to add buttons you can press on the interface that play a certain sound? (to mimic a drumpad)
Thanks
-
@ceanre check out my making a drum pad video - but you should use a panel instead of buttons, start with buttons though to get a feel for it.
-
@d-healey Ive just followed that video, now how would that work with different sample packs?
-
@ceanre said in Visual Drumpad:
@d-healey Ive just followed that video, now how would that work with different sample packs?
assuming sample pads are set of sounds that you can load into a sampler- you therefor just need to load a pack (Sample map) into the sampler....
-
@Lindon I mean when i change sample maps, the button dosent change the sound. If i have Kit1 (for example) open on the map screen then the interface button will play Kit1 sounds but i have this system:
So when i change kit on that system it dosent change sound.
Sorry if thats really confusing
-
The button press would play whatever note you select (say C3) - and will sound the wav file mapped to that note...
-
@Lindon I'm gonna render it out and try it in a DAW.
But if it dosent work there ill send a video of what happens
-
@ceanre dont send a video - send a snippet that shows the problem.
-
-
@ceanre as I said DONT send a video - send a snippet...
-
@Lindon Oh sorry, what do you mean by snippet? Like an image?
-
@ceanre open your project go to
Export>Export As HISE Snippet
open a new post select the </> button at the top
highlight code_text - paste your snippet
submit your post.
-
@Lindon Would I also need to send the .hr1 file?
-
@ceanre just send the snippet to start with...
-
@Lindon HiseSnippet 1415.3oc0W8taZbDDeOvajg5DkjlJ0uToSn9ArTjEXi+SZTqu.1NBEiC03D0JYonkiEXqua2S2smSHUUpOR8QHOJ4QHuAsytbvsGljRnNos7IlY1Yle6ry+t1gBWZTjHDYU3rQATj0Z3Ni3xgMFRXbTyCPV2DeYkMproMIvaHAUeT.IJh1CYYk+wpiXUXEj9261uNwivcoorPnmKXtziY9LYJ21NOg44cDoG8Lluwoq4zzUvaH7Dw.bxiqfBHtWPFPOgnNVNLx5FG1iIEgcjDIMBYsRcQuQcFJdIe74eNKh00ipHph5.FZL6iDd8THVwE0XHyqW6IW6HDxB2NMHjebP3d3Vrdro7SCF2VKvNUCy3gUtrvKeF3U0DdULf2bfjkAjVYLjtCtiaHKPlJQgmu.2jKog8IPX2DJiOKJ2WkC2P.mfK2vm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llnW5yCFQ6YlRGA6anfDL76yBJ8ItghW3N9KyTXcUMG.kb8WKT.2RQaW8peMlOLu5EttYM0UTbykUwsVVEqsrJt8xp3NKqh6trJt2euhp0IdTrT3OtYJB0p8giS.sNbZBXdzeAtb0kF
next time put this stuff inside the </> tags
-
@ceanre you are not loading the sample map, you need a callback for your combobox like this:
const var Sampler1 = Synth.getSampler("Sampler1"); // we define the sampler we want to load inline function oncmbSampleMapControl(component, value) { // you have an array of sample map names....sampleMaps // combo box values are 1-based not zero based // se we need the name in the array one less than the value of the combo box. Sampler1.loadSampleMap(sampleMaps[value-1]); // we tell it to load the sample map }; Content.getComponent("cmbSampleMap").setControlCallback(oncmbSampleMapControl);
-
@Lindon Oh, not sure what any of that really means im really new to this but thanks for the help!
-
@ceanre is it working now?
-
@Lindon Is the code you put above full or do i need to fill in places?