Forums > MaxMSP

help guys and gurus, I'm stuck :)

January 23, 2007 | 5:28 pm

Hi guys,

I have this project running atm and I can’t figure out how I’m going to be able to finish it without any help.
It’s an artistic installation and all it does basically is, it records a voice on one end and plays back what someone has spoken in before on another end. Theres a seperation in space and a delay between the microphone and the speaker.

So you speak on one end, it gets recorded, and if you speak on the other end it plays back what you have said some minutes ago.

All I was able to finish right now is, to record the sound in seperate files and save them to my hd. terribly enough I have no clue on how to get a timedelay and this "database" like playback to work.
Please guys help me out here :) Theres a presentation coming in some weeks and I’m stuck :(

Kristine


January 23, 2007 | 6:20 pm

>
> All I was able to finish right now is, to record the sound in
> seperate files and save them to my hd. terribly enough I have no
> clue on how to get a timedelay and this "database" like playback to
> work.

If I understand you correctly, and you’re looking for a fixed delay
between input and output …

If you know that a recording has finished ..

…. user presses a "button"; level on input mic drops below a
certain (low) threshold for more than (say) 5 seconds; or some other
method

then you only need to delay the bang from the recording finished
event – the simplest way is to use [delay]

or you could use a metro(or train~)/counter combination and look for
a particular value to be output from counter to start your file playing.

If you save your separate recording files with a name (either user or
patch generated), then you only need to pass that name to [sfplay~ ]
and bang it (send it [1] actually) when you want playback to start.
You could place the file name in a [coll] until you need it.

Does that give you some ideas?

David


January 23, 2007 | 6:23 pm

Are you saying there are two microphones, one one each end?

Well lets see…

1. The recorder records what ever is said at one end.
It stops when ever there is a pause or the maximum
record time is reached.

2. That recording is saved as a file and the name of that
file is stuffed in a col.

3. In the background you have a metro and counter that
keeps track of the delay time. when the delay time is reached
it picks out the first file from the col, plays it and then
discards it.

If there is a second mic, it would be cool if when the person
came around to the other side and spoke in the second mic,
it trigers a random recording from the list of recordings that
are in the col. each recording would loop until the person
stoped talking. When they started talking again, a new
file would play.

Anthony

—– Original Message —–
From: kristi
Date: Tuesday, January 23, 2007 11:32 am
Subject: [maxmsp] help guys and gurus, I’m stuck :)

>
> Hi guys,
>
> I have this project running atm and I can’t figure out how I’m
> going to be able to finish it without any help.
> It’s an artistic installation and all it does basically is, it
> records a voice on one end and plays back what someone has spoken
> in before on another end. Theres a seperation in space and a delay
> between the microphone and the speaker.
>
> So you speak on one end, it gets recorded, and if you speak on the
> other end it plays back what you have said some minutes ago.
>
> All I was able to finish right now is, to record the sound in
> seperate files and save them to my hd. terribly enough I have no
> clue on how to get a timedelay and this "database" like playback
> to work.
> Please guys help me out here :) Theres a presentation coming in
> some weeks and I’m stuck :(
>
> Kristine
>


January 24, 2007 | 12:23 pm

Yay, thanks so much david, I’m going to try that right now!
Hopefully I wont mess up, because I’m relatively new to max/msp.

Kristine


January 24, 2007 | 1:51 pm

On 24 Jan 2007, at 12:23, kristi wrote:

>
> Yay, thanks so much david, I’m going to try that right now!
> Hopefully I wont mess up, because I’m relatively new to max/msp.
>

That’s one of the things that’s cool about max/msp – you can’t mess
up! (Well, at least you can’t break anything. Except maybe your
speakers. :-) )
Just make sure you have the basic concepts down, and use the
resources of manual and help files. That way you’ll learn quicker!
Enjoy!

David


January 25, 2007 | 5:12 pm

kristi wrote:
> So you speak on one end, it gets recorded, and if you speak on the
> other end it plays back what you have said some minutes ago.
>
> All I was able to finish right now is, to record the sound in
> seperate files and save them to my hd. terribly enough I have no clue
> on how to get a timedelay and this "database" like playback to work.

For this setup I would definitely not use a delay, because any
assumption about the time a visitor would need to get from A to B will
be wrong! But if you’d trigger it with either a sound level from a
second mic at the other end or have some sort of light barrier or
footswitch to trigger it, it would be more controllable…
Recording to sound files is fine, but you could also record into
buffer~s… To trigger them should be a snap if you had a look at the
tutorials.
If you want to stick to the delay idea use tapin~/tapout~, there you
could change the time on the fly, jumping back and forth in time…

Stefan


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


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