Metro and noteout

eigenstates@gmail.com's icon

Problem:
Getting a continuous sensor to send only one noteout.

Current situation:
I have a metro going at 500 polling the sensor for the value. I would like it to behave like a keyboard- when the value gets below a certain value- send a bang for noteout and when the sensor value returns to nominal- send the noteoff. Right now I have a '< x' and Ggate doing the work but the metro bangs are triggering the note message at the pace of the sensor polling.

Question:

How do I get the sensor to behave like a keyboard and pass the noteon only once and the note off only once dependent on the sensor value?

I am a noob so please go easy on me :)

DvD

Chris Muir's icon

At 12:25 PM -0600 8/19/07, DvD wrote:
>How do I get the sensor to behave like a keyboard and pass the noteon only once and the note off only once dependent on the sensor value?

A lot of different ways to do this. Here's one:

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

--
Chris Muir | "There are many futures and only one status quo.
cbm@well.com | This is why conservatives mostly agree,
http://www.xfade.com | and radicals always argue." - Brian Eno

eigenstates@gmail.com's icon

Thank you but...

I am not sure how to translate this in to a .pat file.

Tried with my handy notepad but it just give me the text back.

DvD

eigenstates@gmail.com's icon

Noobs should read the FAQ.

Umm cut/paste? Durrrr.

Thanks again.

D

dGarden's icon

hi,
here is another one with lo and hi tresholds for noteon and noteoff :

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