Re: pyao makes the right sound but why?

2010-03-04 Thread '2+
o .. but u can use ur own tits.wav if it is 44100 mono 16bit and picklin n uploading the tofu n having lots of those on the net 2 increase vegetrians is what soy.py wanted to mean On Fri, Mar 5, 2010 at 9:48 AM, '2+ wrote: > omg! u r actually testin my dirty code?! > tnx that's great! > to create

Re: pyao makes the right sound but why?

2010-03-04 Thread '2+
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.n

Re: pyao makes the right sound but why?

2010-03-04 Thread Anssi Saari
"'2+" 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 h

pyao makes the right sound but why?

2010-03-03 Thread '2+
with my soy.py tofu = soy.Bean() x = tofu.pattern(44100 * 3) creates x which is an array('h') and len(x) = 44100 * 6 this x is a stereo groove pattern that lasts 3 sec if samplerate is set to 44100 and since wave.py could save it to a_file.wav i was wondering if dev = ao.AudioDevice('alsa') dev.