Hi Mark, your application sounds like a perfect use for pd!
haven't got much time to spare so just passing some thoughts. you should be able to do all that you want to by using built in objects and manually doing it. For example, use moses to determine what region you are in (or [select] for discrete bins). Then save what region you are in with a [value] object; next time it receives a number, plug the 'region' number into [change] and if it is different this will output, so use the output of the change to trigger a reaction. This reaction can then find out if it is higher or lower.
regards,
Matt
-=-=-=-=-=-=-=-=-=-=-=-=- http://www.loopit.org/ -=-=-=-=-=-=-=-=-=-=-=-=- ----- Original Message ----- From: "Mark Casey" reedman@reedmaninteractive.com To: pd-list@iem.at Sent: Tuesday, August 03, 2004 4:42 PM Subject: [PD] newbie ? - quantize controller data
Hello,
I'm new to Pd. I play MIDI wind controller and Pd looks like just the
ticket
to realize my long standing performance goal. That is to take the single note data stream and seamlessly switch between lead and rhythm parts. The rhythm parts would be chords but not locked into parallel voicings. The processed MIDI data will trigger hardware synths.
I'm on OS X 10.2.8, dual 450, midiman 2x2 interface, Pd version 0.37.0
Outputting chords based on MIDI note number is pretty straight forward thanks to Jim Aikin's transposer patch. Now I want to change voicings via continuous controller rather than the radio buttons currently used.
The first attempt used moses to split the range into 4 zones but this
bangs
the transposer every time the controller changes. What I need is a single bang for the entire time the controller stays in a range - only sending a new bang when the controller passes a upper or lower threshold.
Would you point me to a resource or perhaps offer suggestions for
achieving
this?
Thanks for your help.
Mark Casey
PD-list mailing list PD-list@iem.at to manage your subscription (including un-subscription) see http://iem.at/cgi-bin/mailman/listinfo/pd-list