Forums > MaxMSP

acquire signal??


max
March 9, 2006 | 3:55 pm


March 9, 2006 | 4:35 pm



max
March 10, 2006 | 6:42 pm

hi,
i would like translate the flux of a signal in max value in reel time i use the snapshot~ object with 1 like argument.Have you a better solution??
thanks


March 10, 2006 | 6:54 pm



max
March 10, 2006 | 7:06 pm


March 10, 2006 | 7:40 pm



max
March 10, 2006 | 8:32 pm

this is the explanation of my problem in max language.Thanks for all .

max v2;
#N vpatcher 0 44 1280 850;
#P window setfont "Sans Serif" 9.;
#P flonum 140 249 93 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P user number~ 319 203 358 218 9 3 3 2 0. 0. 0 0. 250 0. 0 0 0 221 221 221 222 222 222 0 0 0;
#P user ezdac~ 144 296 188 329 0;
#P window linecount 1;
#P newex 136 204 64 196617 snapshot~ 1;
#P newex 136 177 55 196617 saw~ 200;
#P window linecount 3;
#P comment 317 232 287 196617 i explain my problem : i would a transcription of the signal in max value in real time , the snapshot object make an analysis each milliseconds . There is an other way more precise ??;
#P connect 1 0 2 0;
#P connect 2 0 5 0;
#P fasten 1 0 4 0 141 198 324 198;
#P pop;


March 10, 2006 | 8:42 pm

faster than snapshot 1 ms and in realtime – no.

with buffering the audio first – yes.


March 10, 2006 | 8:44 pm


March 11, 2006 | 7:10 pm

Maxime Denuc wrote:
> this is the explanation of my problem in max language.Thanks for all .

As you keep the word transcription, which you think is something
everybody should know (but doesn’t), its not explaining more of your
problem than before.
If you tell us what you want to do with a "transcribed" value, it might
be easier to help out.

If you feed the snapshot~ with an audible signal (sound or music) and
you expect a random value between the +- of the peak value, then
snapshot~ is what you want. I don’t know for what this should be good
though, I guess you expect something else…

Just some guesses: You want the average of the value, or you want the
level of the signal (average of the absolute value) or you want some
envelope following…???

snapshot~ 1 in general is not a very good idea, it eats cycles like a
Tyrannosaurus Rex would eat young musicians…

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



max
March 12, 2006 | 2:37 pm

thanks for your advanced answer stephan.
i have a bad english and i have difficulty to explain my problem.
i use ms pinky vinyles which are vinyles just send a signal.1 when normal playing -1 when reverse playing. But with scratch techniques the signal change everytime. I want scale the variation of this audio signal in max value in realtime,that’s why i use the snapshot~ object.But maybe there is a less expensive way for the Cpu??
thanks

Max


March 15, 2006 | 8:56 pm

max wrote:
> thanks for your advanced answer stephan. i have a bad english and i
> have difficulty to explain my problem. i use ms pinky vinyles which
> are vinyles just send a signal.1 when normal playing -1 when reverse
> playing. But with scratch techniques the signal change everytime. I
> want scale the variation of this audio signal in max value,that is i
> use the snapshot~ object.But maybe there is a less expensive way for
> the Cpu?? thanks

In principle there is nothing wrong with snapshot~, but if you snap it
every millisecond you create a lot of data for the scheduler and it
might not be able to follow. Just do not use it faster than you would be
able to follow with your own human reactions. Maybe 10 ms or 50 ms,
depending on the intended use might be already appropriate.

If you just want to grab the switch, look at edge~ it will only output a
bang when there is a change from 0 to 1 or 1 to 0, maybe in combination
with change~, the helpfiles for these objects should get you going.

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 12 posts - 1 through 12 (of 12 total)