Re: [pygame] Python3 version packaged?

2014-03-28 Thread j...@yahoo.com
Thanks, Chris, for submitting an update for pygame.midi! > SDL has, to my knowledge, never included any MIDI interfacing. MIDI  > support was a PyGame addition. Actually, within SDL_mixer, there is an obsolete version of TiMidity. Configuring its external dependencies is a pain though. Example

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: https://bitbucket.org/pygame/pygame/pull-request/2

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 wrote: > 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 pyga

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 sa

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 o

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 onl

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 cross-p

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 t

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 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

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
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 mo

Re: [pygame] Python3 version packaged?

2014-03-20 Thread diliup gabadamudalige
r Night > To: pygame-users@seul.org > Sent: Tuesday, December 31, 2013 4:58 PM > Subject: Re: [pygame] Python3 version packaged? > > That's all well and good for development, but if I want to distribute my > game to other Ubuntu users I'm not going to tell players they h

Re: [pygame] Python3 version packaged?

2014-03-20 Thread Jason Marshall
ygame-users@seul.org Sent: Tuesday, December 31, 2013 4:58 PM Subject: Re: [pygame] Python3 version packaged? That's all well and good for development, but if I want to distribute my game to other Ubuntu users I'm not going to tell players they have to comment out part of the setup fil

Re: [pygame] Python3 version packaged?

2013-12-31 Thread Christopher Night
That's all well and good for development, but if I want to distribute my game to other Ubuntu users I'm not going to tell players they have to comment out part of the setup file for one of my dependencies and install it from source. I'm not complaining or anything. Set whatever priorities you thin

Re: [pygame] Python3 version packaged?

2013-12-31 Thread Lenard Lindstrom
Hi, On Gnu/Linux it is simpler to just build Pygame from source. The dependencies are libsdl-mixer, libsdl-image, libsdl-ttf, and libportmidi0. Installing these libraries, and their header file dev packages should force the installation of all Pygame dependencies, such as SDL and freetype2. A

[pygame] Python3 version packaged?

2013-12-31 Thread Sam Bull
Can we get a working Python3 version of Pygame packaged either in the Ubuntu repositories or in pip3? This would be really helpful in allowing us to transition to Python3 for our projects. signature.asc Description: This is a digitally signed message part