Forums > MaxMSP

Info~ can't drop previous

April 24, 2006 | 10:25 pm

im trying to use info~ to make a sample playing drum machine. im using Groove~ for the drum machine part but im trying to use Info~ to change the buffer size for the Groove~ as well as all the loop start and endpoints. it works fine but Info~ will only spit out the first ( Total time). in other words, it only tells the total time of the first Wav. that it reads from the buffer. when i change the Wav. thats in the buffer it will only tell me the time of the first wav. that was in the buffer. any ideas?

thanks. joel


April 24, 2006 | 11:10 pm

doesn’t groove~ pick up on the buffer~ resizing automatically when a new sample is loaded in? anyway, if you attach a bang out of the right buffer~ outlet into the info~ inlet then it should do the trick.


April 24, 2006 | 11:19 pm

naa. it still won’t clear the previous Time. the Info~ will display evry other paramiter updated, just not the sample time. any other ideas? thanks :)


April 24, 2006 | 11:30 pm

can’t understand why not. this works perfectly for me. can’t think of anything else right now….. :-(

max v2;
#N vpatcher 10 59 610 459;
#P window setfont "Sans Serif" 9.;
#P message 54 45 42 196617 replace;
#P flonum 183 156 71 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 105 118 105 196617 info~ huh;
#P newex 54 71 61 196617 buffer~ huh;
#P connect 3 0 0 0;
#P connect 0 1 1 0;
#P connect 1 6 2 0;
#P pop;


April 24, 2006 | 11:44 pm

ok so i was using messege: read instead of messege: replace. that made all the dif. i dont know why though :(

thanks M8


April 24, 2006 | 11:50 pm

it’s because ‘replace’ resizes the buffer, but ‘read’ doesn’t – so you keep getting the original buffer size reported in info~


April 25, 2006 | 12:30 am

yeah i missed that one. this is the first time im messing with any sample bassed stuff. sorry for the noob question


April 26, 2006 | 7:46 am

Joel Swensen wrote:
> When i change the Wav. thats in the buffer it will only tell me the
> time of the first wav. that was in the buffer. any ideas?

Works for me, how did you change the wave? Or did you change the
buffer~? then you need to tell info~ that you changed the buffer~….

Stefan

[][] [][][] [][] [][][]
[][][][][][][][][][][][][][][]

Stefan Tiedje
Klanggestalter
Electronic Composition
&
Improvisation

/~~~~~
\ /|() ()|
))))) )| | |( \
/// _/)/ )))))
___/ ///

————————-x—-
–_____———–|———–
–(_|_ —-|—–|—–()—-
– _|_)—-|—–()———–
———-()————x—–

14, Av. Pr. Franklin Roosevelt,
94320 Thiais, France
Phone at CCMIX +33-1-57 42 91 09


Viewing 8 posts - 1 through 8 (of 8 total)