@d-healey @HISEnberg
thanks a lot guys that fixed it!!
Posts
-
RE: Scriptknob wont update parameters
-
Scriptknob wont update parameters
Hey there,
I made a script where one knob controls two other ones. The problem is that even tho the knob values in the interface change, the values in the module tree don't.
Content.makeFrontInterface(600, 600); const var Knob1 = Content.addKnob("Knob1", 10, 20); Knob1.setRange(0, 1, 0.01); Knob1.set("text", "Main Knob 1"); const var Knob2 = Content.addKnob("Knob2", 10, 70); Knob2.setRange(0, 1, 0.01); Knob2.set("text", "Linked Knob 2"); const var Knob3 = Content.addKnob("Knob3", 10, 120); Knob3.setRange(0, 1, 0.01); Knob3.set("text", "Linked Knob 3"); inline function onKnob1Control(component, value) { Knob2.setValue(value); Knob3.setValue(value); } Knob1.setControlCallback(onKnob1Control);
HiseSnippet 1144.3ocyW0raabCDlqjVmHkZmlBihdbg.JfLfggVozjBXDXEKY0JDKGAKGidKfdWtVDhKoxtTIVsn26qPt0Wj9TzSsm5iPeCZGxc09isrrhZaP4AgkyvgeeyPNyPMHP3PBCEAHixmMaBAY7IlCmwkiZOBS4ndcPFaY1GGJIAVQhNb1DbXHwEYXT7aTBLJWBoG+4AGhYXtCIUDBctf5PNl5SkoRGz5ETFqK1kbF0OypebqdNBdaASLE3SQy5nIXmw3KImfUKqfIxXiiboRQvPIVRBg0bnvc1vQh2wiV+4zP5ELhZhMZHrQQhQsGQYtCl6qgHjQoAoddwHOeay9TWZh7zHvmpUXkZQ1XfQgkQI6O.JYjgRkhnziLG5DPmHS0n3yCL6wgCDOLDpyRkn0hJ7KELaKfUvk64iGS5F.SRrn1SpWeWK3mc1uRkJP7NTZ8Vbf0K3hKrsdl0bKwttJQ0ppUTcWKavrFJqzB1KjHOEyujTCDauqU88pauy9VoJqUURtRB1UsODG0aukc0E.ZiaCzFwf9z4f1XYf1HOnGS4iItQv1PCadTadan1LFU6Des4xfs4sCaSMrTNixIVdS4NRpfaI35PjB6.AqlivehfCrXWfZrojcp7CUrfQhKctRZsHc.ly00bA59QH1lD+iAnMlwt.xhpkG2c1OCgNQHIujWSAcYXSrttJOuEpKdqXjfEpVkaGrLCqwm5eAIHiiqWHb4OeF0FqVFkSzoYlEJ383T4KmPhm2UvbUYJpuuY9GJ95.jIVLlgvWRcd3Vw4gCYTWR.hBax8L0wSjl7w0v94IO62O.sxF23ehwMWfwupWGrDqJkD6Kf+MgDHopvnQGxagZwQEVJa1gDNVJlnc13qfPkk6zcuBYXZTAPbl5isgOBkyTGFanW.xm55xHCDgT0gcZs8+3fvoddzqTQ+uD4QY9gR.hd9P4cjwmY9pPhkKwCOkIsBGCEdY5LoyD5599BWXUet4Ih.eLi98D2Aj.GfxJqU4dHiMMyTmQcXl3TadmGC4cptejbpIyu70Cnx8gCDFdlMzxK.51AEqUR2xrKg3pxeOl3IWkvvCMyU46CJPz7ZAhq9+Sf3gIAhSoWNZMhDMgmcbi1qPicg6TFVluau5YMwJTdY1Vrp1nbv6mk8YOW+I.kt8BV0yTv5NJGshz8QlCnRmQKluEV.egxC+Wy23GTso4QddDGYJYKY186V5qmJsZ05Soxc9RpGDwk6EcsRyhjqXYYhVjpmkNSKIZ8EsRTDcyKQy1sxkaFWG98u+2NH+U0LJNV7tA.fcCHuIYe9oes02RugTTmV8UoSoIXmQf7X3o4N4t4U7eoGehNULUR4W1GC4spp.mL0eH7LbGBb3w4DVnpfPAUWxn40UyUjXHg6pm7WvHVosZtQrR64J+nfgO1IP7Zmntnp6B2WKA7at9OQTFZS.ysx23VOfhazW63jeqtggMVWCattF9300vuZcM7IqqgOccM7quaCU+GrmOUJ7ipxgP8Gbj94NFFGwwvsbcZL5uAs4KGCC
-
RE: Chokegroups for oneshots
@d-healey Thanks for the tip. It works great for different sampler engines to choke each other out but not if you got all samples inside one sampler engine.
So I guess I will have to split them in order to choke them.
-
Chokegroups for oneshots
Hey there,
how do I create a script for choking oneshots from my sampler?
(The usual approaches that I saw on the forum where noteOff commands which won't work once the oneshot got played)
Also I am using one sampler engine so I would work with keytriggers that cancel each other or sth. if Note 70 is played then cut 66
// Use const var for constants for improved performance. const var closeHiHatKey = 48; const var openHiHatKey = 58; // An Array is also a constant, even if it will be populated later on const var evtList = []; // make sure it has enough storage to avoid allocation during the noteOn callback evtList.reserve(64); function onNoteOn() { if(Message.getNoteNumber() == closeHiHatKey) { // Always use the for ... in loop if you don't need the index for(eventId in evtList) { // Send the note off command for the given event id Synth.noteOffByEventId(eventId); } // Clear all notes evtList.clear(); } else if (Message.getNoteNumber() == openHiHatKey) { // This is necessary because you will kill the note artificially and HISE // can only kill artifical notes for stability reasons Message.makeArtificial(); // Add this ID to the list (it'll add the artificial event ID) evtList.push(Message.getEventId()); } } function onNoteOff() { if(Message.getNoteNumber() == openHiHatKey) { // We need to ignore the note-off message // for the open hi-hat so it will keep ringing... Message.ignoreEvent(true); } } function onController() { } function onTimer() { } function onControl(number, value) { }
-
RE: Combobox controls scriptnote knob value
@Dan-Korneff AWESOME exactly what I needed, thank you!
-
RE: Combobox controls scriptnote knob value
@elemen8t (If I link the knob nothing happends in the scriptnote and if I link the combobox it starts at 1 and not 0 like the script says and I don't know how to fix that)
-
Combobox controls scriptnote knob value
Hey there,
I created a combobox list that controls the knob value. I have issues linking it to my scriptnote knob.
(Combobox presets control scriptnote knob value)Thanks in advance :)
HiseSnippet 1619.3ocuXstaaaCElxIJsQcqnEXO.DACXNXYo189VQwbyEuEzkT2ptfBTzUPKQGSXIRCI5j3Uj+uG28FrcNjTVRNNscFaSEnv7b8SGdtozKSEwyyUYDu0e8zwbh2W3GNUpGt6PlPRNXOh2M8Ojkq4YTKoclNlkmyiIddq7SHAu0WkXd9yebGVBSFwKIQHGqDQ7eQjJzkT6044hjjtrX9qEoUj99cNHRI2Uknl.3YE+VjwrnQrS3GwPwZ3S7Va+XgVkEpYZdNwa0cTwSCGpNSZk+XQtneBGOzlDBFxRtqJIFQLRkr6PQRbuh26bBXkdkQgUrQgux+PQrXF8xnwsLLnkZTMd30nN7VoF7ZWEdsp.uE.IuJPZUKjtseXTlXrtjChma3efDtbFvf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l++1.Lvk.B9Dcdsb8Er6m2e3W13BRTfxA9qU8fTql4rzwI7WAXbKZeXB1HL8+xc6bkV6fRzLZHSJ4I4KSSw09riJs+3WJuRMQKjmbHSmIvhpiljFBesPDeWG5vBMrwl6bK7LlWDxkwlC+E73X1FO64X1tfYYaUxQb8YprQlqC2ugNR1XetIH+9AmCvmmg0fXypVaC+i7rjD0YX0ovk1BWJFZ8TISGOTIEQHIqDEP+YopIX2FK9+YV9qYhDLOObRNLEH9ExPPXymWg4YGohgecstvhJpro8X5gX8BNGARN4YaGMKIsFVKySLYfvcvr1hXu5F1O0plJnmJ9nLavD.dpoyH9IYqf7sgHCj7Qetl+PFKmTCcq6O37sMjqlr9IrdiJiRfZxRrhUHyZn6csCExiqOWhPNjc9bz95Ngy50ax0FwOyhwp84vWf.+dJn2Bd4cI69rIZUJjIa5Bc0XZM62mUR4eNFKwzhQ57lqiYBrztNctafr6HwlyfyBc2N8pNerxKLoZL2zHBOAsYaXSmNH+XjKr2aQrABC6nTiRYlhkkZef+WJsSYQYp2GY6VgubW2PARFjl7908ODOSaO+RNDRJ7Y+uOJptotjh2cYU7dKqh2eYU7AKqhObYU7QKqhO9SqH9WkwUWZRgIG1aeSRnm29RFLbwzrg72jxqZsC
-
RE: xfader on interface
@Lindon I mean something like the endless smile preset menu where you have a list of effects and can press "next" or "previous" effect and toggle through them.
-
RE: xfader on interface
@Lindon Thanks a lot for your time.
I see so you can make it directly without the xfader module.
How can I turn the knob into a toggle menu that shows the current selected effect?
-
xfader on interface
Hey there,
I want to display my xfader zones as a toggle menu on the interface to toggle through the effects and display the current selected/active one.
How could I achieve that and what would that look like?
HiseSnippet 1639.3oc2Y87aaTDEdVaON0tjzVnBtZTujJUEEmTJHgD1M+vfE0oltgPOQ53cGGOx6NiY2wM1EwohDkSbt2f+IPha4LTPH5ItA2n2JvANReyrqs201w0wJoUJIRIdl4Mu48l226ady3pdBKpuuvCYjY6tsnHiWAa1kKardCBiiJuAxXAbEhuj5kKnq051h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yBBPnpVPdYhf0or+NpQsHNncBNXAbN0pnDGGXwXknmA2QSqghY9mWa9.NZovQmdicHSKwPl14T.kHNSn0gMz7ICIbZEEEsmLmAatuhbBPI5+uMwaOpTWLXzNBOvjS0oD9waFFtB3y8E0gCszdFpZTp9r399KZVT8BQUc9SPcuxIntW8v0cj3mB70qEjTTgw2Y3ZgpP5LTeOsfoj1RwzEUNylz8CPgQkTgClCGnfQT80aKEt.Slce7cHrNdvMF19MhjZFUniMH9gj8MRhfoqPHa.bn5aQ0OQ3hpkqWppQDeJCFpLh5UKeb+4r35cVJXjihOjHpODOhlLRDM8ISDEpXEN3C78gio+QAzI+pOG9SX1vd2Ki0NMVK6DVZ+v3eXXeHxjSGX44wsZP7o6ZSghfF9rG.OGcziGPswjCsWs3Hg1G73hCEZ+1G9venvHg1h228mKDbu9RdzOqMTpP2giucKNcw2UNkDeSigIrWbmYAbclix+WRO1r5C5K+4P6z6xwkBT5fOpLZtMsSuxH2DpD1FJvWOgdkVFCaj9X.aL9z9o.aT7aJNIZmhqt5iKLz5evidzklt0Gco+9W0qeR7GgFg454P2sxAiR2sRwiJcm9QFGgH8jio8Nu1FONbKuOpM15W7Ou2WNKL8nw35Osvjb8nUudr65SZoyf2jSf6wYOoX9j3gV8TVMSqb5rloe56176+2O8udoTyzqd+C9w2T8Nku3qY5qd8e+W9uu9ICgkO7i6Cp3H5y2c7am8m5+7aUpod+1o6JW8u+crKa06BOn0DhltD8CeLSuG7KjmowkX4I1M7ECTt5Yz8.IEb8W7SFbEU6b4G8cxcY1rcsrhqpQl3Jy5DWcVm3Um0I9Vy5Du1rNw2dVm3677mn56MK7N1JXKjiTcyfxnL5c.CvZhdFu6MemB
(Or is there a more easier way to let the user toggle through a multiple effect section in the scriptnote?)
-
RE: Drumkit Pads
@d-healey Thank you very much, but since I am very new to writing own code and commands I don't really know how to integrate that into my existing code and referring and including the right events and actions in the right syntax etc.
It would really really help me if someone could integrate the "on note on command" which presumably sets the event "if key is pressed then button is toggle on" into the snippte/code above.
-
RE: Drumkit Pads
@d-healey great video, learned a lot. Tho you didn't cover the topic in the video on how to make the right button light up when you press the keyboard.
In the comment section one asked the same question and you answered with "You'd need to add it within the on note callback to turn on the corresponding button based on the incoming note."
I am not sure where and how you reference that correctly in the code.
inline function onButton1Control(component, value) { if (value) Synth.playNote(60, 64); else Engine.allNotesOff(); }; Content.getComponent("Button1").setControlCallback(onButton1Control);
-
Drumkit Pads
Hey there,
I want to build a drumkit sampler where you can trigger the samples with pads.
I also want it otherway around so that when you play the the note with your keyboard the pad (button in this case) triggers visually. How can I do that?
HiseSnippet 1085.3oc0W0saaaCElx1ZX1cIXcnXXWJTrKb.BBr8RSKPunNwwovX0IFQoc6hMTvPSaSDJRUJprYTzGn8VzGk8Hzq1saGRIGKkH643kTfIeEO+9cN77C8.kjPihjJjS0ylFRQNekq+TgdRmIXl.06Pjylt8wQZpxKgzASCwQQzgHGmxuzPvoZEj86Su3.LGKHz4jPn2HYD5qXAL8bpCZ+iLN+H7P5YrfLRua6dDonijKiA7T1sAJDSt.OldL1HVIWjyWzcHSKU9ZrlFgbpbfb3T+IxeSjH+aXQry4TyglHevPIjORxGZPrgJpyDFe3fYwcDB43NXdVnbRV3Qt8YCYWQed13qsL7lqQ17gSo7vqbN30LK7ZjAdE.ImLPpRBjdnqOQwB0y4XvyCb6IfKmQXHsmEJIxhJcQI2NRPBgdm.7EziTvgqzn9dMZrs2SZzXqmuQMyOlfyDTuQwBhlIEdRwAwZsTzzXCkjWmHCBkBvZa6cIlGS2ZiZueiZdvGajW8YjpZHXKi1IjimdrTab01d6sqwQUo7HZpPcEiAGtClyMBEcxnQ0Mh7AKdlA7wTcmY9s9iSQzi2ZmHCcKt5.F3bnVo90ArwXv2hhqVKLtp89qEUEGTsRBJfoInVRLUChoZKMhZs7Hp0UQTlnv3fSD0MnsZsOTy65rLtt.dolhSUEx1zUpVlh0EwAmSUYxUVAgR070+tKt9Oa6IIIqjQPonmfoOIjJVTSKJMUB8JkRQEHp11orYZmRRhCwfFhpto0EHKjyNgBcKTuUAp+5dGh0XSOaJj.XFRUZlIC3bH8RX.XRGbU2CoQWnkgVLmd8CYoU.0+9Ut7iuq8z4G9k1rn9x.vNXEP1oD5VY3VKxv+I4FF9lSjfYgxgwbrN+.RyVgTFPUStoRlIOhHldZ1sF2YSMWUH9P2ALMYRwXrTAXzTjcOfwzcMa31czHJQOGfUbO5mueVrj08al39G35CiqrC1rN+asm89I7kTuWRETkI40bQ68+3e8q+wpt2Obk26eBQCt+LEVDEJixYXeZ.6Ln.OJKwWGAa1nu6TysYV5cjXUgr9zKNBBxB0wGqiU1xh8CjwBctxfxK68GMWy2eT4958GUVsxjkCu+Gz3m64RUmgQeVPHm1UbIkCCjsX7afIvivwb8Lp4qq6KExvIRAij8R+TpVwFOlpxh8BCn80ZXk8bJOp8oTNEms.96a+JnvCqf7DcMyEMu0Ocrv6quyMAtdllQu+K2aeVKyV5v6xqzv66b7t9CxuafxoxXMSLtOFJTgE5tGGG3CyRIT.IBA7xTfFrA2np8bCy4jgohg1C+M7kxro4rSJylyX9YwGAXhR9VRx6wL0xeokBD2B6+.rJ7WQgydE7Jt.Xp3aIj7l5FJ1ZcU7GVWE2ccU7Iqqh6stJ9z0Uwm8uqnYo09wZYPRKKB0ePW6ylcb5JvPEus6.8O7DMBVO
-
Parametriq EQ modulation linking
The modulating dials for the parametriq EQ (Freq, Gain, Q) should automatically adjust to the last moved or selected band.
For now this is only possible in the module tree and works well there, but not in the interface since it's always linked to the first band there despite the last moved or selected band.
-
RE: Parametriq EQ knob linking
@d-healey Ah okay I see, thanks for the reply :)