Re: [pygame] pygame midi module

2013-07-23 Thread René Dudfield
Hi,

thanks for the report.  If you feel like it, please file an issue at
https://bitbucket.org/pygame/pygame

It's in python and cython, so maybe you can even fix this issue yourself :)

A few people have used it for projects(including me), and it's based on
PortMidi which has also been used by numerous projects.  So if you avoid
the rough corners it's sort of usable :)

cheers,


On Mon, Jul 22, 2013 at 8:39 PM, Silver rockac...@gmail.com wrote:

 I was trying out the pygame.midi module in the python interpreter. It
 seems nice although it is a WIP (?). Just thought I'd let you know
 trying to create multiple output objects for the same output can cause a
 segfault.

 Specifically, when you re-init the module (pygame.midi.quit();
 pygame.midi.init()) it doesnt remember that the output is already occupied.

 Is there anywhere I should report this?



Re: [pygame] Installation on Beaglebone Black w Angstrom Linux

2013-07-23 Thread arthur . sugden
Christian,

I think that's a genius solution. Thank you! My hesitation in installing 
Ubuntu has been pin muxing, but it's worth the difficulty.

Thanks again,
Arthur

On Monday, July 22, 2013 5:03:28 PM UTC-4, Chris Cherry wrote:

  Arthur,
 I had success with Pygame on the Beaglebone Rev. 5 using the Joystick 
 module, however I used Ubuntu as Angstrom was ill suited to... Well 
 anything I wanted to use it for. Have you considered changing OS?

 Cheers,
 Christian

 Sent from my Windows Phone
  --
 From: arthur...@gmail.com javascript:
 Sent: 22/07/2013 21:06
 To: pygame-mirror...@googlegroups.com javascript:
 Subject: [pygame] Installation on Beaglebone Black w Angstrom Linux

 I've been trying to install Pygame on the Beaglebone Black running 
 Angstrom Linux with a Cortex-A8 processor. Although the online opkg 
 repository lists python-pygame as available for arm7a architecture, 
 searching via the beaglebone does not find python-pygame. After installing 
 all of the dependencies listed on the online opkg repository, except for 
 libsmpeg, I tried to install from source. However, the installation can't 
 find libsdl-mixer, which I have already installed (v libsdl-mixer-1.2-0 - 
 1.2.11-r0.1) into /usr/lib.

 Installation output:
 root@beaglebone:~/Desktop/pygame-1.9.1release# LOCALBASE=/usr/lib python 
 setup.py install


 WARNING, No Setup File Exists, Running config.py
 Using UNIX configuration...


 Hunting dependencies...
 sh: smpeg-config: command not found
 WARNING: smpeg-config failed!
 SDL : found 1.2.15
 FONT: not found
 IMAGE   : not found
 MIXER   : not found
 SMPEG   : not found
 PNG : found
 JPEG: found
 SCRAP   : found
 PORTMIDI: not found
 PORTTIME: not found

 I tried to set LOCALBASE, as suggested in the documentation, but this did 
 not affect the installation output. I only hope to use the sound mixer 
 portions of pygame. Can someone help me install it on the Beaglebone Black?

 Many thanks,
 Arthur


 In case it's useful, here's the rchitecture from beaglebone opkg:
 root@beaglebone:~/Desktop/SDL_mixer-1.2.12# opkg print-architecture
 arch all 1
 arch any 6
 arch noarch 11
 arch arm 16
 arch armv4 21
 arch armv5 26
 arch armv5-vfp 31
 arch armv5e 36
 arch armv5e-vfp 41
 arch armv6-vfp 46
 arch armv7a 51
 arch armv7a-vfp 56
 arch armv7a-vfp-neon 61
 arch beaglebone 66

 Pygame opkg link: 
 http://www.angstrom-distribution.org/repo/?pkgname=python-pygame