Re: Python music sequencer timing problems

2008-12-16 Thread John O'Hagan
On Mon, 15 Dec 2008, John O'Hagan wrote: > On Sun, 14 Dec 2008, Bad Mutha Hubbard wrote: > > John O'Hagan wrote: > > > On Wed, 10 Dec 2008, badmuthahubbard wrote: > > [...] > > > > from time import time, sleep > > > > > > start = time() > > > for event in music: > > > duration=len(event) #Reall

Re: Python music sequencer timing problems

2008-12-14 Thread John O'Hagan
On Sun, 14 Dec 2008, Bad Mutha Hubbard wrote: > John O'Hagan wrote: > > On Wed, 10 Dec 2008, badmuthahubbard wrote: [...] > > from time import time, sleep > > > > start = time() > > for event in music: > > duration=len(event) #Really, the length of the event > > play(event) > > while 1:

Re: Python music sequencer timing problems

2008-12-14 Thread Bad Mutha Hubbard
John O'Hagan wrote: > On Wed, 10 Dec 2008, badmuthahubbard wrote: >> I've been trying to get the timing right for a music sequencer using >> Tkinter. First I just loaded the Csound API module and ran a Csound >> engine in its own performance thread. The score timing was good, >> being controlled

Re: Python music sequencer timing problems

2008-12-10 Thread John O'Hagan
On Wed, 10 Dec 2008, badmuthahubbard wrote: > I've been trying to get the timing right for a music sequencer using > Tkinter. First I just loaded the Csound API module and ran a Csound > engine in its own performance thread. The score timing was good, > being controlled internally by Csound, but

Python music sequencer timing problems

2008-12-10 Thread badmuthahubbard
I've been trying to get the timing right for a music sequencer using Tkinter. First I just loaded the Csound API module and ran a Csound engine in its own performance thread. The score timing was good, being controlled internally by Csound, but any time I moved the mouse I got audio dropouts. It