Comfortable running applications from the command line?

By running the StreamSequencer software from the command line, a couple additional features can be obtained.

Mac:

First change to the directory where StreamSequencer.jar is located:

StreamSequencer.app/Contents/Resources/Java/

You will need to copy both the STREAMSEQUENCER_CONTROLS and STREAMSEQUENCER_PRESET files into this directory (or relocate the resources in this folder and change the corresponding paths above) in order for the software to discover these files.

java -cp ./jsyn.jar:./grame.jar:./StreamSequencer.jar -d32 -server sl6w.sample.RingSampler 0 0 1 -c

runs the software normally from this directory.

WINDOWS:

From within the StreamSequencer folder:

java -cp ./lib/jsyn.jar;./lib/grame.jar;./lib/StreamSequencer.jar -d32 -server sl6w.sample.RingSampler 0 0 1 -c

runs the software normally from this directory.

USING ALTERNATIVE INPUT AND OUTPUT CHANNELS:

run:

The command line arguments "0 0 1" above respectively refer to the input channel and two output channels used by the software. Change these values to whatever input channels and output channels you'd like to use - note that your first input or output channel is number 0 and so on.

e.g. running (on a Mac)

java -cp ./jsyn.jar:./grame.jar:./StreamSequencer.jar -d32 -server sl6w.sample.RingSampler 3 6 7 -c

uses the fourth audio input (number 3) and the seventh and eighth audio output (numbers 6 and 7)

NO DISPLAY WINDOW:

Dropping the last "-c" flag will eliminate launching the display window. All output will be displayed into the terminal window. This may be more efficient for the overall system.

BACK TO CONTENTS