After preparing a Terminal window as described in Preparing to use ns4decode, running ns4decode involves writing commands in that Terminal window. These instructions explain how to form those commands, using drag-and-drop wherever possible.
You can also ask ns4decode itself for instructions by running either of these commands (which are equivalent to each other):
ns4decode --help
ns4decode -h
ns4decode
programName.ns4p
,
then the output files are:
programName_organ.csv
, which has the decoded parameter-values for each organ layer, programName_piano.csv
, which has the decoded parameter-values for each piano layer, programName_synth.csv
, which has the decoded parameter-values for each synth layer, programName_master.csv
, which has the decoded parameter-values not tied to any individual layer.
This includes the organ FX parameters, because they're
the same for both organ layers.
When decoding a Preset file, only two output files (per input file)
are produced: programName_master.csv
and one of the others,
depending on which type of Preset file was decoded.
If you choose to view the output files using a plain text editor like TextEdit, then you can align the columns by replacing step 2 above with this:
ns4decode --columnwidth 12
ns4decode -c 12
Most of the items in the output files should be easy to understand for anybody familiar with the Nord Stage 4's parameters, but a few of them are less obvious. In the Terminal window, run the command
ns4decode --helpwith interpret
To decode multiple Program files, steps 1 and 2 are the same as before.
In step 3, instead of dragging-and-dropping a single Program file
into the Terminal window, select multiple Program files
and drag them all into the Terminal window, all at once.
(Or you can drag them in one-at-a-time, if you prefer.)
Step 4 is the same as before.
Multiple files with names ending in
.csv
should appear — a set of four output files
for each of the Program files you selected, just as if you had
run ns4decode on each of them individually.
In step 2,
instead of dragging-and-dropping a set of Program files the Terminal window,
you may (if you prefer) drag one or more folders into the Terminal window.
Then ns4decode will find all of the files
with names ending in .ns4p
in those folder(s) (recursively),
tell you how many files it found,
and ask if you're sure you want to decode them all.
If you don't want the output files to be written in the same folder(s) as the Program files, then you can tell ns4decode where to write them by following these steps:
outputFolder
.
You can create this folder on your Desktop,
or you can open a Finder window and navigate to
wherever you want to create the folder.
ns4decode --writeto
ns4decode -w
outputFolder
from step 1
into the Terminal window.
This doesn't move the folder, it just appends the
folder's location to the command that you started
forming in step 2.
.csv
) appear in
outputFolder
.
By default, the output files show the values of all of the parameters that ns4decode knows how to decode, even if those parameters don't affect the sound, like the parameters in a layer that is turned off. You can tell ns4decode to omit the values of most of those parameters. This feature doesn't omit all unused parameters, but it does omit most of the major groupings of unused parameters (sections, layers, and some smaller groupings). To use this feature, replace step 2 above with this one:
ns4decode --exclude
ns4decode -x
The options -c
, -x
, and -w
in the preceding examples may be combined.
You could replace step 2 in example 1 with this:
ns4decode -c 12 -x
ns4decode -c 12 -x -w
-w
will be treated
as the folder where you want the output files to be written.
Everything after that will be treated as a Program file
to be decoded.
To compare only a selected set of parameters across multiple Program files, follow these steps:
ns4decode --listparams
ns4decode -l
ns4decode
(...list of parameter-codes...)
-m 17
, -y 2
, and -y 3
,
then the command will look like this:
ns4decode -c 12 -m 17 -y 2 -y 3
ns4decode -c 12 -m 17 -y 2,3
-c 12
option is included to help align the columns.
Make sure there are spaces between the letters and numbers,
but no spaces in the comma-delineated list of numbers.
Make sure there is a space at the end.
Don't press return yet.
.csv
file by
using one of the standard unix tricks that you can learn about
by running the command
ns4decode --helpwith tricks