Forums > MaxMSP

Polyrhythm – any better way?

September 4, 2010 | 9:01 am

Here is my polyrhythm hubcentre patch which I use as a starting point for building some of my sequencers. Has anyone got an alternative to this type of thing?

– Pasted Max Patch, click to expand. –

September 4, 2010 | 5:48 pm

That’s really cool. I did a little sequencer that is vaguely similar. The part that I don’t like about it is the tendency for notes to hit on the same beat. I thought maybe a step sequencer input for notes would be fun but that ended up not working very well. I was considering adding swing or delay to further improve it. I thought perhaps the train object at <1 values, or maybe sig~, to get very fine values in there, or offset each unit by a very fine amount. Anywho, those are my thoughts. Thanks for the patch, love it!

Attachments:
  1. neur0.2.amxd

September 4, 2010 | 5:56 pm

@willum070 I dont have m4l or live for that matter. Have you this in a max 5 patch?


September 4, 2010 | 10:44 pm

Certainly!

– Pasted Max Patch, click to expand. –

September 6, 2010 | 9:19 am

Well, IMHO the problem with polyrhythms was to be able to edit all the tracks in a single view, so I took some time to program something in Javascript for the JSUI object so I could build a specific user interface (see picture).

So every track has a layer for pitches (color lines) and velocities (black bars). Keyboard shortcurts allow to change either pitch or velocity and move step by step or faster. You can set the number of beats per pattern from 1 to where it becomes impossible to edit and where MIDI becomes the bottleneck (especially in Max 5), like say 100 beats.

Specific messages allow to transpose pitches, edit velocities, clear either or both.

Each pattern can store its own tempo too.

I have 8 such objects in a bpatcher and the data are put in a coll object because JS is too slow when it comes to read the data (especially with fast rhythms).

The playback is controlled by a phasor~ to keep everything in sync and MIDI messages are sent outside.

Roald Baudoux

[attachment=140876,1084]

Attachments:
  1. js_polyrhythmic_engine.png

Viewing 5 posts - 1 through 5 (of 5 total)