pyao makes the right sound but why?

'2+ electriclightheads at gmail.com
Thu Mar 4 19:48:19 EST 2010


omg! u r actually testin my dirty code?!
tnx that's great!
to create an instance
soy.py depends on(needs all of em):

http://sarigama.namaste.jp/oil/tit01.wav
http://sarigama.namaste.jp/oil/tit02.wav
http://sarigama.namaste.jp/oil/tit03.wav
http://sarigama.namaste.jp/oil/tit04.wav
http://sarigama.namaste.jp/oil/tit05.wav
http://sarigama.namaste.jp/oil/tit06.wav
http://sarigama.namaste.jp/oil/tit07.wav

and the easiest way to get the pattern is instance.pattern(howmanyframes)
the object updates itself with .sing()
and can affect each other with .jam_with(other_instance)

this design is to (in the future) create somethang together
with someone who would upload a short.wav on his site (to contrubute
.. or maybe without willin to ;))
have to study urllib(?) for things to come
have to experiment more with picklin aspects too
but this is my attempt to beat the
"listenin to mp3s" culture

btw. where's that help(ao)?

On Fri, Mar 5, 2010 at 3:43 AM, Anssi Saari <as at sci.fi> wrote:
> "'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?
> --
> http://mail.python.org/mailman/listinfo/python-list
>



-- 
SaRiGaMa's Oil Vending Orchestra
is podcasting:
http://sarigama.namaste.jp/podcast/rss.xml



More information about the Python-list mailing list