1. IMPORTANT:
    We launched a new online community and this space is now closed. This community will be available as a read-only resources until further notice.
    JOIN US HERE

Sustain (CC 64) With Selective Gate Module

Discussion in 'Building With Reaktor' started by muirscape, Feb 7, 2013.

  1. muirscape

    muirscape Forum Member

    Messages:
    28
    HI all,

    I've been using these small signal routing ensembles as the means to route audio (to various FX tracks and loop busses) via a MIDI keyboard in a live setting. This particular ensemble is one that "turns on" when D#2 or B2 are played.

    I would like to implement a sustain pedal function so that I can, for example, press down D#2 (which routes it to an FX bus) and then hold down the sustain pedal in order to keep that D#2 message "on". This frees up my hand which can then be used for glitch/tweak parameters.

    I'm aware that the regular Gate module responds to CC 64 when set in the MIDI IN preferences of the instrument functions page. However, it seems that the Selective Gate module does not respond. I was wondering if anybody had a quick fix before I dive into the nitty grittys of designing a custom sustain pedal function within the ensemble.

    (ensemble attached)

    Cheers!

    _muir
     

    Attached Files:

  2. magneson

    magneson Forum Member

    Messages:
    333
    The quickest fix would be to use the sustain pedal as a trigger, if its function only is to sustain one note/function.
     
  3. muirscape

    muirscape Forum Member

    Messages:
    28
    Thanks for the reply, megneson. How would you implement using the sustain pedal as a trigger?

    My main goal is to get the selective gate module to behave like the gate module when the sustain pedal is pressed down (a sort of note-latch behavior).

    I've come up with a solution (attached), although it only "sustains" when you press down the note before pressing down the sustain. If you hold the sustain and then press a note, and then release the note (while the pedal is still held down) that note won't be sustained.
     

    Attached Files:

  4. magneson

    magneson Forum Member

    Messages:
    333
    If the sustain pedal is sending on CC64 you can use midi in -> controller and set the controller/note to 64. If you don't know what channel the sustain sends through, you can use a program like MidiMonitor.
     
  5. muirscape

    muirscape Forum Member

    Messages:
    28
    The controller module is exactly what I used (see my previously attached ensemble). The sustain pedal does indeed generate CC64 through the midi controller. The issue is that it simply sends a 1 when on, which has to be implemented in some way into a sustain function
     
  6. magneson

    magneson Forum Member

    Messages:
    333
    You can change its values in the functions page, and then use it as a regular gate, but 1 for on, 0 for off should be ideal. Just plug it into the ARs gate input.