Differences

This shows you the differences between the selected revision and the current version of the page.

docs:startpd 2008/02/14 14:55 docs:startpd 2008/03/13 09:28 current
Line 7: Line 7:
---- ----
 +
====== 1. Create a file of sh commands to start PureData ====== ====== 1. Create a file of sh commands to start PureData ======
PureData needs to be started with certain arguments in order for PureJoy to run properly. You can simply type the commands into the prompt to run PureJoy, or you can put all the commands into one script. To do this, you must make the flash drive writeable by typing PureData needs to be started with certain arguments in order for PureJoy to run properly. You can simply type the commands into the prompt to run PureJoy, or you can put all the commands into one script. To do this, you must make the flash drive writeable by typing
Line 18: Line 19:
This will open nano, the text editor, which allows you to write scripts. (This is also the line you should type if you want to edit the script later. Also, any other text editor will also work.) Nano will open a new file titled 'run_audiopint4ch_OSS.' In nano, type in these PureData arguments all on one line: This will open nano, the text editor, which allows you to write scripts. (This is also the line you should type if you want to edit the script later. Also, any other text editor will also work.) Nano will open a new file titled 'run_audiopint4ch_OSS.' In nano, type in these PureData arguments all on one line:
-    pd -lib zexy -lib joystick -oss -r 44100 -audiodev 1,2,3,4 - inchannels 2,2,2,2 -outchannels 2,2,2,2 -audiobuf 6 -nomidi  purejoy_audiopint4ch_OSS.pd+    pd -lib zexy -lib joystick -oss -r 44100 -audiodev 1,2,3,4 -inchannels 2,2,2,2 -outchannels 2,2,2,2 -audiobuf 6 -nomidi  purejoy_audiopint4ch_OSS.pd
Press ctrl+x, and confirm that you want to save the changes by pressing Y. Now you should have a working script to run PureData! Press ctrl+x, and confirm that you want to save the changes by pressing Y. Now you should have a working script to run PureData!
Line 26: Line 27:
''sudo sh run_audiopint4ch_OSS''. ''sudo sh run_audiopint4ch_OSS''.
---- ----
 +
====== 2. Edit the script to remove the GUI ====== ====== 2. Edit the script to remove the GUI ======
Starting PureData on the AudioPint automatically does not require the PureData GUI. Without the GUI, the hardware does not have to work as much to keep everything running. To do this, copy the run_audiopint4ch_OSS file to a new file titled run_audiopint4ch_OSS_nogui by typing Starting PureData on the AudioPint automatically does not require the PureData GUI. Without the GUI, the hardware does not have to work as much to keep everything running. To do this, copy the run_audiopint4ch_OSS file to a new file titled run_audiopint4ch_OSS_nogui by typing
Line 152: Line 154:
If PureData is running, you should be able to see the commands in the run_audiopint4ch_OSS_nogui script. If PureData is running, you should be able to see the commands in the run_audiopint4ch_OSS_nogui script.
-