[PD] can't open midi port in -nogui

Max Neupert abonnements at revolwear.com
Wed Jun 11 17:18:54 CEST 2008


hi list,

(using Pd-0.40.3-extended-rc1-macosx104-powerpc.dmg) on 10.4, PPC

i use a shell script to startup pd for an installation. it looks  
something like this:

---------------shell script---------
/Applications/Pd-extended.app/Contents/Resources/bin/pd -path / 
Applications/Pd-extended.app/Contents/Resources/extra/hardware -path / 
Applications/Pd-extended.app/Contents/Resources/extra/flatspace - 
path /Applications/Pd-extended.app/Contents/Resources/extra/iemlib - 
path /Applications/Pd-extended.app/Contents/Resources/extra/mapping - 
path /clarafrancesco -lib mapping -lib iemlib -lib hardware -lib  
flatspace -r 48000 -listdev -nomidiin -midioutdev 1 -noadc - 
outchannels 2 -nogui -noprefs /clarafrancesco/CLARAFRANCESCO.pd
--------------end-------------------


but later in the terminal it seems  i can't open the midi port.


----------Terminal output----------
008-06-12 01:10:21.623 pd[4717] CFLog (21): Error loading /Library/ 
QuickTime/Motion.component/Contents/MacOS/Motion:  error code 4,  
error number 0 (Library not loaded: /Library/Frameworks/ 
Motion.framework/Versions/A/Motion
   Referenced from: /Library/QuickTime/Motion.component/Contents/ 
MacOS/Motion
   Reason: image not found)
2008-06-12 01:10:21.737 pd[4717] CFLog (21): Error loading /Library/ 
QuickTime/Motion.component/Contents/MacOS/Motion:  error code 4,  
error number 0 (Library not loaded: /Library/Frameworks/ 
Motion.framework/Versions/A/Motion
   Referenced from: /Library/QuickTime/Motion.component/Contents/ 
MacOS/Motion
   Reason: image not found)
audio input devices:
1. (0)iSight
2. (0)Built-in Audio
audio output devices:
1. (0)Built-in Audio
API number 4

pd(4717,0xa000ed88) malloc: *** error for object 0x25afbe0: double free
pd(4717,0xa000ed88) malloc: *** set a breakpoint in szone_error to debug
pd(4717,0xa000ed88) malloc: *** error for object 0x25aff20: double free
pd(4717,0xa000ed88) malloc: *** set a breakpoint in szone_error to debug
MIDI input devices:
1. MidiPipe Ausgang 1
MIDI output devices:
1. MidiPipe Eingang 1
sys_nmidiin 0, nmidiindev 0
could not open midi output 1 (MidiPipe Eingang 1): PortMidi: `Bad  
pointer'
--------------End-------------------

the same patch runs fine with midi on the same machine with the GUI.
even stranger is that on another machine (Pd-0.40.3-extended-rc1- 
macosx104-i386.dmg, 10.5, intel) -nogui and midi just works.

what could be the cause?

m.





More information about the Pd-list mailing list