Re: [Plib-devel] OT: engine sound synthesis
Brought to you by:
sjbaker
From: Christos D. <dim...@id...> - 2005-08-13 13:34:11
|
>> So, the best thing to do is to record the engine from very close, then >> somehow derive the filter description of the whole car, perhaps with >> the exhaust as a separate model. Then resample the engine sample to >> the appropriate frequency and pass it through the model. The result is >> an engine sound. > > Thank you for the information, > Is this what you used in TORCS? > I could not find the TORCS mailing list thread that Steve referred to. > Was the sound-synth discussion on torcs-devel sf list? What year? > I cannot remember the mailing list discussion. In torcs we just use resampling plus a simple low-pass filter in one implementation. Anything more complicated will take too much CPU time. Of course some cards might be able to deal with that in hardware, but I am not aware of any libraries that currently support arbitrary filters in hardware at the moment. (Maybe the OpenAL one will, soon). > I tried out the TORCS debian packages yesterday. > Although the engine sound is better than what I came up with, it is far > from perfect. If I use the CVS TORCS with the OpenAL hack, will it sound > better? > The best engine sound is the torcs cvs with plib. The openal version does not have the low-pass filter. -- Christos Dimitrakakis IDIAP (http://www.idiap.ch/~dimitrak/main.html) |