VERY basic newbie question, Toggle switch to control midi note on and off

Neil The Real Deal's icon

I am using a toggle switch to control a midi note and I want to know how to send a midi note with a velocity of 100 when the toggle is turned on and then a velocity of 0 when the toggle is switched off.

I know that the toggle sends an output of 1 when switched on and a 0 when it is switched off.

I've been trying to use the == objects after the toggle to send a different message depending on the number it receives but I can't get it to work properly.

I'm sure this is a no brainer for most so a little help for a newbie would be great!

thanks,

-Neil

Chris Muir's icon

On Oct 18, 2008, at 10:20 PM, Neil wrote:

> I've been trying to use the == objects after the toggle to send a
> different message depending on the number it receives but I can't
> get it to work properly.

sel is probably a better choice:

Max Patch
Copy patch and select New From Clipboard in Max.

-C

Neil The Real Deal's icon

perfect. thank you! I knew it would be something simple

-Neil

Wetterberg's icon

a different solution, not using sel

Max Patch
Copy patch and select New From Clipboard in Max.

Neil skrev:
> perfect. thank you! I knew it would be something simple
>
> -Neil