Re: Generating Tones With Python

2009-05-17 Thread Matus
try http://www.pygame.org, as far as I remember there is a way to generate sound arrays though not sure aboout the pan m Adam Gaskins wrote: > I am pretty sure this shouldn't be as hard as I'm making it to be, but > how does one go about generating tones of specific frequency, volume, and > L/R

Re: pushback iterator

2009-05-17 Thread Matus
Luis Alberto Zarrabeitia Gomez wrote: > Quoting Mike Kazantsev : > >> And if you're "pushing back" the data for later use you might just as >> well push it to dict with the right indexing, so the next "pop" won't >> have to roam thru all the values again but instantly get the right one >> from t

pushback iterator

2009-05-17 Thread Matus
olution so one do not have to reinvent the wheel every time pushback is needed? thx, Matus -- http://mail.python.org/mailman/listinfo/python-list

Scales question

2008-01-04 Thread Eduardo Matus
Hi all... I want to represent a point in 800 X 600 board in a 640 X 480 board..., for example (13, 50) in 640X480 to 800X600 so.. will be like this... Xscale = (13 * 800)/640 Xscale = 16.25 Yscale = (50 * 600)/480 Yscale = 62.5 what happend with the decimals??? I round up or down??? or there is

Gobject

2007-09-21 Thread Eduardo Matus
hi all... I'm trying to get a event when a pipe of a process is no longer receiving data, in this case a EOF... the process start with no problems... but... the gobject_io_add_watch does not trigger the test method when the file in mplayer has finish... any ideas?? Thks :) the codes is this (the r