Re: [pygame] Pygame midiout not working...

2011-12-09 Thread Zack Baker
Hey everyone i am having some problems importing sprites into lion, i know this 
is the wrong thread but could you direct me on how to start a new one
On Dec 9, 2011, at 2:06 PM, Anthony Palomba wrote:

 Hey René, 
 
 
 Thanks for the update. I appreciate all your effort.
 Looking forward to doing some MIDI output on the 
 Mac with pygame.
 
 
 
 -ap
 
 
 
 On Fri, Dec 9, 2011 at 12:47 PM, René Dudfield ren...@gmail.com wrote:
 Hi ya,
 
 I got stuck trying to get the ppc compilers working on Lion... but I'll try 
 again.
 
 cu.
 
 
 
 On Thu, Dec 8, 2011 at 5:51 PM, Anthony Palomba apalo...@austin.rr.com 
 wrote:
 Hey folks,
 
 I was wondering if the Mac midi output issue has been resolved.
 
 Any word on a new build?
 
 
 
 Thanks,
 Anthony
 
 
 
 On Mon, Nov 28, 2011 at 3:16 PM, Anthony Palomba apalo...@austin.rr.com 
 wrote:
 Hey folks,
 
 I was wondering if the Mac midi output issue has been resolved.
 
 Any word on a new build?
 
 
 
 Thanks,
 Anthony
 
 
 
 
 
 On Fri, Oct 28, 2011 at 5:13 AM, René Dudfield ren...@gmail.com wrote:
 Hi,
 
 hrmm.  It seems the xcode 4.2 installer moved some stuff into 
 /Developer-old folder and the ppc compilers are still in there.  So maybe 
 that will work.  I'll give it a go later.
 
 Also, this is the guide I plan to use for ppc support on Lion.
 
 http://stackoverflow.com/questions/5333490/how-can-we-restore-ppc-ppc64-as-well-as-full-10-4-10-5-sdk-support-to-xcode-4
 
 cu.
 
 
 
 On Fri, Oct 28, 2011 at 11:56 AM, René Dudfield ren...@gmail.com wrote:
 Hey,
 
 I'll try and make a 32-bit intel+PPC static portmidi library, compatible 
 with 10.4 and later this weekend.
 
 It's a bit hard for me, since I'm on OSX Lion and xcode 4.2 now.  Apple 
 removed PPC support in their compiler here.  Which means PPC support is 
 impossible without installing xcode 3 too.  So I need to install xcode 3 
 first to a separate directory, then install xcode 4.2 again, then do some 
 symlinking in order to get them both working.
 
 Note, to see the architectures in a dylib
 lipo -info /usr/local/lib/libportmidi.dylib
 
 To remove the x64 architecture, and create a new version in /tmp/:
 lipo /usr/local/lib/libportmidi.dylib -remove x86_64 -output 
 /tmp/libportmidi.dylib
 
 Then to see what it is linked against...
 otool -L /usr/local/lib/libportmidi.dylib
 
 
 
 cheers,
 
 
 
 On Tue, Oct 25, 2011 at 12:37 AM, Russell Owen ro...@uw.edu wrote:
 
 
 So far I've had no luck building portmidi--either the current release or the 
 trunk you provided. I get tons of errors that suggest fundamental .h files 
 aren't being found. (And yes, I do have CMake installed and running). I 
 suspect this is because the xcode project file was saved with too recent a 
 version of xcode (as it reports when I open it in XCode).
 
 Also, it has no PPC target (based on opening the project on my main 10.6.8 
 machine). That will cause trouble with python.org's 32-bit python. I don't 
 use xcode so I'm not sure how easy it would be to add a PPC target. Another 
 option is to try an older version of portmidi, though I doubt users who rely 
 on portmidi would want to go too far back.
 
 If somebody wants to provide me a 32-bit intel+PPC static portmidi library, 
 compatible with 10.4 and later, I'll use it. Or you can try more complete 
 instructions (including minimum version of XCode and MacOS X on which to 
 attempt the build) and I'll see if I can find time to go that route.
 
 -- Russell
 
 On Oct 24, 2011, at 2:31 PM, René Dudfield (by way of Russell E. Owen 
 ro...@uw.edu) wrote:
 
  Hi,
 
  here are the port midi compilation instructions:
 c. OS X:  - change to PortMidi subdirectory pm_mac
   - compile. Type: xcodebuild -project pm_mac.pbproj
   - copy newly created libportmidi.a to a lib path
 
  cheers,
 
 
 
  On Tue, Oct 18, 2011 at 11:58 PM, Russell E. Owen
  rowen-lfcs8c3m...@public.gmane.org wrote:
 
  In article
  CAFZXy=esdhtjoe7ygus9r31kvs6tds6p0ucnjjg3qjr3gvuo6g-jsoawuisxosn+bqq9rb...@public.gmane.org,
  Anthony Palomba apalomba-bs+dck7cjk954taoqty...@public.gmane.org
  wrote:
 
  I installed it from the installer I downloaded from the gygame website.
  *pygame-1.9.1release-python.org-32bit-py2.7-macosx10.3.dmg
  http://pygame.org/f
  tp/pygame-1.9.1release-python.org-32bit-py2.7-macosx10.3.dmg
 
  I built that binary installer. Unfortunately it does not include midi
  support because I've not figured out how to build portmidi on MacOS X
  10.4 (the platform I use to build 32-bit python binary installers). I've
  not tried on more recent MacOS X.
 
  -- Russell
 
 
 
 
 
 
 
 
 
 



Re: [pygame] Pygame midiout not working...

2011-12-09 Thread Anthony Palomba
Use the same address but different subject line.




-ap





On Fri, Dec 9, 2011 at 3:22 PM, Zack Baker zbaker1...@gmail.com wrote:

 Hey everyone i am having some problems importing sprites into lion, i know
 this is the wrong thread but could you direct me on how to start a new one

 On Dec 9, 2011, at 2:06 PM, Anthony Palomba wrote:

 Hey René,


 Thanks for the update. I appreciate all your effort.
 Looking forward to doing some MIDI output on the
 Mac with pygame.



 -ap



 On Fri, Dec 9, 2011 at 12:47 PM, René Dudfield ren...@gmail.com wrote:

 Hi ya,

 I got stuck trying to get the ppc compilers working on Lion... but I'll
 try again.

 cu.



 On Thu, Dec 8, 2011 at 5:51 PM, Anthony Palomba 
 apalo...@austin.rr.comwrote:

 Hey folks,

 I was wondering if the Mac midi output issue has been resolved.

 Any word on a new build?



 Thanks,
 Anthony



 On Mon, Nov 28, 2011 at 3:16 PM, Anthony Palomba apalo...@austin.rr.com
  wrote:

 Hey folks,

 I was wondering if the Mac midi output issue has been resolved.

 Any word on a new build?



 Thanks,
 Anthony





 On Fri, Oct 28, 2011 at 5:13 AM, René Dudfield ren...@gmail.comwrote:

 Hi,

 hrmm.  It seems the xcode 4.2 installer moved some stuff into
 /Developer-old folder and the ppc compilers are still in there.  So 
 maybe
 that will work.  I'll give it a go later.

 Also, this is the guide I plan to use for ppc support on Lion.

 http://stackoverflow.com/questions/5333490/how-can-we-restore-ppc-ppc64-as-well-as-full-10-4-10-5-sdk-support-to-xcode-4

 cu.



 On Fri, Oct 28, 2011 at 11:56 AM, René Dudfield ren...@gmail.comwrote:

 Hey,

 I'll try and make a 32-bit intel+PPC static portmidi library,
 compatible with 10.4 and later this weekend.

 It's a bit hard for me, since I'm on OSX Lion and xcode 4.2 now.
 Apple removed PPC support in their compiler here.  Which means PPC 
 support
 is impossible without installing xcode 3 too.  So I need to install 
 xcode 3
 first to a separate directory, then install xcode 4.2 again, then do some
 symlinking in order to get them both working.

 Note, to see the architectures in a dylib
 lipo -info /usr/local/lib/libportmidi.dylib

 To remove the x64 architecture, and create a new version in /tmp/:
 lipo /usr/local/lib/libportmidi.dylib -remove x86_64 -output
 /tmp/libportmidi.dylib

 Then to see what it is linked against...
 otool -L /usr/local/lib/libportmidi.dylib



 cheers,



 On Tue, Oct 25, 2011 at 12:37 AM, Russell Owen ro...@uw.edu wrote:



 So far I've had no luck building portmidi--either the current
 release or the trunk you provided. I get tons of errors that suggest
 fundamental .h files aren't being found. (And yes, I do have CMake
 installed and running). I suspect this is because the xcode project file
 was saved with too recent a version of xcode (as it reports when I open 
 it
 in XCode).

 Also, it has no PPC target (based on opening the project on my main
 10.6.8 machine). That will cause trouble with python.org's 32-bit
 python. I don't use xcode so I'm not sure how easy it would be to add a 
 PPC
 target. Another option is to try an older version of portmidi, though I
 doubt users who rely on portmidi would want to go too far back.

 If somebody wants to provide me a 32-bit intel+PPC static portmidi
 library, compatible with 10.4 and later, I'll use it. Or you can try 
 more
 complete instructions (including minimum version of XCode and MacOS X on
 which to attempt the build) and I'll see if I can find time to go that
 route.

 -- Russell

 On Oct 24, 2011, at 2:31 PM, René Dudfield (by way of Russell E.
 Owen ro...@uw.edu) wrote:

  Hi,
 
  here are the port midi compilation instructions:
 c. OS X:  - change to PortMidi subdirectory pm_mac
   - compile. Type: xcodebuild -project pm_mac.pbproj
   - copy newly created libportmidi.a to a lib path
 
  cheers,
 
 
 
  On Tue, Oct 18, 2011 at 11:58 PM, Russell E. Owen
  rowen-lfcs8c3m...@public.gmane.org wrote:
 
  In article
  CAFZXy=
 esdhtjoe7ygus9r31kvs6tds6p0ucnjjg3qjr3gvuo6g-jsoawuisxosn+bqq9rb...@public.gmane.org
 ,
  Anthony Palomba apalomba-bs+dck7cjk954taoqty...@public.gmane.org
 
  wrote:
 
  I installed it from the installer I downloaded from the gygame
 website.
  *pygame-1.9.1release-python.org-32bit-py2.7-macosx10.3.dmg
  http://pygame.org/f
  tp/pygame-1.9.1release-python.org-32bit-py2.7-macosx10.3.dmg
 
  I built that binary installer. Unfortunately it does not include
 midi
  support because I've not figured out how to build portmidi on
 MacOS X
  10.4 (the platform I use to build 32-bit python binary
 installers). I've
  not tried on more recent MacOS X.
 
  -- Russell
 
 












