coding max

Max receives capacitive values from Arduino, format them, and send back to arduino the control values to the monotron. A cycle~ object is used as 'raw' data from the capacitive sensor. Actually its all pretty raw. I want /will make it more intricate coding. Please check the videos on the video page.

I really wish I spent more time on this part of the project, but at the same time I wouldnt be where I am now if I did.. I have spent too much time on the making and not enough in the coding (of max). I have done all so that max can control the monotron. I think I have achieved quite a bit. The layout of the site seems buggy but at least the content is there. I will do more updates and annotate where appropriate.

I am aiming to complete the patch with record of melody, and cycle~ coming in only when audience is sensed. I will update the pages at the weekend I label it so. More to come here soon.

Update 1: Sat 12 Jan 2013, 11.30am
As the values from arduino/capacitance of the speaker varies a lot (ambient effect of electricity, amp etc?), I have spent some time trying to average the values.

Update 2: Sat 12 Jan 2013, 4.50pm
I have just re-read the assessment criteria, and I forgot to attach a zip file link. Please find below.

Max patch (zip)

Update 3: Mon 14 Jan 2013, 8pm
I have re-recorded a performance with the patch I updated on Saturday morning. This max patch is still very simple compared to all the things that can be done in Max/MSP, but I believe it works quite well as is, and adding more to it will require a decent amount of time. I will create a new page as project follow up. In the meantime, here is another rough video of the installation, this time with sound.

Update 4: Tue 14 Jan 2013, 11pm
I should have done this from the start. I have only just started to bring much more precise values to the Monotron, about 64 times more precise (from 0 to 16, then from 0 to 1024). This is done thanks to a PDF from Chris Vecchio on Serial communication between Max/MSP and Arduino. The loudspeaker is now much more responsive, and is really starting to shape up the experience as I imagined it from the outset. It is still early days as I control only the pitch of the synth in a direct way (i.e. not much number crunching in Max/MSP), but it is starting to sound interesting.
You can watch a video extract of the artefact in action here.