Recording with Ardour

From CDOT Wiki
Jump to: navigation, search
Ardour is more comprehensive than Audacity in terms of its editing and performance capabilities.

Purpose

This WIKI explains how to use the Ardour application to create more advanced recordings.
Ardour is similar to Audacity application since is designed to create, edit and produce an auditory product.
On the other hand, Ardour is more comprehensive than Audacity in terms of its editing capabilities. Unfortunately, many people are "turned-off" from Ardour since they believe it will take a long time to learn - that is not the case. It took me more time to learn how to launch and connect various musical devices to the Jack server as opposed to learning how to use Ardour. Having the knowledge from using the Audacity application, I learned how to use Ardour to create a song within 30 minutes...
The Ardour application in the Computer Lab is considered an intermediate level of audio recording. The AVIT suite will have more sophisticated equipment for high quality recordings. On the other hand, using the Ardour application in the Computer Lab can teach elements of recording to help guide volunteers into the using the AVIT suite...
In this tutorial, we will only concentrate on recording a voice via the computer lab's webcam, and importing and some background music. The artist and performer of this song has given permission for this song to be used in these Westminster YouTube videos.


YouTube Video

If you want to see the visual steps for "Simple Recording with Audacity",
Here is a link to a customized YouTube video:


Written Instructions

Below are the instructions on how to create a simple recording (eg. commercial) using the Audacity application:
WARNING: YOU ARE NOT PERMITTED TO USE COPYRIGHTED MATERIAL WHEN USING ANY APPLICATION IN THE WESTMINSTER COMPUTER LAB WITHOUT PERMISSION OF THE ARTIST. IT IS RECOMMENDED THAT THE MUSIC YOU CREATE BE "HOME-MADE", OR USE PUBLIC DOMAIN MUSIC.



Better Tools for Advanced Recording

More advanced recording with Audacity (such as recording musical instruments and using professional-grade microphones) requires a better input recording device. For example, if the simple WebCam in the computer lab was used to record musical instrument and vocals, a great deal of audio quality would be lost.
One affordable solution is to use USB recording studio devices.
Currently, the Computer Lab does not have such a device, but a request will be made in the future for such a device.


On the other hand, in the meantime, there are at least 2 current members of the Westminster United Church congregation that own these types of devices:
  • Maudio Fast Track Pro (link to picture: click here)
  • Tascam US-122 Audio/MIDI USB device (link to picture: click here).


Although both of these devices work in the lab, the Maudio USB devices are preferred because they work with Linux systems without complex tweaking (i.e. they work "out of the box").
Since this author owns the Tascam US-122 USB device, they will be using that device throughout the remainder of this tutorial...


Automating (Simplifying) the Process

One generally assumed (and incorrect) perception of recording in Linux is the complexity of advanced recording. In order to perform advanced recording with multi-track applications, several applications required to be launched.
For Example:
  • Jack Audio Server
  • Hydrogen Drum Machine
  • Qsynth Synthesizer/Sampler
  • Bristol Organ
  • Rakarrack effects processor
(Note: vocals, guitar, bass guitar can be recorded by connecting to the USB recording device, for example the Tascam US-122, and selecting the recording device in the Audacity Preferences dialog box as "system"...)


At the heart of these applications is the Jack audio server. It acts like a "conductor" that controls and patches (i.e. connects) instruments from various applications together. Other applications accomplish this task by using features such as VST or VSTi (which Linux supports that technology).


In order to simplify things for the Westminster Computer Lab users, a program (Bash shell script) has been created to automatically launch and connect these programs together (in a very user-friendly manner), so individuals can concentrate on just recording their music. The user simply logs into the Teacher account, and double clicks on the Recording Studio icon.
File:RecordingSessionIcon.png
Clicking this Desktop Icon will launch a program to allow the user to select the type of recording session they desire.
When launching Recording Session icon from Teacher desktop, the user is presented with various instruments and options to use during their session.


Using Ardour

Creating an Ardour Session

Ardour1.png

In my tutorial, it is assumed that Ardour was automatically launched by my shell script, but you can also manually launch Ardour (assuming that the Jack audio server) has already been launched. Below are the steps to manually launch Ardour:

