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tl5JSy+envW+MUg+FzTVw37Ro.FiOn6QYECvalSgeyqDj+5Oe3uu8trPgOQpulRqQES4NSl+u9pe6gs0Zn8xkfa+Ks0x0dBYP1U6SSOGPGA6YQKCoAgBPtuDs1NPHTiY7QkUlWt8ABQ39bBDQbK9QFLFHxPyUQzR5i5O6PQZK6c7EEo+HTuQbgjl1vVIQ53HkHXxAHoUaaEMLoMFiuAuwZOAd79T8ua0A9o0Q2NiQ2dkY0lQ95GjvDllx0bha0Jra.isVUpj5qSxaMNSkL4NlbqMudDCWGOjj.oBYePjUpJxhR6ZM8idXR6zE+FoLxxzQV6LE6SzcceUU0ycpDMugkUuKBKea6+EDVtdB9TMqacB9+Ma59XQrBzV6SfdG9A3lAHsZC855PAjv4TeXivF0zY9zwV5woM6xcSF72vS1jM0iMxlr4jIuS1i.hiT7BmT5oVD4cRr.madx+jjEv80iMahN+xLw.nZ4ENNk+TuhiqNuN1Zdcbs40w0mWG2Xdc7ylWG275cTKlsSLbMbZWTHT+A6mdArwza+Mpi9G.U1UKKC
-
@alfaholic thank you, so if any of the midi controllers are is set to 0, it will not let the other controller have any influence on the LFO
It seems the controllers are working "serie", and you mean this has not been the case before? -
@ulrik Well, when I say before I mean any other hardware and software synth I worked with in the past.
Is there any other way to achieve this? -
@alfaholic How do you want the LFO react to cc 128, pitchbend?
bend down value == bend up value? or... -
@ulrik No, this is LFO and the amount is controlled with the Modulation Wheel at CC1 as usual, however I want the AfterTouch to do the same, which is CC128.
I tried to remap the 128 to 1 with the CC Swapper, but it goes only to 127.
I also tried with the script processor but no success:
// This function is called when a Control Change (CC) message is received function onControlChange(event) { // Get the CC number (controller number) from the event var ccNumber = event.getControllerNumber(); // Debugging: Print the received CC number to the console Console.print("Received CC: " + ccNumber); // If the CC number is 128, remap it to CC1 if (ccNumber == 128) { event.setControllerNumber(1); // Remap CC128 to CC1 Console.print("Mapped CC128 to CC1"); } // Send the (modified or unmodified) MIDI event to the next processor event.send(); }
I can create another LFO and control it with the CC128, but this is a brute force solution.
-
@alfaholic said in Two modulators for one LFO?:
however I want the AfterTouch to do the same, which is CC128.
in Hise cc 128 is pitchbend if I remember correctly (there are som threads here talking about it, you can search for it)
Anyway, so aftertouch has a value from 0 to 127? -
@ulrik Actually no, aftertouch is CC128, Pitch Bend is a separate controller.
Yes, aftertouch goes from 0 to 127.
-
@alfaholic if you have your keyboard connected, you can easily log what number AfterTóuch has
I don't have a keyboard with After touch connected but if I log pitchbend it shows cc 128
-
@alfaholic Anyway, this is a way you could accomplish what your after (works here anyway)
I use the cc numbers 1 and 2 in this example (both has the range 0 - 127)HiseSnippet 1436.3oc0X0saaaCElxNZX1cqX8GLrKIJ1EtacoVItNMHnHtwIoynwIdQtcCXWzwHQYQDIRMI5zEr1K1SvdE1iw.1KwdD1iPueWrcn9yRINotttEn9BgPxyOe7vy4iGlAgBKZTjHDoUe3oATj1mnadJW510kv3ndaiztg9vmK5J3xPgmGMLZucO.s0oAjnHpMRSq5iTBpUaIT7uWs4VDOB2hNYJD5oBlEcOlOSNY1AcdLyyaWhMcHyufzs5zyRv6J7DiAPUUuIJfXcLYDcehRrJ5nukD4hz9J8l2qMkt1pN11jUW0tc61qe+0astAwoYKxQFsWu0JsVak6ulCR6i1wlIEglRhjFgzVZKg8olthmySbvSYQri7npAFHSvyISuqvyVsEUyh55x7rGjEshPHM8AShcUShc2TuOylkO+jX3mEu.dhFECfZUJCupkfmQQ30r.7lBjzJ.okRfz0zMsBYAxIqnvyUz6wkzPGBbNUDJIxhp7uUzUm3TtbYexwzcCgA4Zzncyl2ACet8F0gipHItq5KgKMvO.Gm8r7HpruvdrGA1WMtU952BTIUGHMxPYRdDSd5i4GApl4RP4tB+.AGFz3VmUvXaT+t2sVDUFgktTkovrLIpy3dLNE6LlaIYBNVvOqERSlaXk4j6fOg3Mld65+Z8Z4XcYv94Z0vX4l3uIUrMp+R.ByJZU1I0icIddGAYyMtPLA1t.v2WHoGvaDiq5urN9rK43L00lTrlrrmvh3gsrfPbeHG.pk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kOzdzyrrJapyo3JyqhqNuJ1ZdU7dyqhsmWEWadU79udEUcu9vw.4exc2HT+A6jP6qkemiVUz+CTdEoJF
-
@ulrik It is 1 and 129 here:
Thanks, I will try this now.
-
Ah, sorry. It works, thanks.
-
@alfaholic said in Two modulators for one LFO?:
No, this is LFO and the amount is controlled with the Modulation Wheel at CC1 as usual, however I want the AfterTouch to do the same, which is CC128.
Nope, Aftertouch is CC129....
-
Thanks, with this script it works on 129, but with the CC it works on 128.