rodwill

Nov 19, 2006 at 12:44pm

rodwill

I’ve been using Max/Msp for only 4 weeks and was able to come up with some working patches. I just started MSP tutorials.I’m able to open files(aiff) with the sfplay~. I’m trying to make an audio sequencer using midi.Can anyone step me through this or direct me somewhere in the forum.Thanks

#28775
Nov 19, 2006 at 11:58pm

Unfortionatly a true midi sequencer in max is a real pain to do. There is a post last week discussing the use of ICE tools (look at my previous posts, its on there somewhere if you are interested).
However, not to let you down, heres a simpler way to go about it, its pretty simple, but can be expanded as far as you like. However if you’ve only been using max 4 weeks, this’ll get you started.

Any questions about its use etc, let me know.
Tristram

max v2;
#N vpatcher 0 45 1024 727;
#P window setfont “Sans Serif” 14.;
#P window linecount 17;
#P comment 16 297 100 196622 This is a simple sequencer display thingy- replicate and alter this a few times and you can build up a nice gadget. Something similar to this was one of my first bigish max projects.;
#P window setfont “Sans Serif” 9.;
#P window linecount 8;
#P comment 470 410 100 196617 You could also use tones , but that will be more complicated. Also Buffers would probably be better than sfplay~ as they will have less glitches;
#P window linecount 3;
#P comment 251 237 100 196617 Connect the select in sequence and hey presto;
#P window linecount 7;
#P comment 733 233 100 196617 The counter will count (via the select) through each of these numbers in sequence and send either a 0 or a 1 into the sfplay.;
#P window linecount 10;
#P comment 720 70 100 196617 This is a bit prettier than just using toggles , you can make a row of these to create a pretty nifty sequencing array thing (once again- try more numbers for better resolution;
#P window linecount 1;
#P message 448 416 14 196617 0;
#P button 448 379 15 0;
#P message 412 416 14 196617 1;
#P message 361 416 30 196617 open;
#P user ezdac~ 412 513 456 546 0;
#N sfplay~ 1 120960 0 ;
#P newobj 412 448 44 196617 sfplay~;
#P button 412 379 15 0;
#P newex 412 306 46 196617 select 1;
#P newex 244 206 118 196617 select 1 2 3 4 5 6 7 8;
#P number 292 91 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P toggle 244 91 15 0;
#P newex 244 128 58 196617 metro 200;
#N counter 3 1 8;
#X flags 0 0;
#P newobj 244 183 71 196617 counter 3 1 8;
#P number 692 232 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 652 232 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 612 232 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 572 232 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 532 233 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 492 233 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 452 233 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 412 233 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 412 183 291 196617 unpack 0 0 0 0 0 0 0 0;
#P user multiSlider 412 116 283 32 0. 1. 8 2921 15 0 0 2 0 0 0;
#M frgb 0 0 0;
#M brgb 255 255 255;
#M rgb2 127 127 127;
#M rgb3 0 0 0;
#M rgb4 37 52 91;
#M rgb5 74 105 182;
#M rgb6 112 158 18;
#M rgb7 149 211 110;
#M rgb8 187 9 201;
#M rgb9 224 62 37;
#M rgb10 7 114 128;
#P window linecount 8;
#P comment 129 183 100 196617 This is flexible , do however many numbers you want , this is a short ugly example but you could have 128 steps (or more) if you really wanted;
#P connect 13 0 12 0;
#P connect 12 0 11 0;
#P connect 11 0 15 0;
#P connect 14 0 12 1;
#P connect 1 0 2 0;
#P fasten 15 0 3 0 249 232 417 232;
#P connect 2 0 3 0;
#P fasten 10 0 16 0 697 276 417 276;
#P fasten 9 0 16 0 657 276 417 276;
#P fasten 8 0 16 0 617 276 417 276;
#P fasten 7 0 16 0 577 276 417 276;
#P fasten 6 0 16 0 537 276 417 276;
#P fasten 5 0 16 0 497 276 417 276;
#P fasten 4 0 16 0 457 276 417 276;
#P fasten 3 0 16 0 417 277 417 277;
#P connect 16 0 17 0;
#P connect 17 0 21 0;
#P fasten 23 0 18 0 453 439 417 439;
#P connect 21 0 18 0;
#P fasten 20 0 18 0 366 439 417 439;
#P connect 18 0 19 0;
#P connect 18 0 19 1;
#P connect 16 1 22 0;
#P connect 22 0 23 0;
#P fasten 15 1 4 0 262 232 457 232;
#P connect 2 1 4 0;
#P fasten 15 2 5 0 275 232 497 232;
#P connect 2 2 5 0;
#P fasten 15 3 6 0 288 232 537 232;
#P connect 2 3 6 0;
#P fasten 15 4 7 0 301 232 577 232;
#P connect 2 4 7 0;
#P fasten 15 5 8 0 314 232 617 232;
#P connect 2 5 8 0;
#P fasten 15 6 9 0 327 232 657 232;
#P connect 2 6 9 0;
#P fasten 15 7 10 0 340 232 697 232;
#P connect 2 7 10 0;
#P pop;

#88649

You must be logged in to reply to this topic.