Patch Advice Please

Jun 22 2007 | 4:11 pm
Hi,
I'm doing some volunteer programming work at the moment building a musical instrument for children with mobility disorders. I've been given MaxMSP to do the job, but I've never used it before and time is running out, so if anyone can help me work it out I would really appreciate it. It should be very simple.
I'm getting a single INT (0-127) from the fiddle object, which is used as the controlling parameter. Depending on whether it is between 0 and 50, 50 and 100, and 100 and 127, it will play a choice of 3 parallel chords. The metronome should also be varied by increase or decrease in the control integer coming out of fiddle.
Thanks for your time. If I've posted this in the wrong forum, please advise and I'll repost.
Kind regards,
Lex

• Jun 22 2007 | 4:20 pm
PS: I should add that, while I have done the first 15-20 tutorials, I am not a programmer and am merely doing what I can to learn in my capacity as a volunteer. I have noticed on the forum that there are a lot of students trying to get their schoolwork done by other people, and I hope my request will not be construed as such. Any advice would be helpful.
• Jun 22 2007 | 4:27 pm
Hi Lex,
Some additional questions: What do you want to play chords with? A synthesizer? A sample? MIDI output? What is the purpose of the metronome and what are the min and max values? Could you post the patch that you already have?
Cheers, Mattijs
Quote: Lex Moon wrote on Fri, 22 June 2007 18:11 ---------------------------------------------------- > Hi, > > I'm doing some volunteer programming work at the moment building a musical instrument for children with mobility disorders. I've been given MaxMSP to do the job, but I've never used it before and time is running out, so if anyone can help me work it out I would really appreciate it. It should be very simple. > > I'm getting a single INT (0-127) from the fiddle object, which is used as the controlling parameter. Depending on whether it is between 0 and 50, 50 and 100, and 100 and 127, it will play a choice of 3 parallel chords. The metronome should also be varied by increase or decrease in the control integer coming out of fiddle. > > Thanks for your time. If I've posted this in the wrong forum, please advise and I'll repost. > > Kind regards, > > Lex ----------------------------------------------------
• Jun 22 2007 | 4:43 pm
• Jun 22 2007 | 5:12 pm
Thanks guys,
To answer your questions:
1. The metronome is being used to trigger the chords at a faster or slower repetitive rate.
2. Min value 0 - Max Value somewhere around 130.
3. Fiddle is taking a pitch from a GSR2 sensor. At the moment I am using Speedlim to smooth the data, although this may not be the most efficient way.
4. I will use the data to control an FMSynth, or maybe the Operator synth in Ableton Live via Rewire. Ableton is my specialty, which is for some insane reason why they've asked me to do this work in Max (??).
How do I post a patch on this forum?
Thanks again,
Lex
• Jun 22 2007 | 6:29 pm
Lex asked: " How do I post a patch on this forum? "
Lex, go to your patch, select what you want to post, hit copy, then go to your max post and hit paste. The output will look a bit like this:
Likewise, copy the above text and paste it into a max patch to do the inverse. Yes, it is magic.
Peter
• Jun 22 2007 | 7:21 pm
Couple of things:
fiddle~ generally will not track pitches below MIDI 48, so you're not going to get much out of the 0-50 range. Also, 100-127 is over three octaves above middle C, so this is probably a little high as well. (unless I'm misunderstanding; you're tracking the range of the voice?)
Here's an example of a way to grab the amplitude (though you could always use the one coming out of fiddle, but this is a little smoother.
Peter McCulloch
• Jun 22 2007 | 8:04 pm
It's a good thing you did not say you were a uni student, because we would have given you a lot of grief. ;)
Anthony
• Jun 28 2007 | 1:15 pm
Hi all,
I've managed to get my patch working in a basic sort of way, but now I'm having quite a bit of trouble getting my patch to talk to Ableton. The Max patch below should control channel 1 in Ableton via rewire, but it doesn't want to talk. Any ideas? When I click on ad_rewire in the DSP settings it doesn't want to move from the Off position, and gives me an error message saying 'Is Rewire mixer running?'. All the sync options for Max are on in the Ableton preferences.
Thanks,
Lex
• Aug 10 2007 | 7:12 am
Hey man, I have the same problem. Did you find an aswer?
Thanx Peer
• Aug 10 2007 | 7:59 am
• Aug 10 2007 | 8:29 am
Yes thanx....I just read it. But I have these 'rewire mixer not connected' problem. And I read some other things on the forum and it seems that everyone is not crazy about ReWire...so now I'm checking Soundflower which seems to work but I still don't have a signal in Live....but I'm going on fighting and searching.
Thanx so far Take care
• Aug 10 2007 | 8:46 am
Hey Mattijs, do you still soundflower or did you switch to another device?
• Aug 10 2007 | 12:12 pm
Quote: jazzisfaction wrote on Fri, 10 August 2007 10:46 ---------------------------------------------------- > Hey Mattijs, > do you still soundflower or did you switch to another device? ----------------------------------------------------
Hi jazzisfaction,
I still use soundflower, but without soundflowerbed (because of the increasing latency mentioned before on the forum). Instead of soundflowerbed I use the aggregate device. On a G5, working with Logic, this results in the output getting more and more corrupt with clicks and distortion until after 10 minutes it is almost gone. On Mac Pro there is no problem.
So on the G5 I haven't found a solution yet, on Mac Pro I use soundflower with an aggregate device and that works perfectly.
Mattijs