SYNOPSIS

nama [options] [project_name]

DESCRIPTION

Nama is an application for multitrack recording, non-destructive editing, mixing and mastering using the Ecasound audio engine developed by Kai Vehmanen. Primarily text-based, it also has a simple Tk based \s-1GUI\s0.

Features include tracks with multiple \s-1WAV\s0 versions (\s-1AKA\s0 takes), buses, effects, presets, sends, inserts, marks, regions, edits, templates and user-defined commands. Nama runs under \s-1JACK\s0 and \s-1ALSA\s0 audio frameworks, automatically detects \s-1LADSPA\s0 plugins, and supports Ladish Level 1 session handling.

Nama's audio processing is non-destructive by default: effects are applied in realtime; edits are accomplished through crossfades. These modifications to a track can be \*(L"frozen\*(R" as a new version for that track.

The command prompt accepts Nama commands, Ecasound interactive-mode commands, shell commands and perl code, providing command history and autocompletion. The help system covers internal commands and \s-1LADSPA\s0 effects and includes keyword search.

By default, Nama displays a simple graphic interface while the command processor runs in a terminal window. The -t option provides a text-only interface for console users.

OPTIONS

--gui, -g

Start Nama in \s-1GUI\s0 mode

--text, -t

Start Nama in text mode

--config, -f

Specify configuration file (default: ~/.namarc)

--project-root, -d

Specify project root directory

--create-project, -c

Create project if it doesn't exist

--net-eci, -n

Use Ecasound's Net-ECI interface

--libecasoundc, -l

Use Ecasound's libecasoundc interface

--save-alsa, -a

Save/restore alsa state with project data

--help, -h

This help display

Debugging options:

--no-static-effects-data, -s

Don't load effects data

--no-state, -m

Don't load project state

--no-static-effects-cache, -e

Bypass effects data cache

--regenerate-effects-cache, -r

Regenerate the effects data cache

--no-reconfigure-engine, -R

Don't automatically configure engine

--debugging-output, -D

Emit debugging information

--fake-jack, -J

Simulate \s-1JACK\s0 environment

--fake-alsa, -A

Simulate \s-1ALSA\s0 environment

--no-ecasound, -E

Don't spawn Ecasound process

--execute-command, -X

Supply a command to execute

CONTROLLING NAMA/ECASOUND

The Ecasound audio engine is configured through use of chain setups that specify the signal processing network. After lauching the engine, realtime control capabilities are available, for example to adjust signal volume and to set playback position.

Nama serves as an intermediary, taking high-level commands from the user, generating appropriate chain setups for recording, playback, mixing, etc. and running the audio engine.

\s-1STATIC\s0 \s-1COMMANDS\s0

Static commands affect future runs of the audio engine. For example, rec, mon and off determine whether the current track will get its audio stream from a live source or whether an existing \s-1WAV\s0 file will be played back. Nama responds to static commands by automatically reconfiguring the engine and displaying the updated track status.

\s-1DYNAMIC\s0 \s-1COMMANDS\s0

