Pyzine #6 MIDI article

2005-01-19 Thread spiffy
Would anyone here who has the Python and MIDI article from Pyzine #6
be willing to share it with me?
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: programming is hard

2006-08-05 Thread spiffy
On Fri, 04 Aug 2006 14:36:28 GMT, John Salerno
<[EMAIL PROTECTED]> wrote:

>placid wrote:
>> [EMAIL PROTECTED] wrote:
>>> placid wrote:
 Alas, all good arguments.

 I rest my case.
>>> After you've just been proven wrong?
>>>
>>> I wouldn't want you for my lawyer.
>> 
>> Aha, lucky i wont be a lawyer.
>> 
>
>lawyering is hard too ;)

hmmm... i guess that explains why there are so many lawyers.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Pygame.draw challenge is over!

2006-06-25 Thread spiffy
On Mon, 26 Jun 2006 10:53:50 +1000, [EMAIL PROTECTED] wrote:

>It was quite successful too! Download the submissions from the pyweek.org 
>site:
>
>http://media.pyweek.org/static/pgd-200606.zip
>
>Congratulations to all who participated!
>
>
>Richard

Congrats to Seth Yastrov for 'gravity.py' ... THE ONLY ONE THAT
WORKED!
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: raw audio in windows

2006-08-31 Thread spiffy
On 31 Aug 2006 21:34:13 -0700, "Putty" <[EMAIL PROTECTED]> wrote:

>Hi.  I've written a small python script that was primarily meant for
>use in a unix-compatible environment.  It writes a bunch of raw audio
>to a file and then sends the file to /dev/audio and the system plays
>the audio.  Very simple.
>
>Is there a simple way I could edit the script (which just uses the
>system call to do this) to run under windows?
>
>This is the code that would have to change:
>os.system("cat audioBuf > /dev/audio")


hey, that sounds like some stuff i've been working on...
is there any possibility that you could send me that script so I could
take a look at it and learn?
i'm new to python and programming in general. i'm working on some
algorithmic composition stuff and also trying to write some synths
here's my email...
[EMAIL PROTECTED]
-- 
http://mail.python.org/mailman/listinfo/python-list


float questions

2006-09-15 Thread spiffy
after some calculations i have this number as a result...
-7.1054273576010019e-015

what does the 'e' mean? is this an error?

i want to be able to round this number to 3 places, but round() does
not work
please excuse my ignorance
any help would be appreciated
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: float questions

2006-09-15 Thread spiffy
On Sat, 16 Sep 2006 03:13:16 -0300, Gabriel Genellina
<[EMAIL PROTECTED]> wrote:

>At Saturday 16/9/2006 02:56, spiffy wrote:
>
>>after some calculations i have this number as a result...
>>-7.1054273576010019e-015
>
>This means -7.1054... * 10**(-15) and it's a compact way of writing 
>-0.0071054...
>
>>what does the 'e' mean? is this an error?
>
>It is not an error, just a very small number
>
>>i want to be able to round this number to 3 places, but round() does
>>not work
>
>Does not work, or you get 0.000? That's normal.


yeah, i get 0.0... thank you for your help.
>
>
>
>Gabriel Genellina
>Softlab SRL 
>
>
>   
>   
>   
>__
>Preguntá. Respondé. Descubrí.
>Todo lo que querías saber, y lo que ni imaginabas,
>está en Yahoo! Respuestas (Beta).
>¡Probalo ya! 
>http://www.yahoo.com.ar/respuestas
-- 
http://mail.python.org/mailman/listinfo/python-list