In message <425134868.20010731173523@...>
Vitaly Vidmirov <front@...> wrote:
> Hi Dennis!
>
> DR> Yes, that would indeed be better, i of course meant the highest played
> DR> rate... I guess, 22khz should be ok, but it seems that many commercial
> DR> games play there music at a much lower rate... (Which is something I
>
> Although i don't have a hardware, i think the ideal frequencies
> should be 16384-24576-32768-49152-65536 khz ;)
> This like "good" PC soundcards. They all use PWM DACs
> with fixed frequency (48khz). But we have more choice ;)
I'm not sure, whether 24576 and 49152 are really ideal, i think that
21845 (=65536/3) is, though.
I thought that it is best to have pwm_rate/sample_rate=integer.
> DR> hope will change in the future, as it is possible to play 8 channels
> DR> at 22khz using less than 20% processor time, which should be good enough
> DR> for nearly every game...)
>
> it could be faster
> say, 10-12 channels @ 22khz
Might be, i have so far only written a .mod player which plays 4 channels
(22khz) using 7% processor time, but it didn't feature free stereo
positions which i'd like to implement in my next player. The "8 chns in
<20%" is just an estimation, it might be slightly faster, but i don't
think you'll get 12 chns with free stereo (you didn't say anything about
stereo, of course...)
--
exoticorn/icebird