@d-healey I see. Thank you so much.
Posts
-
RE: How do I specify a CC controller for Knob using code?posted in General Questions
-
How do I specify a CC controller for Knob using code?posted in General Questions
How do I specify a CC controller for Knob using code?I'm currently right-clicking "Assign MIDI CC" on a Knob, but it keeps getting inexplicably removed, and sometimes it even causes problems with other Knobs.
-
RE: Sampler.setSoundPropertyForSelection(); seems to have a bug.posted in Bug Reports
@CatABC said in Sampler.setSoundPropertyForSelection(); seems to have a bug.:
@d-healey said in Sampler.setSoundPropertyForSelection(); seems to have a bug.:
@CatABC Use constants instead of magic numbers
Sadly, I tried using constants, but the problem persists. Also, if I swap the positions of HIGH_KEY and LOW_KEY, and need to move the smaller value to the larger value, the contradiction still occurs.
const var ComboBox1 = Content.getComponent("ComboBox1"); const var ROOT = 2; const var LOW_KEY = 3; const var HIGH_KEY = 4; const var C1 = 36; const var D1 = 38; const var E1 = 40; const var B3 = 71; inline function onComboBox1Control(component, value) { Sampler.selectSounds("C3"); if (value == 1) { Sampler.setSoundPropertyForSelection(ROOT, C1); Sampler.setSoundPropertyForSelection(HIGH_KEY, C1); Sampler.setSoundPropertyForSelection(LOW_KEY, C1); } if (value == 2) { Sampler.setSoundPropertyForSelection(ROOT, D1); Sampler.setSoundPropertyForSelection(HIGH_KEY,D1); Sampler.setSoundPropertyForSelection(LOW_KEY, D1); } if (value == 3) { Sampler.setSoundPropertyForSelection(ROOT, E1); Sampler.setSoundPropertyForSelection(HIGH_KEY,E1); Sampler.setSoundPropertyForSelection(LOW_KEY, E1); } if (value == 4) { Sampler.setSoundPropertyForSelection(ROOT, B3); Sampler.setSoundPropertyForSelection(LOW_KEY, B3); Sampler.setSoundPropertyForSelection(HIGH_KEY, B3); } }; Content.getComponent("ComboBox1").setControlCallback(onComboBox1Control);Ultimately, I set up two methods to call different methods depending on whether the value in the combobox increases or decreases.

-
RE: Sampler.setSoundPropertyForSelection(); seems to have a bug.posted in Bug Reports
@d-healey said in Sampler.setSoundPropertyForSelection(); seems to have a bug.:
@CatABC Use constants instead of magic numbers
Sadly, I tried using constants, but the problem persists. Also, if I swap the positions of HIGH_KEY and LOW_KEY, and need to move the smaller value to the larger value, the contradiction still occurs.
const var ComboBox1 = Content.getComponent("ComboBox1"); const var ROOT = 2; const var LOW_KEY = 3; const var HIGH_KEY = 4; const var C1 = 36; const var D1 = 38; const var E1 = 40; const var B3 = 71; inline function onComboBox1Control(component, value) { Sampler.selectSounds("C3"); if (value == 1) { Sampler.setSoundPropertyForSelection(ROOT, C1); Sampler.setSoundPropertyForSelection(HIGH_KEY, C1); Sampler.setSoundPropertyForSelection(LOW_KEY, C1); } if (value == 2) { Sampler.setSoundPropertyForSelection(ROOT, D1); Sampler.setSoundPropertyForSelection(HIGH_KEY,D1); Sampler.setSoundPropertyForSelection(LOW_KEY, D1); } if (value == 3) { Sampler.setSoundPropertyForSelection(ROOT, E1); Sampler.setSoundPropertyForSelection(HIGH_KEY,E1); Sampler.setSoundPropertyForSelection(LOW_KEY, E1); } if (value == 4) { Sampler.setSoundPropertyForSelection(ROOT, B3); Sampler.setSoundPropertyForSelection(LOW_KEY, B3); Sampler.setSoundPropertyForSelection(HIGH_KEY, B3); } }; Content.getComponent("ComboBox1").setControlCallback(onComboBox1Control); -
Sampler.setSoundPropertyForSelection(); seems to have a bug.posted in Bug Reports
Sampler.setSoundPropertyForSelection(); seems to have a bug.
When I changed the values of Root, LoKey, and HiKey in the sample from larger to smaller values, the HiKey value with the code 4 did not take effect.

-
RE: How to replace a single sample in the Sampler?posted in General Questions
@d-healey Cool, thank you so much! Let me give it a try
-
How to replace a single sample in the Sampler?posted in General Questions
I've been struggling with this for a long time and searched many posts on forums, but I still haven't found an answer. It's a percussion project, and I've mapped many samples from C2 to B4. However, in actual use, I want to be able to freely replace the sample on a key. How can I do this?
I've saved a separate samplemap for each sample, but during replacement, a sample on C2 can only replace another sample mapped to C2. If I want to replace C2 with a sample on F2, that sample will only trigger on F2. What should I do? Please help me.
-
RE: How can I make KeySwitch trigger only once?posted in General Questions
@d-healey
Hello~David~~, sorry, I've been very busy lately and haven't been on the forum. But I suddenly realized something these past few days: I just need to add this simple code to the onNoteOff function of the Interface, and it will work!local n = Message.getNoteNumber(); if (n > 25) { Synth.playNote(24, 100); } -
RE: How can I make KeySwitch trigger only once?posted in General Questions
@d-healey Here's the thing: I need to ensure the current functionality I've written works correctly before implementing the requirements I mentioned above.

