I want to Send All Notes Off and reset controllers

on changing from from rackspace to the next
I want to Send All Notes Off and reset controllers before activating next rackspace

Ive seen this code but dont know how to put it together?

OnDeactivate()
Called whenever we deactivate a rackspace

Usage
On Deactivate
// Deactivation code here
End

AllNotesOff(p: MidiInBlock)
Send All Notes Off and reset controllers

Parameters
p (MidiInBlock) –

AllNotesOff()
Send All Notes Off and reset controllers

my midi out block is MIDI Out (Novation Impulse)

Are you aware of the scripting manual and tutorial?

2 Likes

ye s but dont understand it , i play instruments nor program stuff, cheers

1 Like

Hi, where is the go script tutorial located ?.
Cheers

https://gigperformer.com/docs/GPScript40/content/language-manual/10-introduction.html

Thanks

Still tried it and got nowhere, just not my thing. Cheers

You can do it with the actual MIDI out Block, nice and easy :wink: no need for scripts



That is in general a solution,

but the All Notes Off should be sent when the rackspace is deactivated and not when it is activated.

1 Like

The all notes off message should be sent automatically on rackspace deactivation for any MIDI Out blocks. Trying to send custom messages on deactivation is a tall order as the rackspace is deactivated and will not process scripts.

1 Like

So patch persist with external hardware is not possible, right?

Right.

1 Like