Forums > MaxMSP

seq~ output problems


pmt
May 7, 2007 | 10:45 pm

Hi,

I’m having issues with output from seq~ in which, when driving seq~ with
a line~, it fails to output the first event at time 0. If I attach a
phasor~ to seq~ instead, then it skips the event at time 0 on the first
iteration, but not on subsequent iterations. If I tweak the performance
options to make Max more responsive, phasor~ does output the first item
on the first iteration, but line~ still fails to do so. Since I don’t
want to loop through sequence, I really want to use line~ to do the job.

Another strange thing (I’m guessing this has something to do with the
scheduler?): In the attached example patch, I also give an option of
attaching a sig~ object to seq~. sig~ is driven by a non-signal ‘line’
object, and, as the scope~ and number~ objects show, the outputs from
that and the line~ option appear to be the same. However, when the sig~
object is attached to seq~, seq~ doesn’t give any output at all. Any
explanation as to what is happening here and why would be greatly
appreciated. Many thanks in advance.

Best,

Peter

—————-

#P window setfont "Sans Serif" 9.;
#P window linecount 7;
#P comment 319 207 145 196617 phasor~ also plays through seq~ but skips
the event at time 0 on the first iteration. if max/msp’s performance
options are tweaked , it will output the first event in seq~ , but
line~ still fails.;
#P comment 196 207 108 196617 try connecting the sig~ object to seq~
instead of the line~ output. shouldn’t it also work? it generates no
output from seq~;
#P window linecount 5;
#P comment 22 289 80 196617 this plays through but always misses the
event at time 0;
#P window linecount 1;
#P newex 332 306 64 196617 phasor~ 0.5;
#P newex 521 162 48 196617 loadbang;
#P newex 521 187 62 196617 bangbang 3;
#P user scope~ 210 482 340 612 256 3 128 -1. 1. 0 0. 0 0. 102 255 51 135
135 135 0;
#P user scope~ 71 481 201 611 256 3 128 -1. 1. 0 0. 0 0. 102 255 51 135
135 135 0;
#P user number~ 128 385 167 400 9 3 3 2 0. 0. 0 0. 250 0. 0 0 0 221 221
221 222 222 222 0 0 0;
#P user number~ 245 387 284 402 9 3 3 2 0. 0. 0 0. 250 0. 0 0 0 221 221
221 222 222 222 0 0 0;
#P newex 219 304 47 196617 line 0. 5;
#P newex 219 334 29 196617 sig~;
#P button 109 170 29 0;
#P newex 521 469 32 196617 print;
#P user ezdac~ 624 658 668 691 0;
#P message 109 264 62 196617 0. , 1. 1000;
#P newex 109 303 32 196617 line~;
#P message 557 289 48 196617 seq aseq;
#P message 611 289 38 196617 play 1;
#P message 651 373 49 196617 erase all;
#P message 521 258 78 196617 add aseq $1 $1;
#P message 651 336 56 196617 dump aseq;
#P message 521 231 183 196617 0. , 0.25 , 0.375 , 0.5625 , 0.825 ,
0.95;
#P newex 521 408 40 196617 seq~;
#P window linecount 2;
#P comment 94 138 80 196617 bang to play the sequence;
#P connect 19 0 6 0;
#P connect 19 1 7 0;
#P connect 1 1 11 0;
#P connect 1 0 11 0;
#P connect 3 0 1 0;
#P connect 4 0 1 0;
#P connect 5 0 1 0;
#P connect 6 0 1 0;
#P connect 7 0 1 0;
#P connect 8 0 17 0;
#P connect 8 0 16 0;
#P fasten 8 0 1 0 114 368 526 368;
#P connect 2 0 4 0;
#P connect 19 2 2 0;
#P connect 20 0 19 0;
#P connect 13 0 18 0;
#P connect 13 0 15 0;
#P connect 14 0 13 0;
#P connect 9 0 8 0;
#P connect 9 0 14 0;
#P connect 12 0 9 0;
#P window clipboard copycount 25;


Viewing 1 post (of 1 total)