-
RE: How can I make KeySwitch trigger only once?posted in General Questions
@d-healey
Here!HiseSnippet 2450.3oc6aszbabbDdWRtTBPxJw4kSkSiYkxFLllE.DeFYFwmPhEIkXQPKaeR0fcG.LEWLCxtKnHiJV4ZtkyImRU9WQNk7CHGxOgbOW7+.ktmYWr6RtD.Dh5ECnKyhSOc2S28zcOy7s166IsY99ROCy7GdZalg4cspdpHn4FMobgw1aZXdOq8n9ALOhlz5m1l56ybLLMG+QHAybSXn94Gd35TWpvlESxv3YRtMaWdKdPL08WcGtqaEpC6PdqDbO2paaKEaHckc.6YbqhFso1GQavdBEYaLKiGS8aZX9arVXg6uLaoZKrjcwhKTbw6O+BKu770qwVlUitTMaV4hTZ8kofQN4VN7.oW0.Z.y2vbh0kNmVso7EB8B7LtOulKCGTxnJrxZxUjtNnKh+swFM4tN6GEn7MLLs1ONrMtNr8yr1i6v6RON78iUSPhkHY.zbrzl23oLuRWl4kgIYlvjlPaRerUUaOd6f3YP64NVaKfcy5TXeJoon40Xr7lVaHANDAy1hdDqhGLnqDEVnXwYHvul9A42RzfKXy5yB1gcpdSqP44lgT7j4KVoR4EKu3kwz7oYpdGgc.WJHRwSjArmJJLc9WlOW9yxSN+T0qm4bnA6IccYdYNMlk40KAKH5zpFyaFxwT2NrtLBQxzaOSNXaO153WBFkhsE7fm1lENNN+pTFalFga.ve80auIMfh6ugz.9Zy7B3n4XtI6Xn5RuamyZSl+QAx1Jda0VJPMXd2fvzS89aEWIMfKZbHGLaNXA+HqjjJYbRxh2S6NX0+3pgFfd0xaA6m0jTOGiZMhpXyM4m+4u5UH67.VqXpu5Uu5WklZ4PxJlCX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WjX8GAURWbdICOPunRfecVtnDrXrdIZKoen8NnFKx3UEvWTJv7Fg46HLeuAg46xiv7cDluiv7cDluiv7cDluu0v7s7HLeGg46Mo+KSs2kk6wO4Cmc5Ow5o91kIpsax69862F.qeSYMZQs8jO2VeiZrozsUTfXqP8+af4r1CGSJcwKQCmswetscZUcAAKOrBd+gUv4FVAmeXEbggUvEGVAWp+BhHSuVm.YKcsngwd6uk5QOll5uFgprz3+I63pzE -
How can I make KeySwitch trigger only once?posted in General Questions
Hello, I'm having a problem, can someone help me?How can I make the KeySwitch switch revert to the default KeySwitch after it has been triggered once?
For example, if the default key KS is C1, and I press D1, after the sample on the D1 key is triggered once, D1 becomes inactive, and the next note played will still be the sample on the C1 key. -
RE: staple process error MACposted in General Questions
@treynterrio Yes, my Mac has been working for two days and two nights, and it's still: in Processing................................................................................
Apple is too unfriendly to developers. -
RE: Drag and drop MIDI functionality does not work after reloading pluginsposted in Bug Reports
HISE-develop\hi_core\hi_components\midi_overlays
MidiOverlayFactory.h
Delete line 40 of this file:: public DeletedAtShutdownThen recompile HISE
-
RE: Please help me, how to connect the button in the webview with the Button component of HISEposted in General Questions
@CatABC
OK, I think I figured it out. Using webview requires communication.wv.bindCallback("wvfunctionNmae", function(args)inline function onButton1Control(component, value) { wv.callFunction("wvfunctionNmae", { }); }; Content.getComponent("Button1").setControlCallback(onButton1Control); -
Please help me, how to connect the button in the webview with the Button component of HISEposted in General Questions
I use a webview component, which loads an html file with a button in it. When I click the button in the webview, I hope it can perform the same operation as the Button component of HISE. How can I do it?
-
Non-English input method Label cannot be inputposted in Bug Reports
In non-English input mode, the Label component in the exported plug-in cannot input text
-
RE: How to wrap text in a Label?posted in General Questions
@DanH Hahaha, it's so simple, thank you very much for your guidance

-
How to wrap text in a Label?posted in General Questions
How to wrap text in a Label?
When I enter text in the label component and press the enter key, the cursor will not start a new line. Is there any way to achieve this function, just like entering text in TXT?
-
RE: Is it possible to merge two ch1 files?posted in General Questions
@d-healey Okay, thanks David.

-
RE: Is it possible to merge two ch1 files?posted in General Questions
@d-healey Yes, but I lost the original sample files, which is a sad thing.
