Page 1 of 1

Is it possible to trigger a note on noteOFF message?

Posted: Fri Sep 04, 2020 4:18 pm
by philipbergwerf
I want my instrument to trigger a sound on note off. Is there a way to do this?
Added a file in which I want module 4 to be triggered on noteoff signal.

Re: Is it possible to trigger a note on noteOFF message?

Posted: Sat Sep 05, 2020 12:55 pm
by NightRadio
I want my instrument to trigger a sound on note off. Is there a way to do this?
As i know there is no module that can produce NoteON instead of NoteOFF.
But you can try something like this:

Re: Is it possible to trigger a note on noteOFF message?

Posted: Sat Sep 05, 2020 6:21 pm
by philipbergwerf
Thank you, good trick! And maybe it can be an interesting future to store in the option-menu of the multisynth module? 'Trigger on noteOFF'? Maybe in the 1.9.6? :good: I know this opens many new possibilities!

Re: Is it possible to trigger a note on noteOFF message?

Posted: Thu Nov 26, 2020 12:57 am
by philipbergwerf
Yes since the new updates I found a way to do this :Yahoo!:
PhilipBergwerf NoteOff Trigger.sunsynth
(29.94 KiB) Downloaded 30 times
There is still something that doesn't work correctly as intended but maybe someone knows a good trick? You first need to 'activate' every polyphony. I need a trick to set controller 07 from Ctl2Note to true when the module loads. I know Logickin λ is good with this kind of things...

Re: Is it possible to trigger a note on noteOFF message?

Posted: Thu Nov 26, 2020 2:45 am
by queries
I think I was able to build a structure that works. My edit of your polyphonic-compatible module is attached. I renamed it since it was a different structure internally that doesn't use ADSR or Sound2Ctl.

The operation of each poly note's note-off-trigger is:

MultiSynth receives a note, sent to two Pitch2ctls.

Each of the Pitch2ctls sends to the same Ctl2note.

Ctl2note sends to output, with controllers set as: noteOn="-", noteOff="-"

The first Pitch2ctl is to set Ctl2note state, with controllers set as: mode=pitch, onNoteOff=pitchUp, outMin=0, outMax=1, outController=7

The second Pitch2ctl is to set Ctl2note pitch, with controllers set as: mode=pitch, onNoteOff=doNothing, outController=1

Re: Is it possible to trigger a note on noteOFF message?

Posted: Thu Nov 26, 2020 11:10 am
by philipbergwerf
Thank you! Beautiful! I only had to change the option 7B from input Multisynth to make it work in the tracker as well. You should post this on the new effects for 1.9.7 :)

Re: Is it possible to trigger a note on noteOFF message?

Posted: Thu Nov 26, 2020 12:30 pm
by philipbergwerf
Small improvement to the module: added velocity by adding Velocity2Ctl and connecting it to the velocity controller from ctl2note.