Once a chain setup is loaded and the engine is launched, another set of commands controls the realtime behavior of the audio processing engine. Commonly used dynamic commands include transport \*(C`start\*(C' and \*(C`stop\*(C', playback repositioning commands such \*(C`forward\*(C', \*(C`rewind\*(C' and \*(C`setpos\*(C'. Effects may be added, modified or removed while the engine is running.

\s-1CONFIGURATION\s0

General configuration of sound devices and program options is performed by editing the .namarc file. On Nama's first run, a default version of .namarc is usually placed in the user's home directory.

Tk GRAPHICAL UI

Invoked by default if Tk is installed, this interface provides a subset of Nama's functionality on two windows, one for general control, the second for effects.

The main window has buttons for project create, load and save, for adding tracks and effects, and for setting the vol, pan and record status of each track.

The \s-1GUI\s0 project name bar and time display change color to indicate whether the upcoming operation will include live recording (red), mixdown only (yellow) or playback only (green). Live recording and mixdown can take place simultaneously.

The effects window provides sliders for each effect parameters. Parameter range, defaults, and log/linear scaling hints are automatically detected. Text-entry widgets are used to enter parameters values for plugins without hinted ranges.

The command prompt appears in the terminal window during \s-1GUI\s0 operation. Text commands may be issued at any time.

TEXT UI

Press the Enter key if necessary to get the command prompt, which will look something like this:

\*(C`nama [sax] ('h' for help)>\*(C'

In this instance, 'sax' is the current track.

When using sub-buses, the bus is indicated before the track:

\*(C`nama [Strings/violin] ('h' for help)>\*(C'

At the prompt, you can enter Nama and Ecasound commands, Perl code preceded by \*(C`eval\*(C' or shell code preceded by \*(C`!\*(C'.

Multiple commands on a single line are allowed if delimited by semicolons. Usually the lines are split on semicolons and the parts are executed sequentially, however if the line begins with \*(C`eval\*(C' or \*(C`!\*(C' the entire line (up to double semicolons ';;' if present) will be given to the corresponding interpreter.

You can access command history using up-arrow/down-arrow.

Type \*(C`help\*(C' for general help, \*(C`help command\*(C' for help with \*(C`command\*(C', \*(C`help foo\*(C' for help with commands containing the string \*(C`foo\*(C'. \*(C`help_effect foo bar\*(C' lists all plugins/presets/controller containing both foo and bar. Tab-completion is provided for Nama commands, Ecasound-iam commands, plugin/preset/controller names, and project names.

Many effects have abbreviations, such as 'afx' for 'add_effect'.

TRACKS

Each track has a descriptive name (i.e. vocal) and an integer track-number assigned when the track is created. New user tracks initially belong to the Main bus.

Track output signals are usually mixed and pass through the Master track on the way to soundcard for monitoring.

The following sections describes track attributes and their effects.

\s-1WIDTH\s0

Specifying 'mono' means the track has one input channel, which will be recorded as a mono \s-1WAV\s0 file. Mono track signals are automatically duplicated to stereo and a pan effect is provided.

Specifying 'stereo' for a track means that two channels of audio input will be recorded as an interleaved stereo \s-1WAV\s0 file.

Specifying N channels for a track ('set width N') means N successive input channels will be recorded as an N-channel interleaved \s-1WAV\s0 file.

\s-1REC/MON/OFF\s0

Track \s-1REC/MON/OFF\s0 status guides audio processing.

Each track, including Master and Mixdown, has its own \s-1REC/MON/OFF\s0 setting and displays its own \s-1REC/MON/OFF\s0 status. Each bus also has \s-1REC\s0, \s-1MON\s0 and \s-1OFF\s0 settings that influence the behavior of user tracks.

Track status

As the name suggests, \s-1REC\s0 status indicates that a track is ready to record a \s-1WAV\s0 file.

\s-1MON\s0 status indicates an audio stream is available from disk. This status requires the presence of a file matching the bus or track version number, if specified. A track set to \s-1REC\s0 with no live input will default to \s-1MON\s0 status.

\s-1OFF\s0 status means that no audio is available for the track from any source. A track with no recorded \s-1WAV\s0 files will show \s-1OFF\s0 status, even if set to \s-1MON\s0.

Bus setting

We describe the effect of Main bus \s-1REC/MON/OFF\s0 settings on member tracks. (Sub-bus settings have similar effects on their tracks.)

The Main bus \s-1REC\s0 setting does not limit user track status in any way.

The Main bus \s-1MON\s0 setting disables recording for member tracks. Track \s-1REC\s0 status is forced to \s-1MON\s0 if a \s-1WAV\s0 file is available, or \s-1OFF\s0 if no \s-1WAV\s0 file is available.

The Main bus \s-1OFF\s0 setting forces all user tracks to \s-1OFF\s0 status, causing them to be excluded from the chain setup. Note: This setting is distinct from the action of the \*(C`mute\*(C' command, which sets the volume of the track to zero.

The Main bus \s-1MON\s0 mode triggers automatically after a successful recording run.

The mixplay command sets the Mixdown track to \s-1MON\s0 and the Main bus to \s-1OFF\s0.

\s-1VERSION\s0 \s-1NUMBER\s0

Multiple \s-1WAV\s0 files can be recorded for each track. These are distinguished by a version number that increments with each recording run, i.e. sax_1.wav, sax_2.wav, etc. All \s-1WAV\s0 files recorded in the same run have the same version numbers.

The version numbers of files for playback can be selected at the bus or track level. By setting the bus version to 5, you can play back version 5 of several tracks at once. Version 5 could signify the fifth take of a song, or the fifth song of a live recording session.

The track version setting, if present, overrides the bus setting. Setting the track version to zero restores control of the version number to the bus setting.

The Main bus version setting does not currently propagate to sub-buses. If you have sub-buses you must set bus version numbers for each separately if desired.

\s-1MARKS\s0

Marks in Nama are similar to those in other audio editing software, with one small caveat: Mark positions are relative to the beginning of an Ecasound chain setup. If your project involves a single track, and you will be shortening the stream by setting a region to play, set any marks you need after defining the region.

\s-1REGIONS\s0

The \*(C`region\*(C' command allows you to define endpoints for a portion of an audio file. Use the \*(C`shift\*(C' command to specify a delay for starting playback.

Only one region may be specified per track. To work around this limitation, use the \*(C`new_region\*(C' command to clone a track, specifying a new region definition. You can then independently control volume and pan of this new region, apply effects, etc.

The \*(C`link_track\*(C' command can clone tracks from other Nama projects.

\s-1EFFECTS\s0

Each track gets volume and pan effects by default. New effects added using \*(C`add_effect\*(C' are applied after pan volume controls. You can position effects anywhere you choose using \*(C`insert_effect\*(C'.

\s-1FADERS\s0

Nama allows you to place fades on any track. Fades are logarithmic, defined by a mark position and a duration. An initial volume operator, -eadb, is additionally applied to tracks as necessary to enable this function.

\s-1SENDS\s0 \s-1AND\s0 \s-1INSERTS\s0

The \*(C`send\*(C' command can route a track's post-fader output to a soundcard channel or \s-1JACK\s0 client in addition to the normal mixer input. Nama currently allows one aux send per track.

The \*(C`add_insert\*(C' command configures a pre- or post-fader send-and-return to soundcard channels or \s-1JACK\s0 clients. Wet and dry signal paths are provided, with a default setting of 100% wet.

Each track can have one pre-fader and one post-fader insert.

\s-1BUNCHES\s0

A bunch is just a list of track names. Bunch names are used with the keyword \*(C`for\*(C' to apply one or more commands to to several tracks at once. A bunch can be created with the \*(C`new_bunch\*(C' command. Any bus name can also be treated as a bunch. Finally, a number of special bunch keywords are available.

rec, mon, off

All tracks with the corresponding setting in the current bus

\s-1REC\s0, \s-1MON\s0, \s-1OFF\s0

All tracks with the corresponding status in the current bus

\s-1BUSES\s0

\s-1SUB\s0 \s-1BUSES\s0

Sub buses enable multiple tracks to be routed through a single mix track before feeding the main mixer bus (or possibly another sub bus.)

The following commands create a sub bus and assign three tracks to it. The mix track takes the name of the bus and is stereo by default.

        # create a bus named Strings feeding a mix track named Strings
        add_sub_bus Strings

        # create tracks for the sub-bus
        add_tracks violin cello bass

        # move the tracks from the Main bus (default) to the Strings bus
        for violin cello bass; set bus Strings

        # use the mix track to control bus output volume
        Strings vol - 10

\s-1SEND\s0 \s-1BUSES\s0

Send buses can be used as instrument monitors, or to send pre- or post-fader signals from multiple user tracks to an external program such as jconverter

ROUTING

General notes

While Nama can address tracks by either a name and a number, the chain setups use the track number exclusively.

The Master track (mixer output control) is always chain 1, the Mixdown track is always chain 2.

Nama uses Ecasound loop devices where necessary to connect two tracks, or to allow one track to have multiple inputs or outputs. Each loop device adds one buffer, which increases latency.

Flow diagrams

Let's examine the signal flow from track 3, the first available user track. Assume track 3 is named \*(L"sax\*(R".

We will divide the signal flow into track and mixer sections. Parentheses show the track number/name.

The stereo outputs of each user track terminate at Master_in, a loop device at the mixer input.

Track, \s-1REC\s0 status

Sound device --+---(3)----> Master_in /JACK client | +---(R3)---> sax_1.wav

\s-1REC\s0 status indicates that the source of the signal is the soundcard or \s-1JACK\s0 client. The input signal will be written directly to a file except in the special preview and doodle modes, or if \*(C`rec_disable\*(C' is issued.

Track, \s-1MON\s0 status

sax_1.wav ------(3)----> Master_in

Mixer, with mixdown enabled

In the second part of the flow graph, the mixed signal is delivered to an output device through the Master chain, which can host effects. Usually the Master track provides final control before audio output or mixdown.

Master_in --(1)--> Master_out --+--------> Sound device | +-->(2)--> Mixdown_1.wav

Mastering Mode

In mastering mode (invoked by \*(C`master_on\*(C' and released \*(C`master_off\*(C') the following network, receives the Master track signal as input and provides an output to the soundcard or \s-1WAV\s0 file.

+- Low -+ | | ------ Eq ----+- Mid -+--- Boost -> soundcard/wav_out | | +- High +

The Eq track hosts an equalizer.

The Low, Mid and High tracks each apply a bandpass filter, a compressor and a spatialiser.

The Boost track applies gain and a limiter.

These effects and their default parameters are defined in the configuration file .namarc.

Mixdown

The \*(C`mixdown\*(C' command configures Nama for mixdown. The Mixdown track is set to \s-1REC\s0 (equivalent to \*(C`Mixdown rec\*(C') and the audio monitoring output is turned off (equivalent to \*(C`main_off\*(C').

Mixdown proceeds after you start the transport.

Preview and Doodle Modes

These non-recording modes, invoked by \*(C`preview\*(C' and \*(C`doodle\*(C' commands tweak the routing rules for special purposes. Preview mode disables recording of \s-1WAV\s0 files to disk. Doodle mode disables \s-1MON\s0 inputs while enabling only one \s-1REC\s0 track per signal source. The \*(C`arm\*(C' command releases both preview and doodle modes.

Autosave

The save command is the usual way to save your work. Most settings are saved in the file State.yml in the current project directory.

When you type quit Nama will automatically save your work to State.yml. This will overwrite previous settings in State.yml. If you don't want this behavior, use Ctrl-C to exit Nama.

If you load a new project and there are unsaved changes, Nama will automatically save settings in a file tagged with the current date and time, for example, State-autosave-2010.09.20-15:32:05.

By specifying some number of minutes for the autosave_interval configuration variable in your .namarc file, Nama will save your settings periodically. However, Nama will not save settings while the engine is running.

To avoid creating duplicate files, the new settings file will be created only if it differs from the previous file.

Jack ports list file

Use source ports or source filename.ports to ask Nama to connect multiple \s-1JACK\s0 ports listed in a file (trackname.ports or filename.ports) to the input ports for that track, which will be set to ecasound:trackname_in_1 for mono. A stereo track will use ecasound:trackname_in_2 as well.

If the track is stereo, ports from the list are alternately connected to left and right channels. Larger numbers of channels are handled similarly.

Track edits

An edit is an audio clip associated with a particular track and version. The edit replaces part of the original \s-1WAV\s0 file, allowing you to fix wrong notes, or substitute one phrase for another.

Each track can host multiple edits. Edits are non-destructive; they are achieved by using Ecasound's ability to crossfade and sequence.

Select the track to be edited and the correct version.

Before creating the edit, you will now need to create three marks:

  • play start point =item * rec start point =item * rec end point

The edit will replace the audio between the rec start and rec end points.

There are two ways to set these points.

set_edit_points command

Position the playback head a few seconds before the edit. Enter the set_edit_points command. This will start the engine. Hit the P key three times to designate the playback start, punch-in and punch-out positions.

Specify points individually

Position the playback head at the position you want playback for the edit to start. Enter the set_play_start_mark command.

Use the same procedure to set the rec start and rec end positions using the set_rec_start_mark and set_rec_end_mark commands.

Provide marks as arguments to new_edit (not implemented)

Type new_edit play_start_mark rec_start_mark rec_end_mark.)

Create the edit

Enter the new_edit command to create the necessary tracks and data structures.

Use preview_edit to confirm the edit positions. The engine will run and you will hear the host track with the target region removed. Playback will be restricted to the edit region. You may use preview_out to hear the clip to be removed.

Use list_marks to see the edit marks and modify_mark to nudge them into perfect position.

Once you are satisfied with the mark positions, you are ready to record your edit.

Enter start_edit. Playback will begin at first mark. The replacement clip will be recorded from the source specified in the original track.

Each start_edit command will record an additional version on the edit track. redo_edit will delete (destructively) the most recent audio clip and begin recording anew.

You may specify another range for editing and use the editing procedure again as many times as you like. Edits may not overlap.

Merging edits

merge_edits will recursively merge all edits applied to the current track and version, creating a new version.

I recommend that you merge edits when you are satisfied, with the results to protect your edits against an accidental change in mark, region or version settings.

restore_edits acts on a merged version of the current track, selecting the prior unmerged version with all edits and region definitions in \*(L"live\*(R" form. You may continue to create new edits. \s-1TO\s0 \s-1BE\s0 \s-1IMPLEMENTED\s0

list_edits will label the edits by index and time.

end_edit_mode will restore normal playback mode

destroy_edit Behind the scenes, the host track becomes the mix track to a sub-bus. Sources for the bus are the original audio track, and zero or more edits, each represented by one track object.

TEXT COMMANDS

Help commands

help (h) - Display help

\*(C`help\*(C' [ <i_help_topic_index> | <s_help_topic_name> | <s_command_name> ]

help_effect (hfx he) - Display analyseplugin output if available or one-line help

\*(C`help_effect\*(C' <s_label> | <i_unique_id>

find_effect (ffx fe) - Display one-line help for effects matching search strings

\*(C`find_effect\*(C' <s_keyword1> [ <s_keyword2>... ]

General commands

exit (quit q) - Exit program, saving settings

\*(C`exit\*(C'

memoize - Enable \s-1WAV\s0 dir cache

\*(C`memoize\*(C'

unmemoize - Disable \s-1WAV\s0 dir cache

\*(C`unmemoize\*(C'

Transport commands

stop (s) - Stop transport

\*(C`stop\*(C'

start (t) - Start transport

\*(C`start\*(C'

getpos (gp) - Get current playhead position (seconds)

\*(C`getpos\*(C'

setpos (sp) - Set current playhead position

\*(C`setpos\*(C' <f_position_seconds> \*(C`setpos 65 (set play position to 65 seconds from start)\*(C'

forward (fw) - Move playback position forward

\*(C`forward\*(C' <f_increment_seconds>

rewind (rw) - Move transport position backward

\*(C`rewind\*(C' <f_increment_seconds>

to_start (beg) - Set playback head to start

\*(C`to_start\*(C'

to_end (end) - Set playback head to end minus 10 seconds

\*(C`to_end\*(C'

ecasound_start (T) - Ecasound-only start

\*(C`ecasound_start\*(C'

ecasound_stop (S) - Ecasound-only stop

\*(C`ecasound_stop\*(C'

preview - Start engine with rec_file disabled (for mic test, etc.)

\*(C`preview\*(C'

doodle - Start engine while monitoring REC-enabled inputs

\*(C`doodle\*(C'

Mix commands

mixdown (mxd) - Enable mixdown for subsequent engine runs

\*(C`mixdown\*(C'

mixplay (mxp) - Enable mixdown file playback, setting user tracks to \s-1OFF\s0

\*(C`mixplay\*(C'

mixoff (mxo) - Set Mixdown track to \s-1OFF\s0, user tracks to \s-1MON\s0

\*(C`mixoff\*(C'

automix - Normalize track vol levels, then mixdown

\*(C`automix\*(C'

master_on (mr) - Enter mastering mode. Add tracks Eq, Low, Mid, High and Boost if necessary

\*(C`master_on\*(C'

master_off (mro) - Leave mastering mode

\*(C`master_off\*(C'

Track commands

add_track (add new) - Create a new track

\*(C`add_track\*(C' <s_name> [ <s_key1> <s_val1> <s_key2> <s_val2>... ] \*(C`add_track clarinet group woodwinds\*(C'

add_tracks (add new) - Create one or more new tracks

\*(C`add_tracks\*(C' <s_name1> [ <s_name2>... ] \*(C`add_track sax violin tuba\*(C'

link_track (link) - Create a read-only track that uses .WAV files from another track.

\*(C`link_track\*(C' <s_name> <s_target> [ <s_project> ] \*(C`link_track intro Mixdown song_intro creates a track 'intro' using all .WAV versions from the Mixdown track of 'song_intro' project\*(C'

import_audio (import) - Import a sound file (wav, ogg, mp3, etc.) to the current track, resampling if necessary.

\*(C`import_audio\*(C' <s_wav_file_path> [i_frequency]

set_track - Directly set current track parameters (use with care!)

\*(C`set_track\*(C' <s_track_field> value

rec - REC-enable current track

\*(C`rec\*(C'

mon (on) - Set current track to \s-1MON\s0

\*(C`mon\*(C'

off (z) - Set current track to \s-1OFF\s0 (exclude from chain setup)

\*(C`off\*(C'

rec_defeat (rd) - Prevent writing a \s-1WAV\s0 file for current track

\*(C`rec_defeat\*(C'

rec_enable (re) - Allow writing a \s-1WAV\s0 file for current track

\*(C`rec_enable\*(C'

source (src r) - Set track source

\*(C`source\*(C' <i_soundcard_channel> | 'null' (for metronome) | <s_jack_client_name> | <s_jack_port_name> | 'jack' (opens ports ecasound:trackname_in_N, connects ports listed in trackname.ports if present in project_root dir) \*(C`source "MPlayer [20120]:out_0"\*(C'

send (out aux) - Set aux send

\*(C`send\*(C' <i_soundcard_channel> (3 or above) | <s_jack_client_name>

remove_send (nosend rms) - Remove aux send

\*(C`remove_send\*(C'

stereo - Record two channels for current track

\*(C`stereo\*(C'

mono - Record one channel for current track

\*(C`mono\*(C'

set_version (version n ver) - Set track version number for monitoring (overrides group version setting)

\*(C`set_version\*(C' <i_version_number> \*(C`sax; version 5; sh\*(C'

destroy_current_wav - Unlink current track's selected \s-1WAV\s0 version (use with care!)

\*(C`destroy_current_wav\*(C'

list_versions (lver lv) - List version numbers of current track

\*(C`list_versions\*(C'

vol (v) - Set, modify or show current track volume

\*(C`vol\*(C' [ [ + | - | * | / ] <f_value> ] \*(C`vol * 1.5 (multiply current volume setting by 1.5)\*(C'

mute (c cut) - Mute current track volume

\*(C`mute\*(C'

unmute (C uncut) - Restore previous volume level

\*(C`unmute\*(C'

unity - Set current track volume to unity

\*(C`unity\*(C'

solo (sl) - Mute all but current track

\*(C`solo\*(C' [track_name(s)] [bunch_name(s)]

nosolo (nsl) - Release solo, previously muted tracks are still muted

\*(C`nosolo\*(C'

all - Release solo, unmuting all tracks

\*(C`all\*(C'

pan (p) - Get/set current track pan position

\*(C`pan\*(C' [ <f_value> ]

pan_right (pr) - Pan current track fully right

\*(C`pan_right\*(C'

pan_left (pl) - Pan current track fully left

\*(C`pan_left\*(C'

pan_center (pc) - Set pan center

\*(C`pan_center\*(C'

pan_back (pb) - Restore current track pan setting prior to pan_left, pan_right or pan_center

\*(C`pan_back\*(C'

show_tracks (lt) - Show track status

\*(C`show_tracks\*(C'

show_tracks_all (show sha showa) - Show status of all tracks, visible and hidden

\*(C`show_tracks_all\*(C'

show_bus_tracks (shb) - Show tracks in current bus

\*(C`show_bus_tracks\*(C'

show_track (sh) - Show current track status

\*(C`show_track\*(C'

Setup commands

show_mode (shm) - Show current record/playback modes

\*(C`show_mode\*(C'

Track commands

set_region (srg) - Specify a playback region for the current track using marks. Use 'new_region' for multiple regions.

\*(C`set_region\*(C' <s_start_mark_name> <s_end_mark_name>

new_region (nrg) - Create a region for the current track using an auxiliary track

\*(C`new_region\*(C' <s_start_mark_name> <s_end_mark_name> [<s_region_name>]

remove_region (rrg) - Remove region (including associated auxiliary track)

\*(C`remove_region\*(C'

shift_track (shift playat pat) - Set playback delay for track or region

\*(C`shift_track\*(C' <s_start_mark_name> | <i_start_mark_index | <f_start_seconds>

unshift_track (unshift) - Remove playback delay for track or region

\*(C`unshift_track\*(C'

modifiers (mods mod) - Set/show modifiers for current track (man ecasound for details)

\*(C`modifiers\*(C' [ Audio file sequencing parameters ] \*(C`modifiers select 5 15.2\*(C'

nomodifiers (nomods nomod) - Remove modifiers from current track

\*(C`nomodifiers\*(C'

normalize (norm ecanormalize) - Apply ecanormalize to current track version

\*(C`normalize\*(C'

fixdc (ecafixdc) - Apply ecafixdc to current track version

\*(C`fixdc\*(C'

autofix_tracks (autofix) - Fixdc and normalize selected versions of all \s-1MON\s0 tracks

\*(C`autofix_tracks\*(C'

remove_track - Remove effects, parameters and \s-1GUI\s0 for current track

\*(C`remove_track\*(C'

Bus commands

bus_rec (brec grec) - Rec-enable bus tracks

\*(C`bus_rec\*(C'

bus_mon (bmon gmon) - Set group-mon mode for bus tracks

\*(C`bus_mon\*(C'

bus_off (boff goff) - Set group-off mode for bus tracks

\*(C`bus_off\*(C'

Group commands

bus_version (bn bver bv gver gn gv) - Set default monitoring version for tracks in current bus

\*(C`bus_version\*(C'

new_bunch (nb) - Define a bunch of tracks

\*(C`new_bunch\*(C' <s_group_name> [<s_track1> <s_track2>...]

list_bunches (lb) - List track bunches

\*(C`list_bunches\*(C'

remove_bunches (rb) - Remove the definition of a track bunch

\*(C`remove_bunches\*(C' <s_bunch_name> [<s_bunch_name>...]

add_to_bunch (ab) - Add track(s) to a bunch

\*(C`add_to_bunch\*(C' <s_bunch_name> <s_track1> [<s_track2>...]

Project commands

save_state (keep save) - Save project settings to disk

\*(C`save_state\*(C' [ <s_settings_file> ]

get_state (recall retrieve) - Retrieve project settings

\*(C`get_state\*(C' [ <s_settings_file> ]

list_projects (lp) - List projects

\*(C`list_projects\*(C'

create_project (create) - Create a new project

\*(C`create_project\*(C' <s_new_project_name>

load_project (load) - Load an existing project using last saved state

\*(C`load_project\*(C' <s_project_name>

project_name (project name) - Show current project name

\*(C`project_name\*(C'

new_project_template (npt) - Make a project template based on current project

\*(C`new_project_template\*(C' <s_template_name> [<s_template_description>]

use_project_template (upt apt) - Use a template to create tracks in a newly created, empty project

\*(C`use_project_template\*(C' <s_template_name>

list_project_templates (lpt) - List project templates

\*(C`list_project_templates\*(C'

remove_project_template (rpt dpt) - Remove one or more project templates

\*(C`remove_project_template\*(C' <s_template_name1> [<s_template_name2>... ]

Setup commands

generate (gen) - Generate chain setup for audio processing

\*(C`generate\*(C'

arm - Generate and connect chain setup

\*(C`arm\*(C'

connect (con) - Connect chain setup

\*(C`connect\*(C'

disconnect (dcon) - Disconnect chain setup

\*(C`disconnect\*(C'

show_chain_setup (chains) - Show current Ecasound chain setup

\*(C`show_chain_setup\*(C'

loop_enable (loop) - Loop playback between two points

\*(C`loop_enable\*(C' <start> <end> (start, end: mark names, mark indices, decimal seconds) \*(C`loop_enable 1.5 10.0 ; loop between 1.5 and 10.0 seconds loop_enable 1 5 ; loop between mark indices 1 and 5 loop_enable start end ; loop between mark ids 'start' and 'end' \*(C'

loop_disable (noloop nl) - Disable automatic looping

\*(C`loop_disable\*(C'

Effect commands

add_controller (acl) - Add a controller to an operator (current operator, by default) use mfx to modify, rfx to remove)

\*(C`add_controller\*(C' [<s_operator_id>] <s_effect_code> [ <f_param1> <f_param2>...]

add_effect (afx) - Add effect to the end of current track

\*(C`add_effect\*(C' <s_effect_code> [ <f_param1> <f_param2>... ] \*(C`add_effect amp 6 ; LADSPA Simple amp 6dB gain add_effect var_dali ; preset var_dali. Note that you don't need ; Ecasound's el: or pn: prefix \*(C'

insert_effect (ifx) - Place effect before specified effect (engine stopped, prior to arm only)

\*(C`insert_effect\*(C' <s_insert_point_id> <s_effect_code> [ <f_param1> <f_param2>... ]

modify_effect (mfx modify_controller mcl) - Modify an effect parameter

\*(C`modify_effect\*(C' <s_effect_id> <i_parameter> [ + | - | * | / ] <f_value> \*(C`modify_effect V 1 -1 ; set effect_id V, parameter 1 to -1 modify_effect V 1 - 10 ; reduce effect_id V, parameter 1 by 10 modify_effect V 1,2,3 + 0.5 ; modify multiple parameters modify_effect V,AC,AD 1,2 3.14 ; set multiple effects/parameters \*(C'

remove_effect (rfx remove_controller rcl) - Remove effects from selected track

\*(C`remove_effect\*(C' <s_effect_id1> [ <s_effect_id2>...]

position_effect (pfx) - Position an effect before another effect (use '\s-1ZZZ\s0' for end)

\*(C`position_effect\*(C' [<s_effect_id>]

show_effect (sfx) - Show effect information

\*(C`show_effect\*(C' <s_effect_id1> [ <s_effect_id2>...]

add_insert (ain) - Add an external send/return to current track

\*(C`add_insert\*(C' ( pre | post ) <s_send_id> [<s_return_id>]

set_insert_wetness (wet) - Set wet/dry balance for current track insert: 100 = all wet, 0 = all dry

\*(C`set_insert_wetness\*(C' [ pre | post ] <n_wetness>

remove_insert (rin) - Remove an insert from the current track

\*(C`remove_insert\*(C' [ pre | post ]

ctrl_register (crg) - List Ecasound controllers

\*(C`ctrl_register\*(C'

preset_register (prg) - List Ecasound presets

\*(C`preset_register\*(C'

ladspa_register (lrg) - List \s-1LADSPA\s0 plugins

\*(C`ladspa_register\*(C'

Mark commands

list_marks (lmk lm) - List all marks

\*(C`list_marks\*(C'

to_mark (tmk tom) - Move playhead to named mark or mark index

\*(C`to_mark\*(C' <s_mark_id> | <i_mark_index> \*(C`to_mark start (go to mark named 'start')\*(C'

new_mark (mark k) - Drop mark at current playback position

\*(C`new_mark\*(C' [ <s_mark_id> ]

remove_mark (rmk rom) - Remove mark, default to current mark

\*(C`remove_mark\*(C' [ <s_mark_id> | <i_mark_index> ] \*(C`remove_mark start (remove mark named 'start')\*(C'

next_mark (nmk nm) - Move playback head to next mark

\*(C`next_mark\*(C'

previous_mark (pmk pm) - Move playback head to previous mark

\*(C`previous_mark\*(C'

name_mark (nmk nom) - Give a name to the current mark

\*(C`name_mark\*(C' <s_mark_id> \*(C`name_mark start\*(C'

modify_mark (move_mark mmk mm) - Change the time setting of current mark

\*(C`modify_mark\*(C' [ + | - ] <f_seconds>

Diagnostics commands

engine_status (egs) - Display Ecasound audio processing engine status

\*(C`engine_status\*(C'

dump_track (dumpt dump) - Dump current track data

\*(C`dump_track\*(C'

dump_group (dumpgroup dumpg) - Dump group settings for user tracks

\*(C`dump_group\*(C'

dump_all (dumpall dumpa) - Dump most internal state

\*(C`dump_all\*(C'

show_io (showio) - Show chain inputs and outputs

\*(C`show_io\*(C'

Help commands

list_history (lh) - List command history

\*(C`list_history\*(C'

Bus commands

add_send_bus_cooked (asbc) - Add a send bus that copies all user tracks' processed signals

\*(C`add_send_bus_cooked\*(C' <s_name> <destination> \*(C`asbc Reverb jconv\*(C'

add_send_bus_raw (asbr) - Add a send bus that copies all user tracks' raw signals

\*(C`add_send_bus_raw\*(C' <s_name> <destination> \*(C`asbr Reverb jconv\*(C'

add_sub_bus (asub) - Add a sub bus (default destination: to mixer via eponymous track)

\*(C`add_sub_bus\*(C' <s_name> [destination: s_track_name|s_jack_client|n_soundcard channel] \*(C`asub Strings_bus asub Strings_bus some_jack_client \*(C'

update_send_bus (usb) - Include tracks added since send bus was created

\*(C`update_send_bus\*(C' <s_name> \*(C`usb Some_bus\*(C'

remove_bus - Remove a bus

\*(C`remove_bus\*(C' <s_bus_name>

list_buses (lbs) - List buses and their parameters \s-1TODO\s0

\*(C`list_buses\*(C'

set_bus (sbs) - Set bus parameters

\*(C`set_bus\*(C' <s_busname> <key> <val>

Effect commands

new_effect_chain (nec) - Define a reusable sequence of effects (effect chain) with current parameters

\*(C`new_effect_chain\*(C' <s_name> [<op1>, <op2>,...]

add_effect_chain (aec) - Add an effect chain to the current track

\*(C`add_effect_chain\*(C' <s_name>

overwrite_effect_chain (oec) - Add an effect chain overwriting current effects (which are pushed onto stack)

\*(C`overwrite_effect_chain\*(C' <s_name>

delete_effect_chain (dec) - Delete an effect chain definition from the list

\*(C`delete_effect_chain\*(C' <s_name>

list_effect_chains (lec) - List effect chains, matching any strings provided

\*(C`list_effect_chains\*(C' [<s_frag1> <s_frag2>... ]

bypass_effects (bypass bye) - Bypass track effects (pushing them onto stack) except vol/pan

\*(C`bypass_effects\*(C'

restore_effects (restore ref) - Restore bypassed track effects

\*(C`restore_effects\*(C'

new_effect_profile (nep) - Create a named group of effect chains for multiple tracks

\*(C`new_effect_profile\*(C' <s_bunch_name> [<s_effect_profile_name>]

apply_effect_profile (aep) - Use an effect profile to overwrite effects of multiple tracks

\*(C`apply_effect_profile\*(C' <s_effect_profile_name>

overlay_effect_profile (oep) - Use an effect profile to add effects to multiple tracks

\*(C`overlay_effect_profile\*(C' <s_effect_profile_name>

delete_effect_profile (dep) - Remove an effect chain bunch definition

\*(C`delete_effect_profile\*(C' <s_effect_profile_name>

list_effect_profiles (lep) - List effect chain bunches

\*(C`list_effect_profiles\*(C'

Track commands

cache_track (cache ct) - Store an effects-processed track signal as a new version

\*(C`cache_track\*(C' [<f_additional_processing_time>]

Effect commands

uncache_track (uncache unc) - Select the uncached track version; restores effects (but not inserts)

\*(C`uncache_track\*(C'

General commands

do_script (do) - Execute Nama commands from a file in project_dir or project_root

\*(C`do_script\*(C' <s_filename>

scan - Re-read project's .wav directory

\*(C`scan\*(C'

Effect commands

add_fade (afd fade) - Add a fade-in or fade-out to current track

\*(C`add_fade\*(C' in|out marks/times (see examples) \*(C`fade in mark1 ; fade in default 0.5s starting at mark1 fade out mark2 2 ; fade out over 2s starting at mark2 fade out 2 mark2 ; fade out over 2s ending at mark2 fade out mark1 mark2 ; fade out from mark1 to mark2 \*(C'

remove_fade (rfd) - Remove a fade from the current track

\*(C`remove_fade\*(C' <i_fade_index1> [<i_fade_index2>...]

list_fade (lfd) - List fades

\*(C`list_fade\*(C'

Track commands

add_comment (comment ac) - Add comment to current track (replacing any previous comment)

\*(C`add_comment\*(C'

remove_comment (rc) - Remove comment from current track

\*(C`remove_comment\*(C'

show_comment (sc) - Show comment for current track

\*(C`show_comment\*(C'

show_comments (scs) - Show all track comments

\*(C`show_comments\*(C'

add_version_comment (comment avc) - Add version comment (replacing any previous user comment)

\*(C`add_version_comment\*(C'

remove_version_comment (rvc) - Remove version comment(s) from current track

\*(C`remove_version_comment\*(C'

show_version_comment (svc) - Show version comment(s)

\*(C`show_version_comment\*(C'

show_version_comments_all (svca) - Show all version comments for current track

\*(C`show_version_comments_all\*(C'

set_system_version_comment (comment ssvc) - Set system version comment (for testing only)

\*(C`set_system_version_comment\*(C'

Midi commands

midish_command (m) - Send command text to 'midish' \s-1MIDI\s0 sequencer shell

\*(C`midish_command\*(C' <s_command_text>

Edit commands

new_edit (ned) - Create an edit for the current track and version

\*(C`new_edit\*(C'

set_edit_points (sep) - Mark play-start, record-start and record-end positions

\*(C`set_edit_points\*(C'

list_edits (led) - List edits for current track and version

\*(C`list_edits\*(C'

select_edit (sed) - Select an edit to modify or delete, becomes current edit

\*(C`select_edit\*(C' <i_edit_index>

end_edit_mode (eem) - Current track plays full length (input from edit sub-bus)

\*(C`end_edit_mode\*(C'

destroy_edit - Remove an edit and all associated \s-1WAV\s0 files (destructive)

\*(C`destroy_edit\*(C' [<i_edit_index>] (defaults to current edit)

preview_edit_in (pei) - Play the track region without the edit segment

\*(C`preview_edit_in\*(C'

preview_edit_out (peo) - Play the removed edit segment

\*(C`preview_edit_out\*(C'

play_edit (ped) - Play a completed edit

\*(C`play_edit\*(C'

record_edit (red) - Record a \s-1WAV\s0 file for the current edit

\*(C`record_edit\*(C'

edit_track (et) - Set the edit track as current track

\*(C`edit_track\*(C'

host_track_alias (hta) - Set the host track alias as the current track

\*(C`host_track_alias\*(C'

host_track (ht) - Set the host track (edit sub-bus mix track) as the current track

\*(C`host_track\*(C'

version_mix_track (vmt) - Set the version mix track as the current track

\*(C`version_mix_track\*(C'

play_start_mark (psm) - Select (and move to) play start mark

\*(C`play_start_mark\*(C'

rec_start_mark (rsm) - Select (and move to) rec start mark

\*(C`rec_start_mark\*(C'

rec_end_mark (rem) - Select (and move to) rec end mark

\*(C`rec_end_mark\*(C'

set_play_start_mark (spsm) - Set play_start_mark to current engine position

\*(C`set_play_start_mark\*(C'

set_rec_start_mark (srsm) - Set rec_start_mark to current engine position

\*(C`set_rec_start_mark\*(C'

set_rec_end_mark (srem) - Set rec_end_mark to current engine position

\*(C`set_rec_end_mark\*(C'

disable_edits (ded) - Disable editing sub-bus, restore standard track behavior

\*(C`disable_edits\*(C'

merge_edits (med) - Mix edits and original into a new host-track \s-1WAV\s0 version

\*(C`merge_edits\*(C'

Track commands

explode_track - Make track into a sub-bus, with one track for each version

\*(C`explode_track\*(C'

move_to_bus (mtb) - Move current track to another bus

\*(C`move_to_bus\*(C' <s_bus_name>

promote_version_to_track (pvt) - Create a read-only track using specified version of current track

\*(C`promote_version_to_track\*(C' <i_version_number>

General commands

read_user_customizations (ruc) - Re-read user customizations file 'custom.pl'

\*(C`read_user_customizations\*(C'

Setup commands

limit_run_time (lrt) - Stop recording after last \s-1WAV\s0 file finishes playing

\*(C`limit_run_time\*(C' [<f_additional_seconds>]

limit_run_time_off (lro) - Disable recording stop timer

\*(C`limit_run_time_off\*(C'

offset_run (ofr) - Record/play from mark position

\*(C`offset_run\*(C' <s_mark_name>

offset_run_off (ofo) - Clear offset run mode

\*(C`offset_run_off\*(C'

General commands

view_waveform (wview) - Launch mhwavedit to view/edit waveform of current track/version \s-1WAV\s0 file

\*(C`view_waveform\*(C'

edit_waveform (wedit) - Launch audacity to view/edit waveform of current track/version \s-1WAV\s0 file

\*(C`edit_waveform\*(C'

DIAGNOSTICS

On any change in setup, the \s-1GUI\s0 display updates and \*(C`show_tracks\*(C' command is executed automatically showing what to expect the next time the engine is started.

You can use the \*(C`chains\*(C' command to verify the Ecasound chain setup. (The Ecasound command \*(C`cs-save-as mysetup.ecs\*(C' will additionally store all engine data, effects as well as routing.)

The \*(C`dump\*(C' command displays data for the current track. The \*(C`dumpall\*(C' command shows all state that would be saved.

This is the same output that is written to the State.yml file when you issue the \*(C`save\*(C' command.

BUGS AND LIMITATIONS

No waveform or signal level displays are provided.

No latency compensation across signal paths is provided at present, although this feature is planned.

SECURITY CONCERNS

If you are using Nama with the NetECI interface (i.e. if Audio::Ecasound is not installed) you should block \s-1TCP\s0 port 2868 if your computer is exposed to the Internet.

INSTALLATION

The following command, available on Unixlike systems with Perl installed, will pull in Nama and other Perl libraries required for text mode operation:

PERL_MM_USE_DEFAULT=1 cpan Audio::Nama

To use the \s-1GUI\s0, you will need to install Tk:

\*(C`cpan Tk\*(C'

You may want to install Audio::Ecasound if you prefer not to run Ecasound in server mode:

\*(C`cpan Audio::Ecasound\*(C'

You can pull the source code as follows:

\*(C`git clone git://github.com/bolangi/nama.git\*(C'

Consult the \s-1BUILD\s0 file for build instructions.

SUPPORT

The Ecasound mailing list is a suitable forum for questions regarding Nama installation, usage, feature requests, etc., as well as questions relating to Ecasound itself.

https://lists.sourceforge.net/lists/listinfo/ecasound-list

PATCHES

The main module, Nama.pm, and its sister modules are concatenations of several source files. Patches against these source files are preferred.

AUTHOR

Joel Roth, <[email protected]>

COPYRIGHT & LICENSE

Copyright (c) 2009-2010 by Joel Roth.

This is free software; you can redistribute it and/or modify it under the terms of the Artistic License, version 2.0.