[PD] Re: stuck installing on OSX

Mitchell Turner mmturner at mindspring.com
Sat Apr 19 19:44:17 CEST 2003


Mark,
I am using the Adam Lindsay distribution.  I have found it better to  
run PD from the Terminal command line.  There I must specify which MIDI  
I/O I want.  I placed the PD directory at:
~/pd
I move into the "~/pd/bin" directory and type (I'm using "./" because I  
have not aliased pd in my .tcshrc file):
./pd -midiindev 0 -midioutdev 1
and it runs fine.  Pd uses the default audio I/O (I have "Built-in  
Audio controller" set as my default audio device; this was set in the  
System Preferences under Sound).  This is with a RolandUM-1 (one in/out  
MIDI).  I was not able to use my fastlane successfully.

Try setting your default audio device to Built-in Audio controller, and  
then at the command line type:
pd -nomidi
and see if you can get audio in and out.  There is a test file  
available.  When Wish opens, look under the Help menu. Try turning the  
test tone on to see about out and try clicking the Monitor box to test  
audio in.

Next, close out Wish and relaunch PD by specifying the MIDI i/o you  
want. Something like
pd -midiindev 0 -midioutdev 2
and see if the MIDI works in the test Audio and Midi help file.

Hope this helps a little,
Mitch



