Is it possible to trigger a note on noteOFF message?

Post Reply
philipbergwerf
Posts: 174
Joined: Sat Mar 17, 2018 4:23 pm

Is it possible to trigger a note on noteOFF message?

Post 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.
Attachments
NoteOFF trigger.sunvox
(3.89 KiB) Downloaded 144 times
User avatar
NightRadio
Site Admin
Posts: 3941
Joined: Fri Jan 23, 2004 12:28 am
Location: Ekaterinburg. Russia
Contact:

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

Post 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:
Attachments
NoteOFF trigger 2.sunvox
(4.67 KiB) Downloaded 182 times
philipbergwerf
Posts: 174
Joined: Sat Mar 17, 2018 4:23 pm

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

Post 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!
philipbergwerf
Posts: 174
Joined: Sat Mar 17, 2018 4:23 pm

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

Post by philipbergwerf »

Yes since the new updates I found a way to do this :Yahoo!:
PhilipBergwerf NoteOff Trigger.sunsynth
(29.94 KiB) Downloaded 149 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...
User avatar
queries
Posts: 316
Joined: Tue May 10, 2016 9:51 pm

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

Post 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
Attachments
Queries Note Off Trigger.sunsynth
(24.72 KiB) Downloaded 142 times
philipbergwerf
Posts: 174
Joined: Sat Mar 17, 2018 4:23 pm

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

Post 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 :)
Attachments
Queries Note Off Trigger.sunsynth
(24.72 KiB) Downloaded 131 times
philipbergwerf
Posts: 174
Joined: Sat Mar 17, 2018 4:23 pm

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

Post by philipbergwerf »

Small improvement to the module: added velocity by adding Velocity2Ctl and connecting it to the velocity controller from ctl2note.
Attachments
Queries Note Off Trigger.sunsynth
(27.2 KiB) Downloaded 147 times
Post Reply