GNUsound can be installed with little pain on most GNOME 1 or GNOME 2 installations.
It is recommended/required that you install the following software before compiling/installing GNUsound:
Linux >= 2.4
GNOME >= 1.4
libglade >= 0.14
libaudiofile >= 0.2.3
libsamplerate >= 0.13
OSS compatible sound driver
In addition, it is recommended that you use reasonably fast hardware (say, a 500 MHz PIII) and install lots of RAM (really).
To install GNUsound from source try:
$ ./configure --enable-optimization $ make $ make install
Don't forget that
$ ./configure --help
shows further configuration options. If you decide to uninstall GNUsound, you can issue the command:
$ make uninstall
Considerable effort has been expended trying to make GNUsound compile and install flawlessly on many different systems, but it is still possible that something doesn't work for you. In that case, please report it.
Several people provide binary packages of GNUsound for a number of distributions. These are available from the GNUsound homepage.
If installation has been successful, there should be a GNUsound icon in your GNOME menus. Alternatively you can start GNUsound from the command line:
$ gnusound
This latter method is actually recommended (at least for the time being), because GNUsound spews copious output to the screen, including some error messages that haven't found a place in the GUI yet (such as when GNUsound cannot open the audio device).
If you run into problems, e.g. GNUsound won't start, or it crashes immediately after startup, see the installation section and read the output from
$ ./configure --help
GNUsound uses libaudiofile, which is a part of GNOME, to provide support for a number of popular audio file formats such as .AIFF and .WAV.
You can create a selection on a track by dragging the mouse pointer over the region that you wish to select, or by holding the SHIFT key and giving one of the movement commands in the Select menu. You can select multiple tracks by holding the CONTROL key while clicking on the tracks that you want to select. If a track is already selected, then this action deselects the given track. It is also possible to select multiple tracks by issuing the Track Up and Track Down commands from the Select menu.
Changes to the selection are undoable, thus, if you make a mistake which causes you to lose an important selection, you can issue the Undo command to get your selection back.
A handy trick to temporarily save a selection that you don't want to lose while you do some editing elsewhere is to turn the current selection into a loop, then do your stuff, and then to select the loop when you're done. Alternatively, you can set cuepoints to demarcate the selection that you want to save, then use Snap to Cuepoints and the Move Left and Move Right commands to get your selection back.
Cuepoints are markers that you can attach to the soundfile. By double-clicking on the little red triangle you can change the label for a marker.
You can create cuepoints by pressing M or by selecting the corresponding option from the Marker menu. If there is no selection, this command creates a single marker at the cursor position. If there is a selection, then this command creates 2 markers, at the left and right positions of the selection.
GNUsound is either in selection editing mode or in envelope editing mode. You can switch between these modes by toggling the Envelope Edit setting under the Edit menu.
Once in envelope mode, you can click on a track to create envelope handles. Clicking on the envelope handles themselves allows you to move them around. GNUsound provides two different envelopes for controlling two different parameters: the primary and the auxiliary envelope. Holding CONTROL while clicking on a track allows you to edit the auxiliary envelope.
Envelopes modify the behavior of the tools that you apply to the selection. For example if you create a selection, then draw an envelope across the selection that slopes downward from the center, and then apply the Amplify tool (from the Tools menu), it will make the sound softer. Thus, the envelope controls the gain parameter of the Amplify tool.
The exact effect of an envelope depends on the selected tool; some tools don't have any parameters to change, and the envelopes will have no effect. For other tools, the primary envelope usually controls the first parameter, and the auxiliary envelope controls the second parameter. For yet other tools, it may be possible to explicitly assign a parameter to one of the two envelopes.
It is possible to temporarily disable envelopes by issuing the Show Envelopes command. The envelopes will then become invisible and they will no longer affect any tools that you use.
GNUsound can playback as many tracks as your hardware can handle. Every track can be mixed onto as many output channels as desired, using the mixer level controls (the rainbow colored things).
GNUsound does not perform any implicit transformations of the audio file on playback[2]it just tries to open the audio device with the same parameters as the audio file (number of bits, sample rate) and starts playback. You should check GNUsound's output for any warnings (e.g. when the device could not be openend, or when the audio device can't support the requested sample rate -- these warnings do not appear in the GUI yet).
GNUsound does not perform any checking on output clipping: it is your responsibility to make sure you don't mix two channels too loudly.
GNUsound can record as many tracks simultaneously as your hardware will bear. You do this by selecting the tracks you wish to record on and issuing the Record command.
There is no relation between which tracks are selected and which input channels are actually recorded except for the number of channels: that is, if you select tracks 1 and 3 and then start to record, track 1 will receive the first input channel, and track 3 will receive the second input channel.
There is currently no way to explicitly control which input channels GNUsound records from. GNUsound will always incrementally assign the available input channels to the selected tracks. If there is one selected track, GNUsound records from the first available input channel, if there are two selected tracks, GNUsound records from the first two input channels, etcetera.
You can issue the Save command at almost any time. Files are saved in the background and it is possible to perform almost any operation during a file save, including playback (although playback may stutter depending on your system configuration). Files are always saved in the .WAV format. Envelopes, cuepoints and other data are saved in a filename.usx file, in a fairly self-explanatory text format.
GNUsound currently stores all its data, including clipboard and undo buffers, in memory. Ultimately some logic will be implemented to offload portions of that to disk, but for the time being you have to be a little considerate to prevent GNUsound from swallowing all available memory. One tool to help with that is under the Debug menu, where you can find the option Destroy Undo. This destroys all undo's, thus releasing all memory in use by the undo buffers. Of course you should only use this option when you don't need those undo's.
If GNUsound crashes it will attempt to save data in open and modified buffers. It tries to save that data to the file filename.crash. No guarantees though -- if GNUsound crashes, it's because something is seriously broken, and basically all bets are off.
[2] There is one exception: GNUsound can convert signed 8 bit samples to unsigned 8 bit samples for drivers/devices that do not support signed 8 bit output. Whether GNUsound does this is controlled by the playback_signed_int8_to_unsigned_int8 parameter in the configuration file.