> Message: 13
> Date: Fri, 18 Apr 2003 16:56:26 -0400
> To: pd-list at iem.kug.ac.at
> From: Mark Ballora <ballora at psu.edu>
> Subject: [PD] stuck installing on OSX
>
> Sorry to make my first post here so long.  I'm new to UNIX/OSX, and
> am running in circles trying to get pd installed.
>
> After running the installer twice, I get the following at the terminal:
>
> [techboy:~] markballora% which pd
> /usr/local/pd/bin/pd
>
> and
>
> [techboy:~] markballora% ls /usr/local/pd/bin
> pd           pd-watchdog  pd.tk        pdreceive    pdsend       pdtcl
>
>
> So far so good?
>
> Then I tried:
> [techboy:~] markballora% pd -listdev
> reading startup file: /Users/markballora/.pdrc
> Number of devices = 4
> ---------------------------------------------- #1
> Name         = Built-in audio controller
> Max Inputs   = 2, Max Outputs = 0
> Sample Rate Range = 8000.000000 to 96000.000000
> Native Sample Formats = paFloat32,
> ---------------------------------------------- #2 DefaultInput
> Name         = MOTU 828
> Max Inputs   = 8, Max Outputs = 0
> Sample Rate Range = 8000.000000 to 96000.000000
> Native Sample Formats = paFloat32,
> ---------------------------------------------- #3
> Name         = Built-in audio controller
> Max Inputs   = 0, Max Outputs = 2
> Sample Rate Range = 8000.000000 to 96000.000000
> Native Sample Formats = paFloat32,
> ---------------------------------------------- #4 DefaultOutput
> Name         = MOTU 828
> Max Inputs   = 0, Max Outputs = 8
> Sample Rate Range = 8000.000000 to 96000.000000
> Native Sample Formats = paFloat32,
> ----------------------------------------------
> 0: CoreMIDI, Port B (input)
> 1: CoreMIDI, Port B (input)
> 2: CoreMIDI, Port B (output)
> 3: CoreMIDI, Port B (output)
> could not open midi output device number 1: Invalid device ID.
> using default input device number: 1
> using default output device number: 3
> nchan 2, flags 3, bufs 8, framesperbuf 256
> Could not create output format converter: error = 0x666D743F = 'fmt?'
> Error number -10000 occured opening portaudio stream
> Error message: Host error.
> sh: /usr/local/bin/pd-watchdog: No such file or directory
> Error in startup script: couldn't read file "/usr/local/bin/pd.tk":
> no such file or directory
> 1
>
> Seems odd, since the list of the directory showed the pd.tk file.  At
> this point, I can run the program and get it to do simple math
> patches, but no audio or MIDI test works.
>
> The same thing happened when I tried running the program from the  
> prompt:
>
> [techboy:~] markballora% pd
> reading startup file: /Users/markballora/.pdrc
> could not open midi output device number 1: Invalid device ID.
> using default input device number: 1
> using default output device number: 3
> nchan 2, flags 3, bufs 8, framesperbuf 256
> Could not create output format converter: error = 0x666D743F = 'fmt?'
> Error number -10000 occured opening portaudio stream
> Error message: Host error.
> sh: /usr/local/bin/pd-watchdog: No such file or directory
> Error in startup script: couldn't read file "/usr/local/bin/pd.tk":
> no such file or directory
>
>
> I tried replacing /usr/local/pd/bin/pd file with the file from:
> http://homepage.mac.com/atl/.cv/atl/Public/pd-pa-new-binary.tar.gz- 
> link.gz
> which is supposed to make it more compatible with the MOTU 828.
>
> Now, when I try running it from the prompt, I get:
>
> [techboy:~] markballora% pd
> dyld: pd can't open library: /usr/X11R6/lib/libX11.6.dylib  (No such
> file or directory, errno = 2)
> Trace/BPT trap
>
> Similarly, trying to run it from Pd.command gives:
>
> [techboy:~] markballora% /Applications/Pd.command; exit
> dyld: /usr/local/pd/bin/pd can't open library:
> /usr/X11R6/lib/libX11.6.dylib  (No such file or directory, errno = 2)
> /Applications/Pd.command: line 2:   793 Trace/BPT trap
> /usr/local/pd/bin/pd -rt
> logout
> [Process completed]
>
>
>
> Can anyone give me any guidance on how to get this thing working?
>
> thanks --
>
> Mark Ballora
>
>
>
>
> --__--__--
>
> Message: 14
> Date: Fri, 18 Apr 2003 16:30:33 -0500
> From: Michael McGonagle <fndsnd at rcnchicago.com>
> To:  pd-list at iem.kug.ac.at
> Subject: Re: [PD] stuck installing on OSX
>
> Mark,
>
> You should download Adam Lindsay's installer, it seems to the most
> "Macintosh" friendly installer... The problems that you had with
> swapping out the binaries is probably due to the second binary being
> linked to a library that is not on your system. You should rerun the
> original installer to get the original binary back.
>
> I am not really sure why this is, but every time I run pd as you have,  
> I
> get similar errors. Basically, the way that I run it is by creating an
> 'alias' that points to the "absolute" path for the binary. you should  
> be
> able to do the following:
>
>
> [host:] user% alias pd /usr/local/pd/bin/pd
>
> [host:] user% alias rtpd sudo /usr/local/pd/bin/pd
>
>
> These two alias are used to run pd. The second is used to run pd with
> the -rt option (you need to be running as root for the realtime stuff).
>
> The best place to put these 'alias' is in your '.tcshrc' file. This is  
> a
>   'hidden' file that resides in your 'home' directory. You should be
> able to just add both of these lines to that file, and the alias' will
> be there for you each time you start a shell.
>
>
> Mike
>
>
> Mark Ballora wrote:
>> Sorry to make my first post here so long.  I'm new to UNIX/OSX, and am
>> running in circles trying to get pd installed.
>>
>> After running the installer twice, I get the following at the  
>> terminal:
>>
>> [techboy:~] markballora% which pd
>> /usr/local/pd/bin/pd
>>
>> and
>>
>> [techboy:~] markballora% ls /usr/local/pd/bin
>> pd           pd-watchdog  pd.tk        pdreceive    pdsend       pdtcl
>>
>>
>> So far so good?
>>
>> Then I tried:
>> [techboy:~] markballora% pd -listdev
>> reading startup file: /Users/markballora/.pdrc
>> Number of devices = 4
>> ---------------------------------------------- #1
>> Name         = Built-in audio controller
>> Max Inputs   = 2, Max Outputs = 0
>> Sample Rate Range = 8000.000000 to 96000.000000
>> Native Sample Formats = paFloat32,
>> ---------------------------------------------- #2 DefaultInput
>> Name         = MOTU 828
>> Max Inputs   = 8, Max Outputs = 0
>> Sample Rate Range = 8000.000000 to 96000.000000
>> Native Sample Formats = paFloat32,
>> ---------------------------------------------- #3
>> Name         = Built-in audio controller
>> Max Inputs   = 0, Max Outputs = 2
>> Sample Rate Range = 8000.000000 to 96000.000000
>> Native Sample Formats = paFloat32,
>> ---------------------------------------------- #4 DefaultOutput
>> Name         = MOTU 828
>> Max Inputs   = 0, Max Outputs = 8
>> Sample Rate Range = 8000.000000 to 96000.000000
>> Native Sample Formats = paFloat32,
>> ----------------------------------------------
>> 0: CoreMIDI, Port B (input)
>> 1: CoreMIDI, Port B (input)
>> 2: CoreMIDI, Port B (output)
>> 3: CoreMIDI, Port B (output)
>> could not open midi output device number 1: Invalid device ID.
>> using default input device number: 1
>> using default output device number: 3
>> nchan 2, flags 3, bufs 8, framesperbuf 256
>> Could not create output format converter: error = 0x666D743F = 'fmt?'
>> Error number -10000 occured opening portaudio stream
>> Error message: Host error.
>> sh: /usr/local/bin/pd-watchdog: No such file or directory
>> Error in startup script: couldn't read file "/usr/local/bin/pd.tk": no
>> such file or directory
>> 1
>>
>> Seems odd, since the list of the directory showed the pd.tk file.  At
>> this point, I can run the program and get it to do simple math  
>> patches,
>> but no audio or MIDI test works.
>>
>> The same thing happened when I tried running the program from the  
>> prompt:
>>
>> [techboy:~] markballora% pd
>> reading startup file: /Users/markballora/.pdrc
>> could not open midi output device number 1: Invalid device ID.
>> using default input device number: 1
>> using default output device number: 3
>> nchan 2, flags 3, bufs 8, framesperbuf 256
>> Could not create output format converter: error = 0x666D743F = 'fmt?'
>> Error number -10000 occured opening portaudio stream
>> Error message: Host error.
>> sh: /usr/local/bin/pd-watchdog: No such file or directory
>> Error in startup script: couldn't read file "/usr/local/bin/pd.tk": no
>> such file or directory
>>
>>
>> I tried replacing /usr/local/pd/bin/pd file with the file from:
>> http://homepage.mac.com/atl/.cv/atl/Public/pd-pa-new-binary.tar.gz- 
>> link.gz
>> which is supposed to make it more compatible with the MOTU 828.
>>
>> Now, when I try running it from the prompt, I get:
>>
>> [techboy:~] markballora% pd
>> dyld: pd can't open library: /usr/X11R6/lib/libX11.6.dylib  (No such
>> file or directory, errno = 2)
>> Trace/BPT trap
>>
>> Similarly, trying to run it from Pd.command gives:
>>
>> [techboy:~] markballora% /Applications/Pd.command; exit
>> dyld: /usr/local/pd/bin/pd can't open library:
>> /usr/X11R6/lib/libX11.6.dylib  (No such file or directory, errno = 2)
>> /Applications/Pd.command: line 2:   793 Trace/BPT trap
>> /usr/local/pd/bin/pd -rt
>> logout
>> [Process completed]
>>
>>
>>
>> Can anyone give me any guidance on how to get this thing working?
>>
>> thanks --
>>
>> Mark Ballora
>>
>>
>>
>> _______________________________________________
>> PD-list mailing list
>> PD-list at iem.kug.ac.at
>> http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list
>>
>
>
>
>
>
> --__--__--
>
> _______________________________________________
> PD-list mailing list
> PD-list at iem.kug.ac.at
> http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list
>
>
> End of PD-list Digest
>





More information about the Pd-list mailing list