Re: [pygame] Python3 version packaged?

2014-03-21 Thread Christopher Arndt
On 21.03.2014 02:06, Jason Marshall wrote: PS. I think the most recent version of pyportmidi, 0.0.7, is here: That's exactly the problem. It's not clear, what the most recent version or even the definite distribution of pyportmidi is. There are, to my knowledge at least three versions, maybe

Re: [pygame] Python3 version packaged?

2014-03-21 Thread Jake b
I tried to find what version SDL2 uses, but I didn't see any mention off portmidi.

Re: [pygame] Python3 version packaged?

2014-03-21 Thread Christopher Arndt
Am 21.03.2014 12:45, schrieb Jake b: I tried to find what version SDL2 uses, but I didn't see any mention off portmidi. SDL has, to my knowledge, never included any MIDI interfacing. MIDI support was a PyGame addition. PyGame should, IMHO, ditch the included pyportmidi module altogether and

[pygame] Error compiling Pygame Mercurial ISO C90 forbids mixed declarations and code

2014-03-21 Thread Fabio Venturi
Hello, I'm trying to compile pygame from hg repository with python3.4 (also this recompiled on Centos 6.5) and I got the error: ISO C90 forbids mixed declarations and code following the environment and the steps i followed: [fabio@linbox ~]$ gcc --version gcc (GCC) 4.4.7 20120313 (Red Hat

Re: [pygame] Python3 version packaged?

2014-03-21 Thread diliup gabadamudalige
10 days ago i wrote to John Harrision the author of pyportMIDI and he said that he has discontinued the development and to use the MIDI in pygame. below is his relevant text I haven't worked on pyPortMidi in years, unfortunately, so I've lost track of it. I think the developers of pyGame forked it

Re: [pygame] Python3 version packaged?

2014-03-21 Thread Christopher Arndt
Am 21.03.2014 14:32, schrieb diliup gabadamudalige: 10 days ago i wrote to John Harrision the author of pyportMIDI and he said that he has discontinued the development and to use the MIDI in pygame. below is his relevant text I haven't worked on pyPortMidi in years, unfortunately, so I've lost

Re: [pygame] Python3 version packaged?

2014-03-21 Thread Michiel Overtoom
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

Re: [pygame] Python3 version packaged?

2014-03-21 Thread Christopher Arndt
On 21.03.2014 16:58, Michiel Overtoom wrote: 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.

Re: [pygame] Python3 version packaged?

2014-03-21 Thread diliup gabadamudalige
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

pygame.MIDI input (Was: [pygame] Python3 version packaged?)

2014-03-21 Thread Christopher Arndt
On 21.03.2014 17:44, diliup gabadamudalige wrote: I am writing a music software and I need to calculate MIDI note on and note off from [...] MIDI input? Can I use the pygame.midi.time() counter to do that? You could, but I would just use the pygame.event queue to handle all events in the same

Re: pygame.MIDI input (Was: [pygame] Python3 version packaged?)

2014-03-21 Thread diliup gabadamudalige
Thank You very much! Much appreciated. May you be well. On Fri, Mar 21, 2014 at 10:38 PM, Christopher Arndt ch...@chrisarndt.dewrote: On 21.03.2014 17:44, diliup gabadamudalige wrote: I am writing a music software and I need to calculate MIDI note on and note off from [...] MIDI input? Can

Re: [pygame] Python3 version packaged?

2014-03-21 Thread Christopher Arndt
Am 21.03.2014 13:18, schrieb Christopher Arndt: 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. There you go: