tweet

Max/MSP diary part 5: the evolution of a patch

From ugly duckling to, err… magnificent swan

Chris Wickett, Wed 22 Oct 2008, 5:31 pm UTC

Max/MSP diary part 5: the evolution of a patch

Too many objects can make things look messy

View in gallery

Not only do subpatches make things clearer visually, but they also make a large patch easier to mentally digest. Here's an example:

null

The image above is a subpatch from the new Theremin patch. It handles the sound generation of the patch: pitch comes in at the 'inlet' on the right, and the other two inlets receive information from faders which in turn control the crossfade between the two oscillators. Sound is then sent to the outlets (one at full volume for the oscilloscope and one quieter for speakers (and human ears). All-in-all, there are 16 pieces to the puzzle.

From the outside, however, there is just one: the subpatch object (below).

null

It makes such a difference. Once I'd built this subpatch, I could essentially forget about the sound generation part of the synth and concentrate on the bigger picture.

Further improvements

null

With the positively roaring success of my first subpatch, I decided to add another – this time a simple mouse locator that draws a green circle on the X/Y pad (above, right). I also decided to add a delay (as we all know, a Theremin just isn't a Theremin unless it's been put through some delay and used in a '40s sci-fi-horror film) in another subpatch (above, left). The delay itself wasn't actually too difficult – three objects to be precise – but interestingly, turning the delay on and off smoothly required eight. C'est la Max/MSP, I guess…

The final improvement was to allow sound on/off and delay on/off to be controlled by the computer keyboard.

Here's how it all sounds:

With delay:

Without delay:

Go to page:123
Share:
StumbleUpon
Digg
Reddit
Del.icio.us

User comments (3)

You need to be logged in to post a comment. Login or Register to post a comment.

Poll

Ask MusicRadar: You chose the top 15, now pick the winner. What's the greatest guitar riff off all time?

ReviewFinder

Search by product, brand or manufacturer

Buy here

  • Buy music products with Professional Music Technology
  • Buy music products with Andertons Music Company
  • Buy music products with Scan Computers
  • Buy music products with Red Dog Music
  • Buy music products with Thomann

MusicRadar Marketplace

If you're looking for great deals on gear, tuition, mastering, education or kit hire, click here for our new and improved marketplace.

Follow us on twitter Sign up for our free newsletter Have your say on the MusicRadar forums