|
|
NamaEasy multitrack recording with Ecasound
Mon, 16 Feb 2026
This should give you some idea what to do and what to expect. Tab completion and command shortcuts are available to reduce typing. Formatting key:
[ startup messages, defaults to "untitled" project ] We create a project, 'mysong' with a track 'bass', which is now the current track.
The prompt indicates the project and currently selected track.
For simplicity, I'll remove the project name from the prompt in the rest of this tutorial.
Now we set the source:
The soundcard definition and other configuration info resides in ~/.namarc
Track 'bass' is set to record version 1 (take 1) from soundcard channel 3. There is also a signal path to the mixer output. The effects-processed output of track 'bass' belongs to the 'Main' (default) bus, which means its output feeds track 'Main'. 'Main' hosts the final fader controls before the mixed signal goes to the soundcard output channels 1 and 2. The level of the volume fader is in dB, so zero in the listing about means 100%.(Note 1) Suppose that we don't need any audio monitoring, and we want to only record. We could just mute the output.
As you see, multiple commands can be separated by semicolons. Since selecting a track by name or number and then performing actions on that track is common, you can just prepend the track name or number to any command.
However, let's remove the signal path entirely. That's one less audio stream to process.
The command is applied to the 'Main' track because, as the prompt confirms, 'Main' is selected as the current track. The change in audio routing triggers a reconfiguration and a fresh track display showing the updated status.
Because the engine is configured, Nama prints the following:
It looks like we're ready to go. To be sure, Let's check the Ecasound audio network definition.
Even without knowing Ecasound command syntax, you can see that a file is going to be written. The directory path and the sample frequency come from the config file F<.namarc>, which is YAML plus comments. Now we press SPACE to start the engine, lay down our bass part, and press SPACE again to stop it. This creates ~/nama/mysong/.wav/bass_1.wav. Nama will print an updated the track display, automatically selecting the just recorded version and setting the track to PLAY.
You can press SPACE to play your track. But there will be no audio because we left the Main track OFF (out of the routing network) and the track fader is also muted.
Now we'll get sound. Let's reduce the master fader volume by 3 dB
To set a volume of -10 dB:
To view the volume of the Main track:
You can put multiple commands in one line, using semicolons to delimit statements.
Most commands have abbreviations. Instead of "add-effect Plate" we could say "afx Plate". Plate is the name of an effect plugin. If you are looking for a reverb plugin, you can type "find-effect reverb". Set the first parameter of the current effect to 1.3:
Show the parameter settings of the current effect:
Selecting a track will also select the current effect for that track. In addition to current track and current effect, Nama has a current bus, current mark, current sequence and current edit. Note 1: Nama defaults to setting volume in percent. To specify volume in dB, set fader_op: eadb in namarc. Thu, 25 Dec 2014Welcome to Nama!Nama manages multitrack recording, mixing and mastering using the Ecasound audio processing engine developed by Kai Vehmanen. Nama's high-level representation of tracks, buses and signal-routing handles most common recording scenarios. The command language provides full functionality to console users, while a simple GUI is available for basic recording and mixing work. Nama's GUI is ugly. There, I've said it. At least, you can change the default colors. On the positive side, the GUI offers basic functionality: recording, playback, effects, marks. Sliders are a convenient way of setting effect parameters. You'll use text commands to do fancy stuff like buses, inserts, regions, etc. The first group of shots show the mixer window. All of those letters on the right side of the track display (EF P1 P2 L1 L2 L3 L4) are buttons for accessing Ecasound effects, Ecasound presets, and LADSPA plugins. The GROUP control below the Mixdown track is a global setting that influences all user tracks. The Palette and Namapalette buttons on the upper right are for selecting colors. Mixer Window - Rec
The track in red is ready to record a file track_4.wav from soundcard input 2, the track in blue is set to play back vocal_2.wav. (The version number is automatically incremented.) Red in the top band indicates a live input will be recorded. Yellow means mixdown pending, green means playback only. The Effects Window - BasicEcasound and LADSPA provide Nama's effects-processing. At the bottom, a MIDI controller is applied to control the delay time of a flanger effect on the guitar track. At the top, a reverb effect is applied to what is now called the Master track. Additional effects on a track scroll off to the right.
Text DisplayLike Ecasound, Nama can be run entirely from a terminal. Here is the output of
the
Information about one track is displayed with the
The help screen is two keystrokes away. Nama now uses Graph objects to represent the signal routing. I made some diagrams based on these routing graphs. They are kind of cool to look at. The layout was done automatically, not exactly what you'd expect in hand-drawn diagrams. Here is the signal flow for recording a single track against an accompaniment. The signals are mixed and output for monitoring. Effects are applied between track input and output. Here is the signal flow for mastering a song of three tracks. The guitar signal passes through an external JACK program, jconv. The soundcard output is usually turned off during mixdown so that engine can run in freewheeling mode. FeaturesConvenient multitrack audio production
Advanced functionality
JACK and ALSA support
Plugin support
GUI
Full-featured Text UI
Help system
Stable
Limitations
####Q. Why another digital recording software? Aren't there enough already?
A. There are never enough audio applications. Just like good restaurants, there is always room for one more. Also, Nama is text-based. It can run in a console. This can be useful for several reasons:
Q. Why bother to reinvent the wheel?A. Nama absolute avoids reinventing the wheel! All audio processing for Nama is performed by Ecasound, by LADSPA plugins, and by external programs such as jconverter. Most of the computer science goodness in Nama is from CPAN, a huge archive of freely available software libraries written in Perl. So that's reuse, too. :-) Q. Why is Nama written in Perl? Everyone knows that Python or Ruby would be easier to read, C++ would be faster, C# or [insert your preferred language here] would be cooler, etc.A. No answer, really. Just a personal preference. Q. Why not just use Ecasound directly? Why do you need a complicated front-end like Nama?A. Nama adds convenience. Ecasound has no concept of a track, mixer, or bus. Whatever you need, you must build out of chains, objects and operators, which is time-consuming for complicated setups. Nama gives you all that and more with just a couple of commands. Q. Can you really record/mix/master without a GUI?A. Yes, if you're willing to use your ears. :-) I could suggest mhwaveedit if you need a simple app to visualize a waveform. Q. How does Nama/Ecasound compare to Audacity?A. Unlike Audacity, Nama applies effects in real time by default. A reverb effect can be applied to a stream as it is played back or arrives from the soundcard. To save CPU, Nama also has a track-caching (track-freezing) function similar to the way Audacity batch preprocesses each track as you apply an effect. Q. What super-cool features does Nama have?Almost all of Nama is awesome. Effect chains and effect profiles. They are like presets. Effect chains are for one track and can include several effects. Effect profiles are for multiple tracks. Inserts with wet/dry control are cool. Auto fades on transport start/stop are cool. The command language allows a single command to be executed on multiple tracks, multiple effects, and/or multiple effect parameters. The help system covers LADSPA effects and Nama commands. Commands can be listed by category. Commands and effects can be searched by keyword. Q. What about bugs? Is Nama suitable for recording theBoston Symphony Orchestra, or will it crash and burn? A. Ecasound is a mature and reliable audio engine that has been thoroughly tested. So Nama inherits all that. Although Nama's own logic is vulnerable to bugs, many have been beaten out from under Nama's carpets. A basic test suite now ensures that patches and new features can be applied somewhat safely. Several other design features help keep Nama reliable:
Q. Ardour kicks ass, so why would I want to use Nama?Nama is easy to learn and minimal. It can run without X and without JACK. If you want the kitchen sink, Ardour is for you. Q. Why didn't you choose Ardour as audio engine, using the scripting interface?A. When I started writing Nama, Ardour was a beast to build, it segfaulted all the time, and there was no support for building alternative user interfaces. Ecasound is stable, works with or without JACK, and is designed to interface with other software. Releasing v1.203I am happy to announce Nama version 1.203. With this release, the effects-handling code has been fully converted to Nama's OO model and several issues resolved. For users, the add-effect and remove-effect commands will now work on effect chains as well as simple effects. Effects can be addressed by effect ID, user alias or effect code. Some bus-related commands have been renamed to conform standard terminology. For those who care to prod and hack the sources, Nama's variables, defined in src/var*, are now documented in varoverview. I welcome feedback from any tire-kicking, torture-testing etc. Ongoing Improvements - now at Version 1.102Nama has continued to evolve. Git support has been integrated. It is now the preferred way to manage projects, as it allows branching and returning to a previous state. For easy transition Nama offers save/get commands that work with branch names the way you would expect to work with files. Adopting Git has led to changes in serialization. For each project, git tracks one file (State.json) containing data that directly affects project audio. Track and version comments, and other peripheral data is stored separately. Effect chains and profiles have been re-implemented in a much cleaner way, and may include inserts as well as effects and controllers. For user convenience, times can be specified in samples as well as seconds. Underlying storage is as double-precision floats with 15-17 significant figures. (March 4, 2013) Julien Claassen's Nama pagesJulien has been Nama's number-one tester, and his feature requests are behind many of Nama's newer abilities. He's writing his own pages about Nama. Right now it's mostly links to his music. Lately he's been using Leslie IR files with jconv to give Leslie sound to his organ recordings. Nama's cache_track function makes it possible for him to free up CPU by preprocessing those files. Thu, 07 Jan 2010LinksEcasound. The well-designed audio processing app on which Nama is based. Julien Claassen's Nama pages. Nama's number-one tester, adjutant and booster has links to music he's created and other helpful material about using Nama. Sun, 27 Dec 2009Future developmentsMost people will go to an application like Ardour for professional-level audio production needs, so Nama's development will be driven by user needs, and by any developer contributions. Nama could potentially do a lot more. Here are some ideas I have floating around.
Nama manages multitrack recording, mixing and mastering using the Ecasound audio processing engine developed by Kai Vehmanen. |