Is it possible to trigger a note on noteOFF message?

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

Is it possible to trigger a note on noteOFF message?

Post by philipbergwerf » Fri Sep 04, 2020 4:18 pm

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 24 times

User avatar
NightRadio
Site Admin
Posts: 3461
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 » Sat Sep 05, 2020 12:55 pm

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 36 times

philipbergwerf
Posts: 89
Joined: Sat Mar 17, 2018 4:23 pm

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

Post by philipbergwerf » Sat Sep 05, 2020 6:21 pm

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: 89
Joined: Sat Mar 17, 2018 4:23 pm

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

Post by philipbergwerf » Thu Nov 26, 2020 12:57 am

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

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

Post by queries » Thu Nov 26, 2020 2:45 am

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 10 times

philipbergwerf
Posts: 89
Joined: Sat Mar 17, 2018 4:23 pm

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

Post by philipbergwerf » Thu Nov 26, 2020 11:10 am

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 9 times

philipbergwerf
Posts: 89
Joined: Sat Mar 17, 2018 4:23 pm

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

Post by philipbergwerf » Thu Nov 26, 2020 12:30 pm

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 19 times

Post Reply