Ok, How Would I Do This?

irapotato's icon

Ok. I must preface this by saying: I am a Max noob. i recently bought the whole package (Max/msp/jitter), and I have created a few basic synths so far. this next project is a little more difficult, and I've been needing some help: what i want to do is have a synth that takes a music file I've created (an entire keyboard's worth of synth notes) and plays them (a single note per keystroke). also, i was wondering if there was a way to extend the length of said notes using a graphical knob in MAX.

Luke Hall's icon

If you mean you have a music file like a .wav or .aiff containing the sound of each note then your question is about sample playback rather than synthesis and you should look at [sfplay~] or [buffer~] and any combination of [groove~], [play~] and [wave~]. If not then I've completely failed to understand your question and you might wanna rephrase it or explain a bit more.

lh

Jean-Francois Charles's icon

Yes, synth building tutorials on cycling74 / tutorials...
Looks like you will need to slice your sound file into small samples yourself. If you want to build an automatic slicing tool, it will be more complicated than the synth tutorials. But work on them first.

LoneMonad aka don malone's icon

with a midi file
parse out the note offs
then add a delay

Zh's icon

what do you mean "a music file" ?