Audio samples in my 16 step sequencer
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?
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.
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~.
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?
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.
ya clicked your user name all right and have the files zipped but there’s nowhere to attach files to the email?
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,
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
this might help:
----------begin_max5_patcher---------- 845.3ocyXss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fVESlDCztkj3YPlB6VQBwvBRN0zohWdc3+AP0SfeA -----------end_max5_patcher-----------
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!
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.
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!
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.