Audio Rate Sequencer

Mike S's icon

Hi All

I have wanted to build an audio rate sequencer for a while and after looking at the patch in the examples i came up with this.

I don't think its quite audio rate, but almost. I've been having trouble trying to figure out how to get signal objects to trigger the audio instead of edge, though i don't know how much precision i am losing with edge???

Ideally I'd like to load the audio in to buffers, and have the ability to shorten them (start and end times) and envelope them also. I had a look at groove~ but I couldn't get it to work at all.

Max Patch
Copy patch and select New From Clipboard in Max.

Mike S's icon

cheers man, i'll be working on this for a while i think

i've wanted to use max for more than just sound sources for a while. i also want to hook it up with cubase for some synth action, will probably post back over the next few weeks

thanks again

ComfortableInClouds's icon

eric lyon's objects have a sample accurate sample player. it responds to a click (going from 0 to 1) from an audio signal.

the_man361's icon

nice patch, raja.

good fun to play with time stretching the samples.

Mike S's icon

hey mang it was my idea! jk

just figured a way of writing function to a buffer for audio rate enveloping too. no doubt raja will supe it up now

Max Patch
Copy patch and select New From Clipboard in Max.

oli larkin's icon

here is an audio rate pattern gate that i've been making, maybe of interest

oli

Mike S's icon

hey oli,

i don't suppose you'd know how i would go about implementing swing in the timing?

oli larkin's icon

i have some externals that i am developing to do sample accurate swing clock. I have found it a bit of a nightmare without resorting to C... the delay approach is not great, since you get problems when you change the shuffle value or tempo.

oli

Mike S's icon

could you not select specific values from the phasor that correspond to the swing, and use them as triggers?

oli larkin's icon

here is a version using an external for the swing clock. It's not perfect...getting there

external is only compiled for mac at the minute

Pierre Alexandre Tremblay's icon

Dear Oli and all

This is great, though there is a little error in the external: the ramp does not swing!

If you unplug to res filter, and put slow (48bpm) stacc (0.02) notes, the only thing the swing changes is the lenght of the note, not the swing of attacks.

I think the ramp output is the guilty (when I spy it from a scope)

Please post a fixed version and we'll all be dancing soon!

pa

oli larkin's icon

i know it has some issues

will fix when i have a chance

o

Michele Verità's icon

oli larkin wrote on Sat, 09 May 2009 19:39here is an audio rate pattern gate that i've been making, maybe of interest

oli

hi there could someone post a max 4.6 version of this..thanks a lot

oli larkin's icon

here you go

Robin Price's icon

I've implemented really good swing in audio rate sequencers by running a phasor through a look up table and feeding that to seq, i can get real time groove interpolation and strength changing

Max Patch
Copy patch and select New From Clipboard in Max.

groovemap02.maxpat

Max Patch
Copy patch and select New From Clipboard in Max.