hi, do anybody have tried creating doppler effects with pd? i was wondering if there is any external or abstraction, etc to create a surrounding effect within a stereo field. id like to create a patch using 2 speakers where a sound (an insect) flyes around you. any hint????
bye
pun chik punchik@fastmail.fm
hello
I'm not a specialist of the Doppler question (last month I experimented a lot around the idea of suppressing it in delay lines or when changing audio chunk sizes in realtime), but some time ago I had to make a stereo-version of a 4- track tune for putting it on a normal CD.
The final solution I chose was very simple :
with a weak quality factor) This doesn't apply any Doppler effect but at least you *may* feel like in a 2D space. Before doing this, I tried to use the Doppler effect, so here is my report about this.
The actual Doppler effect can be produced by a variable time delay line (use [vd~] in Pure Data). When the delay time decreases, the pitch raises ; on the contrary, when you increase the delay time, the pitch falls down. This works basically the same way in the everyday life, like when a car comes from the distance, then passes in front of you and finally and disappears in the (opposite) distance. On a computer, you can also add some feedback for exaggerating this (tunnel-like effect ?).
This is a solution I implemented (quite simplist I admit) :
the X-axis ("width")
axis ("depth"). Actually, Z had its range between 0 (the closest) to 1 (the furthest). I added a (Max)[scale]-like function to set the lowest delay time limit (when the source is "close"), the highest time (when the source is "far") and the curve of this scale conversion (linear, exp, etc). THe properties of the "space" in which your sound moves are only determined by these three latter parameters.
It's not very realistic, but -> at least you get a similar Doppler effect -> computers don't have to be stuck into reality like this -> you can consider it as an abstract space that you define yourself
Normally, the Doppler effect is related to the speed of displacement and to the distance from which you hear it. If you find the right equations, you can implement it with [expr] or something similar.
Some other solutions :
I don't know if it helps, but good luck with this
-j
Selon pun chik punchik@fastmail.fm:
hi, do anybody have tried creating doppler effects with pd? i was wondering if there is any external or abstraction, etc to create a surrounding effect within a stereo field. id like to create a patch using 2 speakers where a sound (an insect) flyes around you. any hint????
bye
punchik
pun chik punchik@fastmail.fm
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://iem.at/cgi-bin/mailman/listinfo/pd-list
oh dear, to get anything realistic at all would be extremely involved. There is a system here (University of Southampton) that people have developed over years that uses two loudspeakers placed VERY close to each other and works well for a few people sitting in the sweet spot. Thing is it uses a supercomputer to do realtime convolution of many individual sounds with very long FIR filters...
The method is basically three stage: -use a kemar (dummy head) and the exact loudspeaker setup to measure the transfer functions from loudspeaker to the listeners ears -use a kemar to measure the head-related transfer functions (HRTF's) for a whole bunch of directions of arrival -use these frequency responses to (a) invert the louspeaker->ear response and (b) mimic the HRTF response, so that sounds when they finally arrive at your ear are as though they coming from the desired direction.
The reason the speakers are placed so close together is that it allows you to more easily control the sound an INDIVIDUAL ear hears, ie. it cancels the crosstalk for a larger region of space around the ear. Just some info to demonstrate the HUGENESS of the problem! good luck,
Matt
-=-=-=-=-=-=-=-=-=-=-=- http://www.loopit.org -=-=-=-=-=-=-=-=-=-=-=- ----- Original Message ----- From: "pun chik" punchik@fastmail.fm To: pd-list@iem.at Sent: Wednesday, January 05, 2005 9:27 PM Subject: [PD] 3d sound with 2 speaker
hi, do anybody have tried creating doppler effects with pd? i was wondering if there is any external or abstraction, etc to create a surrounding effect within a stereo field. id like to create a patch using 2 speakers where a sound (an insect) flyes around you. any hint????
bye
punchik
pun chik punchik@fastmail.fm
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://iem.at/cgi-bin/mailman/listinfo/pd-list