Sending Noute On via OSC but NOT Note Off

Questions and discussion about building and using Max for Live devices
Post Reply
discopimp
Posts: 42
Joined: Tue May 13, 2008 7:14 pm

Sending Noute On via OSC but NOT Note Off

Post by discopimp » Fri Jun 17, 2011 6:18 pm

hi ... i have done a simple patch that send me what's going on in a midi track over OSC, this works well only that i don't need note Off messages and would like only to send Note On messages ... how can i do this

here is my patch:

Image

sorry if this a stupid question .. i'm fairly new to M4L programming :oops:

discopimp
Posts: 42
Joined: Tue May 13, 2008 7:14 pm

Re: Sending Noute On via OSC but NOT Note Off

Post by discopimp » Fri Jun 17, 2011 6:47 pm

ok, i figured something out, not sure if this is the most elegant way to do it but it works:

Image

olivierseb
Posts: 230
Joined: Sun Dec 11, 2005 8:52 pm
Location: FRANCE
Contact:

Re: Sending Noute On via OSC but NOT Note Off

Post by olivierseb » Fri Jun 17, 2011 8:43 pm

discopimp wrote:ok, i figured something out, not sure if this is the most elegant way to do it but it works:

Image
hi,

if you wanted velocity for every Note On you did it well.
Image

MacBookPro17", mac OS 10.6.2/RME FF400 & FF800
http://www.olivierseb.com

Max for Live training sessions in Paris @
http://www.apaxxdesigns.com/

Max for Live training sessions in Rennes @
http://www.intouchmedia.fr

kgmonarch
Posts: 75
Joined: Thu Aug 07, 2003 4:24 pm
Location: under a mountain of unwashed coffee cups
Contact:

Re: Sending Noute On via OSC but NOT Note Off

Post by kgmonarch » Fri Jun 17, 2011 8:50 pm

very funny. (slow clap)

Here, this will include pitch and velocity and let you control the output channel as well.
  • Image
----------begin_max5_patcher----------
840.3ocyX1saaBCEG+5To9Nf35LFFHA5taU6lJs8DLUE4.lVuB1HiIKcU6ce
9Cf.s.gjPRVuHN09vw+O+7wGaxa2dyLy0zsnbSiuX7SiYydSzyLUexdlU0wL
yT31vDXtxPSB52z0+xbd4XbzVtp+hnrbDIx.36XAVZA.2YAbcL7E+UaLoHES
RPbkm.U8FSI7b7ePpNssraXMsfWYdc2YPd3yXxSqXnPtV6.+khGyvwV9zF.u
6TMAV1FO1bRHvT0jX9UFFlXbOMIpVZ3H0HhP6S.OSUm+81ajshl4ilNI3MHK
gvklU45MPV8L203cSk1Quy.QuyBUzC.NxFW8+rnYvqcD+0Lj9ILMmaXFmPgB
O73NOyDpjiXqPD35DTK0zDOt0JOGtAEsBx4L75BNZ22xKYTEjjPHo.Qiq5ud
flya9yTFeHT0x5TZj.8JU53Wm0zxjDJ4oCxeXhJUqGugIuH8VqzwO3BZDp2w
wjXpRKcJfBBVuX28vTVDh0qqiPwCLZdFBEkfSUzp6nKmixxGP4av43xrhNs.
sMiRPD9.SAjPnbHGSIqpWU5mD7WGX1RqV5WZ0y35kxdTR0VAP2wJlKpOzXaf
coUkUD18kioDQeEPSwQ3XJKUroryJC9GV8Rv9qWB77TMkkMCFrjAlzrXwgTN
EXN4rJCF9R2TxY5oTYcU2Q.oiiPAmA.wPYxSi+78HnHRmhCfGCpzMAmOTsX5
QUt3LqLQgIzjjPMzA0.8YyApsaKbG4lt4mvdOuoGWRRIpsNEYTt6mU5q13s7
vX0ofL2iGYgzzT4IfefY+3gu8fAmZ7cwUPNDxANlKCWdAPW4Ca3qyxtaDWE1
3ANLAGVquX1Sq0dz1xct7CO4mhO.M8VCz42JxCoIT1.N3Lg4XFM8BAZ8wlJN
GDbA47xKCmG5hJBDc1eqNufFG+54eRuSmi4YACSTgPvdofqFBm2Kp8dFo8h3
EmHe3GIPIT4.uib4zBVXkRzGXKxE2ImHTNGSTuCPCiDuwcKqdFGEgHsxODzN
iJBsRgLTZ8n0l3loiPbKtNZycTfSFAKu3hKXzZ6xCNYpDXeZKnsQWPoYOFoc
ER2FizbuJRycLKndWkEzQsG06+2ETmSVZxNDM+CNX9P7
-----------end_max5_patcher-----------

Next time, use Edit->Copy Compressed and then paste the code in here to make it easier for others to modify code and post their fixes. You can just copy the above code (including header & tail) and then paste it directly into your patcher.

Post Reply