Hi,
- generate a PCM sine wave tone (like winmm/tests/wave.c);
Actually any repetitive signal may not be good enough for general purpose, sine or square. Perhaps add some change in volume?
For instance, there currently is a bug somewhere that causes Wine to repeat the first second of an intro animation's sound (bug #18182, comment #3) instead of continuing. This would probably not be detected.
Also, the µ-law speech sample I fed to the MCI produces stuttering. Perhaps that would not be heard with a sine wave, if the periods match.
Still it's better to have a test than currently no test at all!
It is also quite simple to generate sine waves without any trig.
Code for sine is already in winmm/tests/wave.c No need to reinvent.
Regards, Jörg Höhle
On Wed, Nov 4, 2009 at 12:48, Joerg-Cyril.Hoehle@t-systems.com wrote:
Hi,
- generate a PCM sine wave tone (like winmm/tests/wave.c);
Actually any repetitive signal may not be good enough for general purpose, sine or square. Perhaps add some change in volume?
For instance, there currently is a bug somewhere that causes Wine to repeat the first second of an intro animation's sound (bug #18182, comment #3) instead of continuing. This would probably not be detected.
Also, the µ-law speech sample I fed to the MCI produces stuttering. Perhaps that would not be heard with a sine wave, if the periods match.
A chirp (frequency sweep) might help for most of these issues? (Another sound with volume sweeps might be needed for other issues?)
Chirps are quite easy to generate. (I'm not familiar with Wine's code yet though...)
http://en.wikipedia.org/wiki/Chirp
Gert