Forums > MaxMSP

audio input in max

April 18, 2006 | 10:26 pm

Hello,
I am trying to create a very simple patch in which when someone talks in to a microphone it triggers a video to play. However the way the patch is working right now is that the signal has to be constant for the video to be playing, but I just need the participant to say one word and the video to start.
What should I use as the audio input in max to do this, I have no clue. Does anyone out there know?
Thanks!
Jen


April 18, 2006 | 11:17 pm

you can just connect adc~ to a peakamp~ object setted on a volume
threshold
and that’s it: you’ll get an amplitude change due to the spoken word
into the microphone.
What do you mean with " the signal has to be constant"?

tom


April 19, 2006 | 1:00 am


April 19, 2006 | 6:08 am

tommaso perego wrote:
> you can just connect adc~ to a peakamp~ object setted on a volume
> threshold
> and that’s it: you’ll get an amplitude change due to the spoken word
> into the microphone.
> What do you mean with " the signal has to be constant"?

Are you sure this works? How could you make peakamp~ work without audio
being switched on? (I am sure it doesn’t ;-)

Jen, follow the logic, you need a bang, or a 1 to start the movie, once
its started, you don’t want it to trigger anymore, and you don’t want it
to stop. You didn’t paste a patch into your mail, so I guess you
translate the level of audio directly to control on/off of the movie –
put a [select 1] behind that… and the other 1001 possibilties to solve
such problems will be easy to find after you went through all the
tutorials….

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


April 19, 2006 | 10:50 am

i guess that if the audio is always on
as the mic is plugged in,
then you put a threshhold level
that is higher than noise/rumors level but lower than
the spoken word volume.

this is not the best solution but it might be the max objects’ area
where you need
to point to and search a bit.

just that :-)

t.


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