Audio samples in my 16 step sequencer

Nov 15, 2008 at 2:37pm

Audio samples in my 16 step sequencer

Hey everyone,

Its my first post here on what I know is an extremely knowledgeable forum so Im hoping you guys can help me out. Basically I have a patch made consisting of RM, AM, FM , Additive synthesis and a 16 step sequencer that runs a different note on each step. I can choose what particular Modulation/syhthesis is used at each step with my 16 selector objects that lead to a subpatch consisting of the notes for each.

Ok so that’s running ok but what I want to do is set up using 16 audio files (hopefully kicks, hats snares etc) that can run in a similar fashion using the same step sequencer. This should allow me to choose using another 16 selectors what sound file I want for each step e.g for the 1st,3rd,5th,7th,9th,11th,13th,15th step to be a kick I should go to my 16 selectors and choose the kick soundfile for those and leave the rest as normal. I presume il need a sub patch containing these 16 files…so how could I do this as well?

Thanks!

Oh I forgot to mention that I cant upload my patch as its on a computer in college and the college is closed until Monday.

#40859
Nov 15, 2008 at 4:11pm

for each drum, trigger a bang which hits a message box connected to line~/curve~, connected to play~. like this:

sequencer (gives different values depending on drum to be hit) -> select object of those different values -> bangs from select to message box with proper arguments for line~/curve~ -> line~/curve~ -> play~.

#145008
Nov 15, 2008 at 5:06pm

Hey CIC,

Thanks for reply. I’m relatively new to MAX so im not fully understanding what you mean. I understand all right that the sequencer gives different values but after that im a bit lost. I think I get the part about the selectors, basically I need 16 more selectors named 1-16. I’ve found my patch on a memory stick any ways, there’s 7 or so parts to it due to sub patches etc..have you an email you don’t mind posting because it seems you can only attach 3 files here. It would be brilliant if you could give it a look, might make more sense if you know exactly what im talking about. Of course if you have time that is?

#145009
Nov 15, 2008 at 6:00pm

ill definitely give your patch a look. if you click my user name, there’s a link to email me. also, you can put the files in a folder and then right click to archive that folder. The contents of the folder are then contained in a single zip file, no matter how many files there were before.

#145010
Nov 15, 2008 at 6:43pm

ya clicked your user name all right and have the files zipped but there’s nowhere to attach files to the email?

#145011
Nov 15, 2008 at 9:22pm

Ok so here’s my patch for those that want to have a look…keep in mind my main aim is to be able to play audio samples through my sequencer in any order I like and change what order they are played in with 16 selectors..I’ve managed to do this already with my synthesis and modulation sub patches but I just don’t know how to do it with audio samples. I also plan to make pre sets of the audio settings like what I’ve done already with the synthesis elements so I can browse through the various loops I’ve programmed,

Thanks again!

#145012
Nov 16, 2008 at 12:12am

It just occurred to me that I’ve been stating selector objects when in fact I mean umenu’s! hopefully somebody will check out the patch and give me some pointers

#145013
Nov 16, 2008 at 12:50am

this might help:

– Pasted Max Patch, click to expand. –
#145014
Nov 16, 2008 at 7:30am

no im afraid that didnt work out…I’ve spent hours at it now and can only get a sound sample to hit on a step but it also hits one of my modulation sounds at the same time..another problem with the sample is that I can only load one sample instead of what I really want where I’ve 16 menus..with 16 sound samples routed into my original sequencer..think il have to leave it cos I reckn I’ve been tappin away at it since about 4 o clock yesterday and its now half 7 in the morning! truly disgusted as I had big plans for the sequencer to create loops of programmed beats and layer them in logic. And its also part of my final max college assignment!

#145015
Nov 16, 2008 at 5:50pm

i don’t want to patch this for you because i think it would be fairly tedious and itll be good practice for you to do it on your own, but might I suggest you look at it like this: your sequencer is giving you bangs, you can use bangs to trigger a sample to be played back (as shown in my patch), now all you need to do is direct which bangs get sent to which sample (which you already did, except with modulation and not sample playback). i mean, you have a device to trigger bangs, you have a device to playback a sample from bangs – it’s really just a matter of connecting patch cords at this point.

if you don’t want to trigger the modulation you have set up, then either delete it from the patch and replace every modulation with a separate sample trigger, or use a gate to determine if the bang gets sent to a modulation or a sample trigger.

#145016
Nov 17, 2008 at 9:03pm

hey CIC I’ve decided to do the audio sample patch separately. Ive the exact same idea as the modulation.

As you can see in the samples subpatch my ‘buffer~’ receives the file grand, sends the message to ‘groove~’ ok but when groove is sent to the ‘send~ outL’ and ‘send~ outR’ my ‘receive~’ objects in the main patch seem to be getting nothing so can’t hear any sounds. Any ideas for what’s going wrong? I’m sure its some silly mistake!

Thanks again, appreciate it!

#145017
Nov 17, 2008 at 11:45pm

well, you forgot to include picker2 in the max2.zip you posted, but just by looking at your patch, you don’t have anything connected to groove~. Groove~ won’t just start playing, you have to send it certain arguments. Check out the groove~ helpfile and also the tutorials the helpfile links you to. IMO, play~ is more straightforward and better for single shot samples; if you’re looking to sample long passages or you need sample accurate loop points, groove~ is great. but for your instance, id suggest you consider play~ instead.

i believe reading the MSP sampling tutorials should solve all your problems.

good luck.

#145018

You must be logged in to reply to this topic.