Solved

Virtual Sterioscope Recording

Posted on 2010-09-20
10
357 Views
Last Modified: 2012-05-10
I need to develop a virtual platform where i sound objects play different sounds and is listten by a single listner object. The trick is the listning object should be able to determine the location of the sound object that plays the sound, just like we identify the location where a sound is coming from when we hear. I need to be able to have multiple objects playing multiple sounds and listen to it through a set of head phones.
0
Comment
Question by:wdfdo1986
10 Comments
 
LVL 22

Expert Comment

by:fredshovel
ID: 33722485
Are you inventing this or do you know of it in practice?
0
 
LVL 7

Author Comment

by:wdfdo1986
ID: 33742446
I want to do this for a client. I know this was not a thing that has been done earlier. So I want try it rather than saying it's impossible. I know its possible but difficult. So I want some help from u guys.
0
 
LVL 22

Accepted Solution

by:
fredshovel earned 250 total points
ID: 33749233
Listening to the end result through headphones would only give you an either left /right or the Psychoacoustic centering of the audio. The way the human ear determin sound direction is much more complex that just left right centre.  Take a look at Psychoacoustics:
http://en.wikipedia.org/wiki/Psychoacoustics
0
Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

 
LVL 7

Author Comment

by:wdfdo1986
ID: 33751504
Using a head-related transfer functions (HRTFs) I managed to generate two audios relevant to two ears. I want mix them and generate one audio file. What I want to do is put one audio file to channel of one ear and other one to channel of other ear. Although I found an algorithm to mix it, it doesn't mix in the way I want. So can anyone help me in that matter.
0
 
LVL 22

Assisted Solution

by:fredshovel
fredshovel earned 250 total points
ID: 33759338
I would put each track on a multitrack recorder.  I use Cool Edit but you can even use the free Audacity
Adjust the mix of each track until it sounds exactly the way you want it to and then save it to a stereo file.
0
 
LVL 7

Author Comment

by:wdfdo1986
ID: 33760040
I don't understood all of your answer. But as I understood u r talking about a way of doing it physically. Don't u know how to it programatically.
And also I felt when I am reading it that I haven't made myself clear. I want to create a wave file that make the listener hear from the headphone, two wave files I created from two ears separately. In other words one from left ear only and other from other ear only.
0
 
LVL 17

Assisted Solution

by:Jesse Houwing
Jesse Houwing earned 125 total points
ID: 33767964
I'd look into DirectX, this technology is used in almost every 3D game.
http://msdn.microsoft.com/en-us/library/ee416965(v=VS.85).aspx

There is a managed wrapper for DirectX which allows you to access these API's directly in.NET.
0
 
LVL 7

Author Comment

by:wdfdo1986
ID: 33787342
I tried with that library. But I couldn't find a good way of doing that. However i want a virtual platform.
And as I said earlier I found hrtfs and I created two wave files that related to two ears. But I couldn't mix them and create one wave file. I want to do it in the way I said earlier.
Thanks.
Reguards.
Danushka Fernando
0
 
LVL 4

Assisted Solution

by:GrandSlamFX
GrandSlamFX earned 125 total points
ID: 34775707
Hi wdfdo 1986.

I am not a programmer, but work with audio/video production.

After reading this:

" I found hrtfs and I created two wave files that related to two ears. But I couldn't mix them and create one wave file"

I think what you are trying to create in your program is what is called "binaural audio recording" or "3d audio recording". I found a couple of wikipedia articles and some sound samples.  A simple binaural recording can be stored in a standard stereo wave file with left and right track. Each track will represent one ear and normally the technicians use a "dummy head" with small microphones inside the dummy's head to achieve the effect. To hear it correctly the listener will have to use head phones.

The links:

http://en.wikipedia.org/wiki/Binaural_recording

http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1220198157

http://www.binaural.com/serendipity/index.php


this is about 3d audio and includes some other tricks.. :

http://en.wikipedia.org/wiki/3D_audio_effect


0

Featured Post

Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
VS 2017 18 101
.NET Enums [Flags] & Bitwise Design Question 6 39
Adding where clause to entity statement c# 1 47
Inserting LocalDB Table to SQL Server C# 3 13
In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

735 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question