"Emmanuel Delahaye" <em***@YOURBRAn oos.fr> wrote
Just curious, but what language would meet you exacting criterion for
playing sounds?
It's not a language question but a hardware and system issue.
No, you need a language with good support for multithreading, which C hasn't
got - threads are a common extension but raise problems, such as trampling
over global variables and not having any easy way of scheduling.
You do of course need a sound board attached to the computer to physically
produce the sounds. Not too long ago, computers like games consoles would
produce sounds of a quality the CPU wasn't really capable of managing, by
using DMA engines and the like to feed samples to the card. So you get CD
quality audio, but as soon as you try to stray away from playing little
snatches mixed together in the specified way, you quickly find that the
system cannot cope. Nowaday that is less of an issue - a decent PC can
decompress an MPEG file, manipulate the audio data, and send to the the card
in real time.
Trying to do it in C is however a real nuisance - I don't know what language
you would use for prefenence.