Steps to Launch Ardour / Create New Session

  1. In Applications menu bar, then select Sound & Video -> Audio Production -> Ardour GTK2
    Ardour2.png
  2. The Ardour Session Control Dialog Box will appear.

    Note that you will always be presented with an option to either create a new session, or open (an existing) session (just select the appropriate tab, the default tab is "new session.)

  3. For our example, we will create a new session called wiki_demo. Type the name "wiki-demo" in the Name input textbox, and then click the New button.
  4. The main Ardour window will appear.

    NOTE: click on the diagrams to the right for a larger image...


Adding a Track / Bus

Unlike Audacity, you must first create a track before recording it. In Ardour, they make reference to a Track or a Bus (we will not be discussing busses in this tutorial). Please note the steps below to create a Track or Bus:

Steps to Create a Track / Bus

Ardour3.png
  1. In the Ardour main window, click Session menu bar, then select Sound & Video -> Audio Production -> Ardour GTK2
  2. The Ardour Add Track/Bus Dialog Box will appear.
  3. For instruments such as Hydrogen Drum machine or keyboards, set Channel configuration to Stereo. When adding Tracks for vocals, or guitars the input may be mono, so in that case you can leave the Channel Configuration to Mono.
  4. Then click the Add button.
  5. The track should now appear in the Ardour main window. You may notice the track is colored. Each separate track is assigned a different color to prevent confusion (especially when working with the input device mixer - to be discussed later).
  6. Click in the name area and type the track name "Percussion", then click outside the text area. Naming your tracks helps to prevent confusion, so don't be afraid to give your tracks descriptive names.


Displaying Ardour Mixer / Selecting Input Device

Ardour4.png

Now that we have created a track, we need to select an input device to record. We will select the Hydrogen application to create a drumming pattern for our recording session. Personally, I prefer real drums, but a drum machine can be helpful in the song creation process...

In order to select our input device, we need to launch the Ardour Mixer. In order to launch the Ardour Mixer, you make the following menu selections:

WINDOW -> Show Mixer


The Ardour Mixer dialog box should appear. I prefer to move it into the other screen...


Also note that once a song is saved, your system will return your Ardour mixer to the same screen location for convenience in case you are using multiple monitors! But since this was a new session, you would be required to move the mixer manually to the desired screen location....


STEPS TO SET INPUT FOR PERCUSSION TRACK TO HYDROGEN DRUM MACHINE:
Ardour5.png


  1. In the Ardour Mixer window, Click on the button/box just below the Percussion track (labelled "1/2"), and then select edit.
  2. The input dialog box for that track appears.
  3. Click each of the inputs boxes (on left-hand side) labelled "in 1" and "in 2". This should remove the basic default inputs.
  4. Click the "out_L" and out_R" characters listed below in Available Connections.
  5. You have now set up the Percussion Track to record from the hydrogen drum machine.
  6. Click the Close button.

If you try to use the Hydrogen application to play the drums, you will NOT see any activity levels in your Percussion Track in the Ardour Mixer.

You must first, arm your track and arm the Ardour application in order to record. You can easily be tricked into thinking that it will record, since the sound from the Hydrogen drum machine is patched into your system output. Therefore, when you record without arming your tracks, ardour will not capture your recording session!


Arming the Tracks / Recording Percussion Using Hydrogen Drum Machine

Before getting recording levels, or recording your drums, you must first arm your percussion track, and also arm Ardour.


The term "arming tracks" refers back to the age of recording studios that used magnetic tape to record instruments. Ardour uses the same analogy to keep things consistent.


STEPS TO ARM TRACK AND ARDOUR

Ardour9a.png
Ardour9c.png
Ardour9b.png
  1. Return to the Ardour Main Window.
  2. In the Percussion track, click on the button that appears as a red ball.
  3. The button should now display in pink to indicate that the track is armed.
  4. Near the top of the Ardour application window (area is referred to the transport area), click on the button that appears as a larger red ball.
  5. The button should now display in pink to indicate that Ardour is ready to record the session.
  6. Go to the Hydrogen drum machine, click the play button, and start building your drumming pattern by clicking on an instrument within the 4 beat pattern. You can click on a "marked" drum beat to remove it. If you are not certain how to lay down a drum beat, you can select pre-made drumming patterns or songs...
  7. As you listen to the drumming pattern, you should notice that the input levels in for Percussion in the Ardour Mixer are starting to register.
  8. When you are ready, simply click the play button in the transport section of the Ardour main window, and then click the stop button when completed.
  9. To verify the recording, click the rewind button, and then click the play button to listen to your drumming session.

Refer to the diagrams on the right-hand side for reference when arming, and recording your tracks...


NOTE: It is highly recommended to unarm your track and unarm Ardour once you are happy with your track recording session...

Ardour10.png

Note that after recording, the color of your recorded percussion track corresponds to the color of your percussion track in the Ardour Mixer...


You basically follow the same procedures to Add a Track, Select device Input (i.e. select another instrument), Arm the Track and Ardour, and then record your session.


One essential step that is missing is to add effects to your recording session. This is where Ardour is better at recording than Audacity. The next section will discuss how to setup your Ardour session to hear a special effect added to your sessions WHILE you are playing the instrument at the same time....


For the next section, we will create a Track for the Vox Continental Organ, and add the reverb effect using the calf effect plugin...


Adding Keyboard Tracks / Assigning Instruments for Keyboard

Ardour12a.png
Ardour12b.png

I am assuming for this tutorial that you have launch the Bristol Hammond B3, Vox, and Rhodes Piano keyboards...

Preform the following steps to Add other Track called "Vox Organ": (If unsure, follow the steps discussed above)


  1. Create a new stereo track called Vox Organ.
  2. In the Ardour Mixer, set the Input Device as Vox Organ for right and left channel
    (This will appear as Bristol, Bristol-01, Bristol-02 depending which one was launched in sequence).
  3. Arm the Vox Organ track and arm Ardour for recording.


In order to assign MIDI channels in Qsynth, when you click the Channels button, you will see the Channels dialog box appear. Notice that this dialog box allows for a total of 16 midi channels (this is more than I require for a typical practice or performance). If you require more, you can save different midi instrument assignments to various profiles (perhaps to be loaded between your sets).
Steps to Assignment of Instruments:
Assigning Instrument (program) to a Bank (i.e. "SFID" or "Offset").
  1. When adding sound-fonts into Qsynth, write-down the SFID number (i.e. Sound-font Identification number) - Do NOT close this dialog box quite yet!
  2. Now, here's the trick: For each sound font, make certain that the "Offset" number corresponds to the same number as the SFID!
  3. Now, click OK to save and exit the sound-font dialog box.
  4. If you are running Jack, then you need to restart the Jack engine. This will require that you manually connect the instruments in the "Jack Connections" dialog box. If this is "a pain", you could always quit all applications, and re-run your Bash shell script to launch your music session...
  5. Go to the Channels dialog box, and double-click on a midi channel.
    I am selecting the next available channel - 13.
  6. The Channel 13 Midi Channel Dialog box appears.
  7. Select the Bank number (which corresponds to the Offset or SFID that you have written-down).
  8. Then click on the program number to select an instrument (depending on the sound-font, there may be only one to select, or a wide variety if the sound-font is a bank of sounds).
  9. !! NOTE: in order for the changes to take effect, you need to click the Save button; otherwise, all your changes will be lost!
  10. You may need to restart the Jack engine and re-establish your connections.


How to Re-establish or Add Connections in Jack Audio Server

To be completed...


Adding Reverb Effect

When playing the Vox organ, it sounds nice, but it may be better to add a little reverberation (or "reverb") to soften this high-pitched organ sound in order to make it blend in better with the other instruments. We will be added in an effect which will be running a plug-in called Calf Reverb..


STEPS TO ADD REVERB TO VOX ORGAN

Ardour15a.png
Ardour14.png
Ardour15b.png
  1. Go to the main Ardour Window.
  2. In the Ardour main menu, click OPTIONS -> MONITORING -> Ardour Does Monitoring (instead of "Jack Does Monitoring"). This will allow you to hear the reverb when your actually play the Vox organ. This feature is an improvement over Audacity where you would have to add that effect AFTER your record your instrument (like the Vox organ)...

  3. In the Ardour Mixer Window for Vox Organ, right click in the black space below the Record button (which, in turn, is below the button you clicked to select the bristol (Vox) organ)...
  4. Click New Plugin in the content menu, and another menu open (called a sub-context menu). In the sub-context menu, click Plugin Manager.
  5. A Plugin Dialog box will appear. This is an easy method to select your type of plugin effect by simply typing the name of the effect in the Name contains textbox.
  6. Type reverb in the Name contains textbox.
  7. All reverb plugins are displayed. Click Fav (or Favorite) radio button beside Calf Reverb. This effect plugin will now be stored as a favorite for quick access next time...
  8. Click the Close button.
  9. Again, right click in the black space below the Record button, click New Plugin, then click Favorites, and select Calf Reverb.
  10. The Calf Reverb effect plugin now is displayed in the black space below the Record button.
  11. Double-Click on that text "Calf Reverb".
  12. The Calf Reverb Plugin Window appears. Set the reverb at the bottom to Medium.


Play the organ. You should now hear reverb as you play!


Record your Organ track and then unarm the track and unarm Ardour when you completed your track recording...


Recording Guitar / Bass Guitar / Vocals

The procedure to record Guitar, Bass Guitar, or vocals is similar, but after creating new track (mono), select the device (System -left, System - right)

Follow same procedures to arming and recording the new tracks...


Exporting Project to Standard Audio File

The ardour Export dialog box used to create a final audio product

Unfortunately, there is no method with the current version of Ardour that will export audio projects to the MP3 format. This feature may be available in future versions.

On the other hand, there are simple programs that can convert one type of file type to another (for example, an ogg file to an MP3 file). Therefore, for the time being, the procedure will be to export the audio project to an ogg file, then run another program to convert the ogg file to an mp3 file.

Exporting Audio Project to an OGG File

In order to save the audio project into a file format for playing on other devices, then slick on the Session menu, and select Export -> Export session to audiofile. An Export dialog box will appear.

Type a filename for the audiofile, and click Export.


Program to Convert Ogg to MP3 File Format

To be completed...

Quickest Method for Shutting Down Applications

Triangles that appear under the application icons in the docking panel indicate program(s) running. The user can right-click and select "close" or "close all".

After the recording session, there are many applications that are open.

The quickest and most efficient method to closing applications is by using the docking station panel. When an application is running, a triangle appears below the application icon to indicate an instance or multiple instances of that application running.

To close the running application(s), simple right-click on the application icon, a select "close" or "close" all.


Additional Resources

The "Official" Ardour Manual is currently being developped. These are links to the next best (more complete) manual:

[ PDF ] [ html ]