[pygame] Pygame midiout not working...

2011-10-17 Thread Anthony Palomba
I running OSX 6.8 with python 2.7 (from python.org). I installed pygame
1.9.1
and am trying to get MIDI output to work.

When I run the example midi.py, I get the following error:

ImportError: No module named pypm
File /Developer/Python/pygame/Examples/midi.py, line 820, in module
  print_device_info()
File /Developer/Python/pygame/Examples/midi.py, line 25, in
print_device_info
  pygame.midi.init()
File
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pygame/midi.py,
line 71, in init
  import pygame.pypm


Is there something I am missing here?




Anthony


Re: [pygame] Pygame midiout not working...

2011-10-17 Thread Anthony Palomba
I installed it from the installer I downloaded from the gygame website.
*pygame-1.9.1release-python.org-32bit-py2.7-macosx10.3.dmghttp://pygame.org/ftp/pygame-1.9.1release-python.org-32bit-py2.7-macosx10.3.dmg
*



-ap




On Mon, Oct 17, 2011 at 2:35 PM, René Dudfield ren...@gmail.com wrote:

 Hello,

 where did you install pygame from?  It looks like the pygame.pypm module is
 not there.





 On Mon, Oct 17, 2011 at 9:03 PM, Anthony Palomba 
 apalo...@austin.rr.comwrote:

 I running OSX 6.8 with python 2.7 (from python.org). I installed pygame
 1.9.1
 and am trying to get MIDI output to work.

 When I run the example midi.py, I get the following error:

 ImportError: No module named pypm
 File /Developer/Python/pygame/Examples/midi.py, line 820, in module
   print_device_info()
 File /Developer/Python/pygame/Examples/midi.py, line 25, in
 print_device_info
   pygame.midi.init()
 File
 /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pygame/midi.py,
 line 71, in init
   import pygame.pypm


 Is there something I am missing here?




 Anthony





Re: [pygame] Pygame midiout not working...

2011-10-17 Thread René Dudfield
doh.  it seems that one doesn't have midi working.

I'll see if I can get another one made with midi support in there.  It might
take a few days though.

cheers,



On Mon, Oct 17, 2011 at 10:04 PM, Anthony Palomba apalo...@austin.rr.comwrote:

 I installed it from the installer I downloaded from the gygame website.
 *pygame-1.9.1release-python.org-32bit-py2.7-macosx10.3.dmghttp://pygame.org/ftp/pygame-1.9.1release-python.org-32bit-py2.7-macosx10.3.dmg
 *



 -ap





 On Mon, Oct 17, 2011 at 2:35 PM, René Dudfield ren...@gmail.com wrote:

 Hello,

 where did you install pygame from?  It looks like the pygame.pypm module
 is not there.





 On Mon, Oct 17, 2011 at 9:03 PM, Anthony Palomba 
 apalo...@austin.rr.comwrote:

 I running OSX 6.8 with python 2.7 (from python.org). I installed pygame
 1.9.1
 and am trying to get MIDI output to work.

 When I run the example midi.py, I get the following error:

 ImportError: No module named pypm
 File /Developer/Python/pygame/Examples/midi.py, line 820, in module
   print_device_info()
 File /Developer/Python/pygame/Examples/midi.py, line 25, in
 print_device_info
   pygame.midi.init()
 File
 /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pygame/midi.py,
 line 71, in init
   import pygame.pypm


 Is there something I am missing here?




 Anthony