@d-healey Great video was truly helpful!
jssrecording
@jssrecording
Crazy family guy that enjoy's coding, making music and drinking craft beer.
Best posts made by jssrecording
-
RE: Connect Sample Maps to Presets In Preset Browser
-
RE: Connect Sample Maps to Presets In Preset Browser
@dustbro Thanks! I watched it and now it makes sense.
Cheers
Jason -
RE: Control individual notes/samples with a slider.
@jssrecording Just to clarify our conversation for anyone else. I update my code in the onNoteOn to this.
if (Message.getNoteNumber() == 48) { Message.setGain(volumeSlider1.getValue()); }
onInit
//volumeSlider1 const var volumeSlider1 = Content.getComponent("volumeSlider1");
-
RE: Control individual notes/samples with a slider.
@jssrecording It works @d-healey thank you! Also changed my slider to decibels. Thanks my friend! BTW you should create a Udemy course on Hise. You're extremely knowledgable.
-
RE: Control individual notes/samples with a slider.
@d-healey Ha ha oops! That's my mistake Setting my constant to the init now.
Latest posts made by jssrecording
-
RE: Connect Sample Maps to Presets In Preset Browser
@d-healey Great video was truly helpful!
-
RE: Connect Sample Maps to Presets In Preset Browser
@d-healey Ha ha I just figured it out right as you posted this Dave. Thanks!!
-
RE: Connect Sample Maps to Presets In Preset Browser
@dustbro
Followed video with 1 error.
Here is my code.
Content.makeFrontInterface(800, 550); //Sampler const var Sampler1 = Synth.getSampler("Sampler1"); //Sample Maps Array const var sampleMaps = Sampler.getSampleMapList(); //Combo Box const var cmbSampleMap = Content.getComponent("cmbSampleMap"); cmbSampleMap.set("items", sampleMaps.join("\n")); inline function oncmbSampleMapControl(component, value) { //Console.print(value); Sampler1.asSampler().loadSampleMap(sampleMaps[value-1]); }; Content.getComponent("cmbSampleMap").setControlCallback(oncmbSampleMapControl);
It's saying Line 17, column 36: Unknown function 'loadSampleMap' {SW50ZXJmYWNlfHw0Mzd8MTd8MzY=}
HiseSnippet 1463.3oc4XssaSbDFd13L.wkvIwE8lJsxpW3HEb8lyzJDNNGPQk.VwATqZqnSVO1dZ1clUyNqItHj3QoOB8Qn22a5iPeD3Mn8elcWuiMlT2nBE0ZjP7eb99+m+CyRKovmFGKj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RBHpwWWo2QmI.5qFaufd1OOloFZWa9NYG1rB2ahawT98mNdmaJ3EZgdWi2rWDrHdutco9pBvNOd+u5c+5ean7IoP4V31JIkDBc2YaLL3oLNeUx+DORKZlejFLOvrth8iVp8KMZl.4K43b+4FliZ6Pn9dryJC4GQinDEb8aYyUZbzQOPJRhlzpWeeSwxwRXaFjJrE7XNEx6J6XbGoHNtKDNFeEaKpUhrmNWUv4H5.pLdbd5IA8IbNMPuswwAX8jXp9tl4eHQIYmYqs4TpeLwbeCub0P6MA8JSPu5DzqMA85SPuwDzaVPOZvitx3RXyPiIWYd4YakI3jVDHrszrIqWwjMCmhh35EoZCbrdd9Tdb6k9f9s2u+FyVZ1f6ewmGrPNFayz2N6wG.sl.GMFuU9mvkyc7wDGJ3hn9BNye7FAnvtWOpzF6SMf1Vof9vBN2twQz.JI1pS9Sa7P3UzD4382+sxEdydt37tu9XbJbc0y1b+uw5wR+ue834k5tV1xQW3zkpOvumuJ1LN2Uu88eKndjHQ+4C4a1vv5O3UoRep8RP8aVynqqo0.pMk2wP7GvuLgd4aL0B8xEh7ycEDaY+6zOBnDkqWcXd0W.rKNvtjNFdXgFRvVt2KnLj3KEOyO8C+zX8JFN.J4l+eoV.enl10K+C8v350piBgcUOy2W2HbGHCOcaV4BXypW.aV6BXy5W.a13BXylW.a15bsQ+LgsSThvzgj.iV6kVX4r2nBqRn+DfQHnJG
-
RE: Connect Sample Maps to Presets In Preset Browser
@dustbro Thanks! I watched it and now it makes sense.
Cheers
Jason -
Connect Sample Maps to Presets In Preset Browser
Okay I've seen some threads on the forum about this topic. However still trying to make it work. Objective is to switch sample maps with preset browser. I have a starting point. However I'm stuck on the scripting part. Here is my starter.
Thanks in advance
JasonHiseSnippet 1191.3oc4WssaaaCFlJNrqwMYcsnWraFfPwtHEHqPxwNG1tnNNItHXMIFVYEaW0wHSaSDIRAJJm5UTf9nrGg8HLrmf8nz2fseJIaQ63j4YrzUr4q7+IxO9eVsjBeZbrPhrV4rgQTj0p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ZyVZ9f6ewhTqLBidLcz4P9.nzD3nw3CGsr6HtS1l3XAWD0WvY9SVH.I185QklXelOn8TJnNrfyip2lFPIwFUxeY8Wv3Thbx56+V9B242WbSwqOGmAWacuM6+aLdrz+6GOdSttOMe3nMb6R0G4w4Uwosys0Se+2BpsEI5M2GMYCCi+7fQ99TygfKoGrlQ6no0.xix6jR7GvubgtilXpE5NRHxezQAus7+ms+cIJWO5Hcqu.XVbfYJcLrXgFRvTtOHnLj3KEuxO6S3zX8tob.TxS+B9UvGqoscQoeVGXG14oNnPXV0q780EBeE3gmsMUV.a1bAro5BXSsEvlsV.a1dArYmazF8ZB6knDgYMIAFsNLKwx5vwIVkP+Iftqhb.
-
Compiling on windows question.
So I compiled on Mac with no issues and was able to locate my vst and AU files. I also compiled on Windows with no issues according to Visual Studio. However on Windows where did the .vsti file go? I checked the compiled folder and I see a .dll file. What am I missing?
Thanks in advanced!
Jason -
RE: Drum Mapping- user defined
@d-healey Okay thanks David! Will probably do some refactoring with my sample structure layout.
-
RE: Drum Mapping- user defined
@d-healey This is the section that multiplies the * 12 from note 36 to = 48. It's in the onNoteOn section.
But what I mean by print is record a midi note on 48. It currently records note to 36. Which I know is obvious because I'm hitting the note 36 C1 on the keyboard. But I want is it to record note 48 C2.Synth.playNote((Message.getNoteNumber() + (currentSelectRow * 12)), 127);
-
RE: Drum Mapping- user defined
Sorry David I thought I had it in code brackets
Broke it down.
All the code works and triggers the sound from the other note. However I can't get note 36 that I'm hitting on the keyboard to print note 48 when recording.oninit //Play Button 1 inline function onplayButton1Control(component, value) { if (currentSelectRow == 1){ Synth.playNote(48, 127); }; // Setting the callback for the Play Buttons. Content.getComponent("playButton1").setControlCallback(onplayButton1Control); function onNoteOn() { if (Message.getNoteNumber() >= 36 && Message.getNoteNumber() <= 44 ){ Synth.playNote((Message.getNoteNumber() + (currentSelectRow * 12)), 127); } }