b Riding East: Binaural Sound in Chuck

Tuesday, June 10, 2008

Binaural Sound in Chuck

After spending considerable cycles last quarter developing a multi-channel class framework in the Chuck programming language, I began to wonder, in the end, how many people would actually be able to hear 16-channel pieces in a space like the ccrma listening room. I then decided it would be interesting to think about 3D audio spatialization over Chuck and a pair of headphones. So, in addition to convincing some friends to port Chuck to the iPhone (stay tuned), I spent some time reading papers on binaural sound models, including the paper published by Phillip Brown and Richard O. Duda in '98 titled "A Structural Model for Binaural Sound Synthesis".

I've come up with two implementations of binaural sound in Chuck now. The first is my own model built on approximations from my research. The second is a work in progress based on the Brown and Duda paper. As you scan the source, you'll notice how trivial it is to create binaural sound by creating a Chuck class that inherits from the BinAural class I've created. The demonstration code goes on to create sound buffers that load up wave files and buzz a bumble bee by your ears while a thunderclap cracks 130 meters above your head. Eventually it starts to rain. All referenced sound files for the demo are also available.

I will come back to this code shortly and finish implementing models for the pinna. Currently, I have ITD, ILD, and HRTF functions.

Version 1.0
Version 1.1

Data files (must be in a data subdirectory underneath Chuck)


Blogger Unknown said...

Very nice work, Jeffrey!! Keep going with this please. It's very interesting.

BTW, you forgot to post the animal_4f.wav file...

Thanks for your efforts :)

11:31 AM  
Blogger RP said...

Jeff! Wow. I don't know if you remember me I joined Tumbleweed when we were small, and left for medical school. Now I am doing primary care/injury at Kaiser, living in SF. Sounds like you are going back to find your roots. Good work.

6:36 PM  
Blogger enigma said...

Hi! Can I have your email adress? I need some information of your implementation of the "Brown and Duda" article.

6:36 AM  
Blogger Andrea Muñoz H said...

Yesterday I went to the Daniel Pearl Memorial Concert, and loved your music. I would really love to hear it again, so I was wondering if there's any place where I can find out when you will be playing again. I am sorry for posting this here, but I couldn't find your email address.
Thank you very much and congratulations!

10:37 PM  
Blogger Chickadeeva said...

Fascinating. Keep it up.

9:15 AM  
Blogger Restu Guru said...

wow so awesome and very important, thanks for sharing sir.

resep kue nastar

resep opor ayam

resep nugget ayam

resep mie ayam

2:01 PM  
Blogger Unknown said...

This comment has been removed by the author.

4:17 AM  
Blogger Emilia said...

Hello, this is very interesting and very creative.
I hope there is a good response from you, Thank you

vimax asli
vimax asli
vimax asli
vimax canada
vimax indonesia
harga vimax asli

12:37 PM  
Blogger Unknown said...

I've come up with two implementations of binaural sound in Chuck now. The first is my own model built on approximations from my research.

model kebaya modern

Cara memakai jilbab segi empat
Cara memakai jilbab segi empat

Model rambut pendek

Model Rambut Pendek

Cara terbaru memakai jilbab segi empat

Hijab Segi empat

Cara memakai jilbab segi empat

6:38 AM  
Blogger Unknown said...

nice post brother Download lagu mp3

1:49 AM  
Blogger Unknown said...

nice post brother Download lagu mp3

1:49 AM  
Blogger Manny said...

Waoh such an amazing blog post... Visit my wap Fakaza, Free Mp3 Download

4:39 AM  
Blogger Neymar said...

Wow good visit download lagu

3:59 PM  
Blogger admin said...

nice work my friend :)
please visit my blog too :)

click >>

7:03 AM  
Blogger Vivit Vitriani said...

Matikiri Indonime
Gudang Lagu

5:59 PM  
Blogger Daws said...

download lagu gratis

1:46 AM  
Blogger koteka said...

Thanks for posting this info. I just want to let you know that I just check out your site and I find it very interesting and informative. I can't wait to read lots of your posts.
Judi Poker Online
Kiu Kiu Poker
Poker Texas Boyaa
Club poker88

7:46 PM  
Blogger sinx said...

Pretty good post. I have just stumbled upon your blog and enjoyed reading your blog posts very much. I am looking for new posts to get more precious info. Big thanks for the useful info
sbobet mobile indonesia
Poker QiuQiu

8:24 PM  
Blogger tiger said...

I really appreciate this wonderful post that you have provided for us. I assure this would be beneficial for most of the people. thank you for sharing information. thank you admin
Situs Sbobet

8:13 PM  
Blogger gunawan99 said...

LapakQQ, Login LapakQQ, Daftar LapakQQ, Situs LapakQQ, Link Alternatif LapakQQ

FifaQQ, Login FifaQQ, Daftar FifaQQ, Situs FifaQQ, Link Alternatif FifaQQ

MasterQQ, Login MasterQQ, Daftar MasterQQ, Situs MasterQQ, Link Alternatif MasterQQ

ParisQQ, Login ParisQQ, Daftar ParisQQ, Situs ParisQQ, Link Alternatif ParisQQ

TexasQQ, Login TexasQQ, Daftar TexasQQ, Situs TexasQQ, Link Alternatif TexasQQ

parisbola, login parisbola, daftar parisbola, situs parisbola, link alternatif parisbola, Agen Judi Bola Resmi, Situs Bola Online, Situs Taruhan Bola Online, Agen Judi Bola

fifa777, login fifa777, daftar fifa777, situs fifa777, link alternatif fifa777, Agen Judi Bola Resmi, Situs Bola Online, Situs Taruhan Bola Online, Agen Judi Bola

10:04 PM  
Blogger IDN Poker Indonesia said...

The presentation of the article is very good, every word written has a meaning and is very useful for the readers. I hope that you can write useful articles for readers like this, we also have several articles that are also interesting to read.
Situs Judi Bola Online Terpercaya
Situs Judi Bola Resmi Dan Terpercaya

12:35 AM  
Blogger Viola Valery said...

Bonus yang diberikan Pokervit :
* Bonus rollingan 0.5%,setiap Jum'at di bagikannya
* Bonus Refferal 10%,seumur hidup
* Bonus Deposit Member Baru 20%
* Bonus Jackpot, yang dapat anda dapatkan dengan mudah
* Minimal Depo 10.000
* Minimal WD 50.000

Login Poker IDNPlay
Login Poker IDNPlay Terbaru

6:28 PM  
Blogger Seira said...

IDNpoker menggunakan teknologi terbaru dalam menyediakan pengalaman game online yang luar biasa. Dengan jumlah pemain yang melebihi 600.000 setiap bulan serta 100 juta pengguna aktif yang tersebar di berbagai mitra IDNplay, kami merupakan server situs poker online terbesar di Asia. Selain poker, terdapat juga permainan lain yang mendukung semua mata uang asing untuk kenyamanan anda dalam bertransaksi. Terdapat 7 jenis permainan kartu online yang dapat anda nikmati seperti poker, ceme-keliling, domino, ceme, capsa, super-10 dan omaha.
daftar sbobet99
piala eropa
idn poker indonesia

11:23 PM  

Post a Comment

<< Home