Session options

Theses options can be called at launch or when a SpectraLayers One session is already active.

Calling SpectraLayers One with options when a session is active will result in theses options being transferred to the active session.

Command Description

-deviceapi [API]

Changes the active device to API. API must be an existing Type in Device Preferences. If API is not defined, it will switch back to the previously active API.

-edit FILE [START]

Open FILE as a new project with START as the first sample position. If START is not defined, it will start at 0.

-merge FILE [START]

Import FILE as a new layer into the active projec, with START as the first sample position. If START is not defined, it will start at 0.

-replace FILE [START]

Replace any project created from the same FILE, with START as the first sample position. If START is not defined, it will start at 0.

-parent APPLICATION

When opening a file with the above commands, define an application name that will be used for the Export Back text strings

-server SERVERNAME

Gets socket notification sent to SERVERNAME for specific events (0: importing file, 1: file imported, 2: exporting file, 3: file exported, 4: file closed)

-timerange START LENGTH

Zoom the current project to the specificed time range (in samples)

-freqrange BOTTOM HEIGHT

Zoom the current project to the specificed frequency range (in hertz)