Sunday, 11 December 2011

birdsim - bird calls simulator for 3D audio systems

Living in a city has it pros and cons, however the main disadvantages for many people is the lack of access to the nature. Especially in winter, the view of naked trees and dirty snow may be really depressing. This situation led me to the idea of an application which could simulate bird calls (songs) using my 5.1 audio system for a 3D ambient sound-scape experience.
The goal was to create something different than bird calls recordings on CD. First of all, it is hard to find "nature sounds" CDs  with DTS surround sound. In my idea the listener should be in the center of a "virtual scene". Next I have a thought of simulating real-time behaviours, like different bird species singing at specified hours (some birds time-perception accuracy can be measured in minutes!). Finally, in real world the sound scene is very dynamic, some birds are moving, other are flying away or closer to the listener. I wanted to include all those dynamics existing in real environment.

The result of my work is the birdsim application. It is written in Python using OpenAL and pyOpenAL wrapper for 3D sound. Unfortunately the pyOpenAL for python seems no longer to be supported, but it is still downloadable as a deb package. Also I were unable to port birdsim to windows, also because of the OpenAL lib. It could be great if someone could share pyOpenAL working on windows.
Birdsim is based on XML scene and bird descriptors. Each bird have some sound samples and XML description included. It was hard to find really good quality bird calls sound samples (by good quality I mean also that the samples include ONLY sounds of one bird, which is not so common as one could imagine). I encourage you to add new birds to the database and create different scenes. Currenty there is one scene called night.xml which include some night birds and crickets. The second scene called 24hours.xml include all birds which will appear in real time of day (most of them start early in the morning).



Here is the link to sourceforge page with the whole project:
http://sourceforge.net/projects/birdsim/

Have fun !

No comments: