×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

camera tracking of a single sound source

camera tracking of a single sound source

camera tracking of a single sound source

(OP)
im trying to bulid a system which steers a camera based on the speaker location (sound direction of arrival actually) obtained by a microphone array using the Steered Response Power - Phase Transform (SRP-PHAT) algorithm, i have a few problems :

A. i dont know how to choose the right microphone array configuration (linear, circular...etc) i cant see a difference between them since i just need to calculate the generalized cross correlation between their signals.

B. im confused between choosing Arduino or Raspberry Pi to control motors used to steer the camera, which one is more suitable to control two servo motors ???

RE: camera tracking of a single sound source

(OP)
its not for school, its for me.

A.i need more than two in order to estimate the location of a source in 3d space.
B.in terms of processing Raspberry Pi is better but i dont know if its capable of controlling two motors?

RE: camera tracking of a single sound source

"Sound"

Is it a predefined sound at a given frequency? If so, the usual default sensor spacing (in general) is one-quarter lambda.

If not, then the problem is infinitely more complicated. Because it's undefined, covers several orders of magnitude (20-20,000 Hz), allows multiple solutions, etc.

Pulse or impulse waveforms (gun shots) are pretty easy, obviously. Spacing based on your timing resolution.

If it's 3D, you'd need three baselines, minimum of four sensors (mics). Origin, X, Y, and Z.

This is all very standard.

RE: camera tracking of a single sound source

Yes you either need to do some external processing for the Arduino, or add more controllers to the Pi, which sounds a damn sight easier or use both.

You need 4 microphones worst case, 3 if you aren't worried about the back plane. Arrange them as you like and do a bit of maths. Obviously the most elegant algorithmically is as a tetrahedron.

More mics don't really help much unless you are concerned with redundancy.

Is this in a reverberant room? that could be quite fun.

Cheers

Greg Locock


New here? Try reading these, they might help FAQ731-376: Eng-Tips.com Forum Policies http://eng-tips.com/market.cfm?

RE: camera tracking of a single sound source

Raspberry Pi is running Linux so your code doesn't execute deterministically if run in user space

I vote for the Arduino. Of course the Arduino doesn't have the CPU power to calculate your SRP power.
You may need both !!

Capture the Audio with Arduino and pass it on to the RPi for the serious number crunching and it returns
desired motor locations for the camera is how I would do it with what you have specified.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources