Seq Object Help

Jan 18, 2008 at 3:45am

Seq Object Help

Hi all

Would anyone be able to check I’m using the seq object properly, i was having problems with timing in a bigger patch, so I made a quick patch to test seq. It’s supposed to record quarter notes for two bars. when I load the midi file into Logic/ Reason / Pro Tools cubase , the notes are not in the right place , and there is not the amount there is supposed to be.

Could anyone please check my patch to check I’m not missing something important. I believe i have read all the relevant documentation but I would appreciate it if you could point out something I may have missed.

Thanks, Ben

#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P newex 195 290 92 196617 midiformat;
#P newex 201 256 30 196617 pack;
#P newex 219 220 94 196617 makenote 100 100;
#P button 317 221 15 0;
#P message 48 280 35 196617 write;
#P button 173 25 15 0;
#P toggle 221 87 15 0;
#P newex 171 62 59 196617 bangbang 2;
#P newex 316 192 49 196617 select 1;
#P button 219 172 15 0;
#N counter 0 0 7;
#X flags 0 0;
#P newobj 251 149 71 196617 counter 0 0 7;
#P message 304 247 29 196617 stop;
#P message 158 221 40 196617 record;
#P newex 227 328 27 196617 seq;
#P newex 221 193 27 196617 60;
#P newex 220 109 70 196617 tempo 90 1 4;
#P window linecount 2;
#P comment 236 62 100 196617 start tempo and record on seq;
#P window linecount 1;
#P comment 347 127 339 196617 send out 1 for select after two bars to stop seq recording;
#P window linecount 2;
#P comment 378 202 100 196617 60 is for play note every quarter;
#P window linecount 4;
#P comment 352 257 100 196617 once bang has lit to show over 2 bars , turn off metro and write midi file;
#P connect 11 0 16 0;
#P connect 9 2 11 0;
#P connect 16 0 8 0;
#P connect 4 0 9 0;
#P connect 15 0 6 0;
#P connect 8 0 6 0;
#P connect 7 0 6 0;
#P connect 19 0 6 0;
#P connect 17 1 18 1;
#P connect 10 0 5 0;
#P connect 12 1 13 0;
#P connect 13 0 4 0;
#P connect 5 0 17 0;
#P connect 9 0 10 0;
#P connect 17 0 18 0;
#P connect 18 0 19 0;
#P connect 14 0 12 0;
#P connect 12 0 7 0;
#P window clipboard copycount 20;

#35432
Jan 18, 2008 at 7:08am

You have to patch the outputs of bangbang the other way around, otherwise you start recording just after the first note-on has been generated. Set the temp to 120 to get quarters.

_
johan

#120760
Jan 18, 2008 at 12:31pm

Hi Johan

Thanks, I must have been tired when I made that patch as I put the Bang Bang in to avoid that problem, I noticed I also have to set the counter to 8 for it to turn of the recording after two bars worth.

The timing is much tighter when set at 120 BPM but i don’t understand why , isn’t my current tempo object putting out quarter notes at 90 BPM?

-
Thanks
Ben

#120761
Jan 19, 2008 at 12:06am

The tempo object has no notion of what is a quarter note. So the tempo 90 is arbitrary in that sense. You just have to remember that at tempo 120 (intervals of 500 ms) the seq object will record (what by other applications is understood to be) quarter notes. Seq does not allow to record in a certain tempo, I suppose.

_
johan

#120762
Jan 19, 2008 at 11:22am

jvkr schrieb:
> The tempo object has no notion of what is a quarter note. So the
> tempo 90 is arbitrary in that sense. You just have to remember that
> at tempo 120 (intervals of 500 ms) the seq object will record (what
> by other applications is understood to be) quarter notes. Seq does
> not allow to record in a certain tempo, I suppose.

It even ignores tempos in a midi file if they are different than 120 4/4…
You could also have a look at seq~ which is also more precise, because
its audio driven…

I think in the future midifiles will be obsolete, I just had a brief
look at MusicXML. This is a human readable Format, much easier to read a
MusicXML file than studying the specs for Midi files… ;-)

Stefan


Stefan Tiedje————x——-
–_____———–|————–
–(_|_ —-|—–|—–()——-
– _|_)—-|—–()————–
———-()——–www.ccmix.com

#120763
Jan 19, 2008 at 1:20pm

Thank you both for your help, MusicXML does look much more appealable than midi!

I’ll check out the Seq~ object thanks Stefan, although I haven’t really got into the Max Manual or any other Msp objects yet.

Is it true that using the detonate object I won’t be able to import the file into logic / cubase etc after?

#120764
Jan 21, 2008 at 8:42am

Ben Craig schrieb:
> Is it true that using the detonate object I won’t be able to import
> the file into logic / cubase etc after?

It should be possible, why not.
But the detonate object is supposed to be ditched in Max 5, better learn
other alternatives….

Stef


Stefan Tiedje————x——-
–_____———–|————–
–(_|_ —-|—–|—–()——-
– _|_)—-|—–()————–
———-()——–www.ccmix.com

#120765
Jan 22, 2008 at 2:17am

I thought i read somewhere that it couldn’t be used , can’t remember where tho ! maybe I’m mistaken. I’ll have a look at seq~ but if detonate does the trick for now i’ll give it a go !

#120766

You must be logged in to reply to this topic.