pyao makes the right sound but why?

Anssi Saari as at sci.fi
Thu Mar 4 13:43:19 EST 2010


"'2+" <electriclightheads at gmail.com> writes:

> dev = ao.AudioDevice('alsa')
> dev.play(x)
>
> could launch me a semi realtime dj kinda sys
> luckily .. it does seem to be making the right sound
> but why?
> the default of the samplerate and that 16bit happened to match with my thing x?

Yes, that seems to be the case from help(ao). But I couldn't run 
tofu = soy.Bean() since it seems to want tit01.wav. Do you make that
available somewhere?



More information about the Python-list mailing list