Note to pitch bend?

#1

In NI Session Horns Pro, falls and rips are handled by pitch bend. The PB message needs to be sent right before note on to trigger the fall.
I want the last note (on or off) before the fall to send PB and then make the following note (that’s affected by PB) to send a PB reset,
Can this be done?

0 Likes

#2

Tell me which notes you are playing and what each note should do.

1 Like

#3

B4 - Send full PB down.
E5 - Send PB reset.
I’m using the Chordz plug so B4 also triggers a Bmin7 chord, and E5 also triggers an E7 chord, if that matters.

0 Likes

#4

Ok, i try

1 Like

#5

Try this:

//$
// DO NOT EDIT THIS SECTION MANUALLY
Var
MIN : MidiInBlock
PB_FULL : PitchBendMessage
PB_RESET : PitchBendMessage
//$

on Activate
PB_FULL = MakePitchBendMessageEx(0, 1)
PB_RESET = MakePitchBendMessageEx(8192, 1)
end

on NoteEvent(m : NoteMessage) matching B4 from MIN
if IsNoteOn(m) then
SendNow(MIN, PB_FULL)
end
SendNow(MIN, m)
end

on NoteEvent(m : NoteMessage) matching E5 from MIN
if IsNoteOn(m) then
SendNow(MIN, PB_RESET)
end
SendNow(MIN, m)
end

Kontakt is reacting on Channel 1, you see that in the Code

1 Like

#6

Thanks so much! Will try ASAP!

0 Likes