[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Python3 version packaged?



Can any of you gentlemen help me out on a small query?
I am writing a music software and I need to calculate MIDI note on and note off from key press duration either from the computer keyboard or a MIDI input? Can I use the pygame.midi.time() counter to do that? (difference between key on and key off time).
or should I simply use another module? What is your recommendation?

Thank You in advance


On Fri, Mar 21, 2014 at 9:28 PM, Michiel Overtoom <motoom@xxxxxxxxx> wrote:

On Mar 21, 2014, at 13:18, Christopher Arndt wrote:

> One could easily write a module for providing a pygame.midi backwards-compatible API to a third-party MIDI module. In fact, I'm doing that for my python-rtmidi [1] module right now.

Thanks for the tip. I was looking around for a cross-platform python midi module which can do output and timestamped input. RtMidi and its python binding looks promising. I'm creating a FretsOnFire/BandHero-like training program, for drums only.

Greetings,


--
Veel spullen zijn tegenwoordig waardeloos, maar toch hecht men er veel waarde aan. Mensen hebben vaak teveel spullen. Hoe komt dat en wat doe je ertegen? - een essay van Paul Graham, op http://www.michielovertoom.com/articles/paul-graham-spullen

"Een prima telefoon met draaischijf weggooien? Die zou ik nog wel eens nodig kunnen hebben!"





--
Diliup Gabadamudalige


http://www.diliupg.com
http://soft.diliupg.com/

**********************************************************************************************
This e-mail is confidential. It may also be legally privileged. If you are not the intended recipient or have received it in error, please delete it and all copies from your system and notify the sender immediately by return e-mail. Any unauthorized reading, reproducing, printing or further dissemination of this e-mail or its contents is strictly prohibited and may be unlawful. Internet communications cannot be guaranteed to be timely, secure, error or virus-free. The sender does not accept liability for any errors or omissions.
**********************************************************************************************