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)
BumbleBee
Thunderclap
Rain

49 Comments:

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.
Thanks!

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 Albert Hans said...

Information discussed on this article is very enlightening and helpful for my project. Thanks for sharing!


Google Adwords

6:07 PM  
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
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 Rezaa Abd said...

I love the article. Helpful and good for reading, and be great if you visit my blog and let us share the world of blogging
Latest Information About Car Prices And Specification Car With A Review Of The Car, Latest Technology

Blog that provide the latest information about online business and the best current
Tips and How To Go Perfect Health

5:52 AM  
Blogger Juliana Kho said...

[url=http://www.youtube.com/]http://www.youtube.com/[/url]

http://www.youtube.com/

http://www.youtube.com/

3:10 AM  
Blogger Juliana Kho said...

Thank you for your information, please visit:
http://www.wwwsbobet.net/
http://www.ibcbetbola.com/
http://www.judiikanandroid.com/
http://www.ibcbetmaxbet.com/
http://www1.idnpoker-online.com/
http://agendominopoker.com/
http://www1.idnpoker168.com/
http://agenpokerplace88.com/
http://www1.bolamaxbets.com/

8:49 AM  
Blogger Juliana Kho said...

http://pokeridnonline.net/
http://www.daftar-sv388.org/
http://www.ionclub777.net/
http://338asbobetcasino.com/
http://www.tbscasino.net/
http://www.tbsbetbola.com/
http://143.95.154.116/
http://www.daftarbolasbobet.co/

8:50 AM  
Blogger Jenny Wijaya said...

Thank you for your information, please visit:
http://www.regispokeronline.com/

5:03 PM  
Blogger matikiri said...

Matikiri

12:39 AM  
Blogger Juliana Kho said...

Thank you for your information, please visit:
http://143.95.154.135/

12:59 AM  
Blogger Ah Za said...

http://www.livechatbluebet.net/
http://tembakikanonline.com/

11:52 PM  
Blogger Ah Za said...

http://www.jokergaming.asia/
http://www.s-128.org/
http://www.maxbetth.net/
http://www.kaichon-online.com/
http://www.poker-thai.com/

11:52 PM  
Blogger Ah Za said...

http://143.95.225.9/
Judi Gaple 7 Kartu
Gaple Poker
http://143.95.225.10/
Samgong Online
Samgong 99

11:53 PM  
Blogger Ah Za said...

http://143.95.254.79/
Samgong Online
Poker Uang Asli
Daftar Poker Uang Asli
Login Poker Uang Asli
Download Poker Uang Asli
-----
http://www.daftaridnsuper10.asia/
http://www.daftarremi88.net/
http://www.agenremi88.net/
http://www.depositremi88.net/

11:53 PM  
Blogger Ah Za said...

http://www.registeridnlive.com/
http://www.gamejadul.net/
http://www.agentotomacau.org/
http://www.registercasinoidnlive.com/

11:54 PM  
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 >> 199.188.201.30

7:03 AM  
Blogger Vivit Vitriani said...

Matikiri Indonime
Gudang Lagu

5:59 PM  
Blogger Daws said...

download lagu gratis
planetlagu

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.
Poker77
Judi Poker Online
Kiu Kiu Poker
Poker Texas Boyaa
Club poker88
domino338
slot777

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
slot338
slot-joker777
sbobet mobile indonesia
joker388
idnplay
Poker QiuQiu
sbobet338

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
Joker777
sbobet388
Sbobet888
Situs Sbobet
sbobet338
sbobet888

8:13 PM  
Blogger Venna said...

https://prediksihoki.cc/
https://otomotif.world/
https://makanenak.info/
https://sejarah.club/
https://hiburan.club/

1:15 AM  
Blogger Venna said...

IDNPLAY

1:16 AM  
Blogger gunawan99 said...

Terima kasih atas informasi nya...
Kunjungi juga link saya ya !!!!
Cerita Dewasa

LAPAKQQ
LapakQQ, Login LapakQQ, Daftar LapakQQ, Situs LapakQQ

FIFAQQ
Fifaqq, Login Fifaqq, Daftar Fifaqq, Situs Fifaqq

PARISQQ
ParisQQ, Login ParisQQ, Daftar ParisQQ, Situs ParisQQ

TEXASQQ
Texasqq, Login Texasqq, Daftar Texasqq, Situs Texasqq

MASTERQQ
Masterqq, Login Masterqq, Daftar Masterqq, Situs Masterqq

11:30 PM  
Blogger gunawan99 said...

Terima kasih atas informasi nya...
Kunjungi juga link saya ya !!!!
Saling Berbagi, Kunjungi Juga Lapak Saya Ya Gan....
Prediksi Togel Jitu
PREDIKSI SKOR BOLA
BIOSKOP ONLINE
CERITA DEWASA
FILM BOKEP
Deposit Via Pulsa

11:30 PM  
Blogger gunawan99 said...

Situs judi poker dengan deposit via pulsa sangatlah mempermudah bagi semua member untuk bergabung dan bermain dan juga sudah dinyatakan aman dan sangat nyaman Poker Online Terpercaya

11:31 PM  
Blogger gunawan99 said...

LapakQQ
http://162.213.251.67/lapakqq/
LapakQQ, Login LapakQQ, Daftar LapakQQ, Situs LapakQQ, Link Alternatif LapakQQ

FifaQQ
http://162.213.251.67/fifaqq/
FifaQQ, Login FifaQQ, Daftar FifaQQ, Situs FifaQQ, Link Alternatif FifaQQ

MasterQQ
http://162.213.251.67/masterqq/
MasterQQ, Login MasterQQ, Daftar MasterQQ, Situs MasterQQ, Link Alternatif MasterQQ

ParisQQ
http://162.213.251.67/parisqq/
ParisQQ, Login ParisQQ, Daftar ParisQQ, Situs ParisQQ, Link Alternatif ParisQQ

TexasQQ
http://162.213.251.67/texasqq/
TexasQQ, Login TexasQQ, Daftar TexasQQ, Situs TexasQQ, Link Alternatif TexasQQ

parisbola
http://162.213.251.67/parisbola/
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
http://162.213.251.67/fifa777/
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 Rajabandarq said...

Mau Dapatkan Uang Dengan Mudah...
Yuk join bersama Rajabandarq Situs Bandarq, DominoQQ, Poker Online terbaik di asia dengan 9 game yang paling seru...

Buruan Daftar Disini >>> Daftar Rajabandarq
Klik Disini : Situs BandarQ
Klik Disini : Poker Online

Baca juga :

- Blogger : 24berita harian
- Blogger : Kisahselebindo
- Blogger : myrenew22
- Blogger : Panduan Bermain Game Judi Online
- Blogger : Seputar Dunia
- Wordpress: Cerita 69

12:00 PM  
Blogger TiketQiuQiu said...

TiketQQ
SITUS BANDARQ

2:37 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 Yunita wijaya said...

SUPER BIG PROMO DI SITUS SAHABAT KARTU
=============================================
Hai Teman - Teman Smuanya, Yang Hobi Bermain Judi Online
Anda Merasa Capek, DEPOSIT Teruss..Tapi Tidak Pernah Withdraw ?
=============================================
Nikmati Seluruh Game Berkualitas & Raih Kemenangan Anda Di SAHABAT KARTU!!
Game Yang di Hadirkan SAHABAT KARTU Yaitu :
* Poker Online
* BandarQ
* Domino99
* Bandar Sakong
* Sakong
* BANDAR66
* AduQ
* Sakong
* Perang Baccarat
==========================================
SPECIAL PROMO KHUSUS MEMBER SETIA SAHABAT KARTU
- Minimal DP & WD Cuma Rp. 20.000
- BONUS CASHBACK 0.5% ( Setiap Hari Senin )
- REFERRAL 20% ( Seumur Hidup )
- 100% NON ROBOT & 100% TANPA ADMIN BERMAIN
- 100% GAMPANG MENANG
- JACKPOT HARIAN HINGGA JUTA RUPIAH
- MENERIMA DEPOSIT VIA PULSA XL DAN TSEL TANPA POTONGAN
======================================
AKSES KAMI DI LINK RESMI :
- okekartu.org
- okekartu.info
- okekartu.net
=====================
* Livechat : SAHABAT KARTU
* LINE : Cs_sahabatkartu
* Whatsapp : +85581734028

Sahabatkartu: Situs Poker Online, DominoQQ, Domino99, BandarQ Terpercaya

10:31 PM  
Blogger stevanie said...

sdomino99.org Merupakan Salah Satu Situs yang terpercaya Di Indonesia
dominowin99 Memiliki Permainan Yang Mudah Dimainkan & 100% Mudah Menang Lohh..
Cukup Dengan 1 USER ID Anda Bisa Bermain 9 GAME Berkualitas :
* Poker
* Domino99
* AduQ
* Capsa Susun
* Sakong
* Bandar Poker
* BANDARQ ONLINE
* BANDAR66 ONLINE
+++++++++++++++++++++++++++++++
AKSES LINK ALTERNATIF TERBARU :
- sdomino99.com
- sdomino99net
- sdomino99.org
- sdomino99.info

< Contact Us >
Info Lebih Lanjut Hubungi :
W.A : +6285974599065


Sahabatdomino : Situs QQ Online, Agen Domino99 dan BandarQ Online Terbesar Di Asia

10:42 PM  
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 Evelyn Carollin said...

MEJAQQ: AGEN JUDI POKER DOMINOQQ BANDARQ ONLINE TERBESAR DI ASIA
MEJAQQ
BANDARQ ONLINE
SITUS BANDARQ

9:00 PM  
Blogger Rajabandarq said...

Mau Dapatkan Uang Dengan Mudah...
Yuk join bersama Rajabandarq, Situs Bandarq, DominoQQ, Poker Online terbaik di asia dengan 9 game yang paling seru...

Buruan Daftar Disini >>> Daftar Rajabandarq
Klik Disini : Situs BandarQ
Klik Disini : Poker Online

Baca juga :

- Blogger : 24berita harian
- Blogger : Kisahselebindo
- Blogger : myrenew22
- Blogger : Panduan Bermain Game Judi Online
- Blogger : Seputar Dunia
- Wordpress: Cerita 69

9:24 AM  
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.
naga77
daftar sbobet99
piala eropa
sbobet99
idn poker indonesia

11:23 PM  
Blogger Cindy Wilia said...

Artikel yang sangat bagus dan hebat, saya tidak akan bosan membacanya jika tulisan anda bisa kalian pertahankan seperti ini. Namun kalian jangan lupa untuk membaca artikel kami lainnya di situs:
idnandroid.com
pokeronline-android.com

3:09 AM  
Blogger PKV MEJAHOKI said...

Kunjungi :
MEJAQQ: AGEN JUDI POKER DOMINOQQ BANDARQ ONLINE TERBESAR DI ASIA
MEJAQQ
BANDARQ ONLINE
SITUS BANDARQ
DAFTAR MEJAQQ

8:19 AM  

Post a Comment

<< Home