electro-music.com   Dedicated to experimental electro-acoustic
and electronic music
 
    Front Page  |  Radio
 |  Media  |  Forum  |  Wiki  |  Links
Forum with support of Syndicator RSS
 FAQFAQ   CalendarCalendar   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   LinksLinks
 RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in  Chat RoomChat Room 
 Forum index » Instruments and Equipment » MAX/MSP - Pd
IF OBJECT!!!
Post new topic   Reply to topic Moderators: jksuperstar
Page 1 of 1 [2 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
gregoirecers



Joined: Apr 26, 2010
Posts: 1
Location: bristol

PostPosted: Mon Apr 26, 2010 3:29 am    Post subject: IF OBJECT!!! Reply with quote  Mark this post and the followings unread

hello,
I've got a question on how to use the if object in max msp in fact i want to separate the values of the aftertouch of my midi keyboard values to trigger them to different outlet:
if aftertouch value == 0 triger to out1
if aftertouch value < 40 triger to out2
if aftertouch value < 90 triger to out3
if aftertouch value < 127 triger to out4
would anyone would know how to do that?
Thank's for help
Back to top
View user's profile Send private message
cbm



Joined: Oct 25, 2005
Posts: 381
Location: San Francisco

PostPosted: Fri Apr 30, 2010 12:20 am    Post subject: Reply with quote  Mark this post and the followings unread

I wouldn't use the if object for this. I would use split:


----------begin_max5_patcher----------
540.3oc2V0sibBBF8Z8of30Sm.3nnMYeM5MMaZ7G5trQAihsS6l8cu.Jcmoc
GjY5TyzdCewOP3bNeG944vfnRwd5PD38fOBBBdNLHvjRmHX96fn1h8UMEClg
EUIZaobYzlo9jz8RSdFuaTB9RQyH01WWgr5QF+gO0SqjSqABR1B2nB45.IS2
hQagf6m+GVsY1DkO8NzN6D8YAWxKZolt9.sutfWX6iO1x3MToAcnWSJFk1rv
CllA12MSCBuEpy9RXntYimrubTJEbGDDmBMbJM1Df112jfnyfD1rSojeqiNs
fQkE7Gh.2eAjgS+pBF+VkbnqgIA4PkFQVlonrDcHC6rThO6RY7apB3SoBLsk
bJ7S.rF0aTVp2067qX41hnd5fZ2XgjI3mDUv4lquIYGDjkur5L6QH6b5Qf+2
5QPXu8HYqmGIOYBUo+c8HHPb9xhyrEIk3xhP9G0gbJ8g1.PNjljY+h4tx3bW
JS5YqL3ySYLVJkzrt6blU.e13jbSdW5c2Aft32gd+cNuBM9JUgQt79WUS+Xa
Is2hLUWr1w1o4irnhfP5PBzkhfu3mGpRYAC7hNf33CXcHVlwD0v3+5irMTWm
+XEbPL1WYWL6Km.uR+Z5fjwMGke3fPGMnGY00T9grqkU2ITXeFDmvg6Kl7BR
3UER5GOrHlxu8TI3pBIhGPJ6lSjHqJhR8.QIqJhh8.Qo2bUs3+.Do93kvev.
wG8F
-----------end_max5_patcher-----------

_________________
Chris Muir
http://www.eardrill.com <– My jobby (more than a hobby, less than a job)
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic Moderators: jksuperstar
Page 1 of 1 [2 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
 Forum index » Instruments and Equipment » MAX/MSP - Pd
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Forum with support of Syndicator RSS
Powered by phpBB © 2001, 2005 phpBB Group
Copyright © 2003 through 2009 by electro-music.com - Conditions Of Use