From Fedora Project Wiki
(second edition)
m (added out-of-date admonition)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{admon/note|This Is out of Date|The most recent revisions of the Musicians' Guide are now available from the [https://fedorahosted.org/musicians-guide/browser/en-US git repository].}}
<!--
Address: User:Crantila/FSC/Sequencers/Rosegarden
Address: User:Crantila/FSC/Sequencers/Rosegarden
DocBook: "Rosegarden.xml"


** BUG: I have an audio score open in Rosegarden; Qsynth and QjackCtl are also open. Then, I double-click on an audio segment to edit it in Audacity. Now there's no audio until a system restart.
[http://www.64studio.com/manual/audio/rosegarden]


!! BUG: I have an audio score open in Rosegarden; Qsynth and QjackCtl are also open.  Then, I double-click on an audio segment to edit it in Audacity.  Now there's no audio until a system restart. !!
-->
== Requirements and Installation ==
== Requirements and Installation ==
As with the other Qt software in this guide, Rosegarden does not have any KDE dependencies.  As such, GNOME users will not need to install KDE in order to use Rosegarden.  Certain Qt toolkit packages will be automatically installed.
=== Software Requirements ===
=== Requirements ===
Rosegarden requires the JACK Audio Connection Kit, which helps it to connect to your audio hardware and other JACK-aware programs.  If you have not already installed JACK, it is recommended that you do so before installing Rosegarden.  Instructions for JACK installation are located [[User:Crantila/FSC/Sound_Servers#Installing_JACK|here]].
List of Installation Requirements:
* both the "feta" and "parmesan" fonts
* libsndfile
* libsamplerate
* FFTW
* JACK
* some Qt dependencies
* LADSPA is brought in somewhere


In addition to the above-listed requirements, which will be installed automatically with Rosegarden, you will need to install a MIDI-capable synthesizer.  The reason that this is not automatically installed with Rosegarden is that it allows the user maximum flexibility in choosing which synthesizer to useMoreover, there are a great number of synthesizers - some of them hardware devices - that each have different capabilities and different sounds.  For this reason, it is not common practice for MIDI sequencers to choose a synthesizer for the user.
Rosegarden's graphical interface uses the "Qt toolkit," like the KDE Software Collection.  QjackCtl, Qsynth, and Qtractor also use the Qt toolkit, but if you have not installed any of these, and you are a GNOME user, Rosegarden may install the Qt toolkitThe toolkit may take a while to download, but is useful for a large number of programs.


Most users, at least when starting out, will find that FluidSynth is a highly flexible synthesizerIts use is documented elsewhere in this guide, it comes recommended by Rosegarden's "Welcome" screen, and it will be used here for demonstration purposes.
=== Hardware Requirements ===
In order to use Rosegarden, you will need an audio interfaceIf you wish to record audio into Rosegarden, the audio interface must be capable of recording, and you must have external hardware such as microphones to capture the sound.  Rosegarden is useful without recording audio.


In addition to independent MIDI synthesizers, Rosegarden supports the use of DSSI synthesizer plugins.  The use of DSSI plugins will not be discussed in this guide.
=== Other Requirements ===
In addition to the above-listed requirements, you will need to install a MIDI-capable synthesizer.  Rosegarden does not automatically install a synthesizer so that you have the greatest amount of choice.  There are a large number of synthesizers, both hardware- and software-based, which all have different capabilities and produce different sounds.  Rosegarden is a "MIDI sequencer," meaning that it will trigger and control a MIDI synthesizer, but without synthesizing audio directly.
 
Most users, at least when starting out, will find that FluidSynth is a highly flexible synthesizer.  It is recommended by Rosegarden's "Welcome" screen, and it will be used here for demonstration purposes.  The [[User:Crantila/FSC/Synthesizers/FluidSynth|FluidSynth\Qsynth Chapter]] explains how to install and use FluidSynth, along with its graphical interface called "Qsynth."
 
In addition to independent MIDI synthesizers, Rosegarden supports the use of DSSI synthesizer plugins, which is not discussed in this Guide.


=== Installation ===
=== Installation ===
This is a little bit more difficult to guess than for some other applicationsThe package is not called "rosegarden", but "rosegarden4", indicating that it is written for KDE 4.  This was useful when the KDE 3 version was still around (long after KDE 4's release).
Before installing Rosegarden, you should install the JACK Audio Connection KitIf you have not already installed JACK, you can follow the instructions [[User:Crantila/FSC/Sound_Servers#Installing_JACK|here]].
<ul>
 
<li>Use PackageKit or KPackageKit or run <code>su -c 'yum install rosegarden4'</code> to install the "rosegarden4" package.</li>
To install Rosegarden, use PackageKit or KPackageKit to install the "rosegarden4" package. You could also install Rosegarden from a terminal by running the following command:
<li>Install a MIDI synthesizer, as required.</li>
<pre>su -c 'yum install rosegarden4'</pre>
</ul>


== Configuration ==
== Configuration ==
(no algorithms)
=== Setup JACK and Qsynth ===
=== Setup JACK and Qsynth ===
# Start QjackCtl to control JACK.
# Start QjackCtl to control JACK.
# Start Qsynth to control FluidSynth.
# Start Qsynth to control FluidSynth.
# In order to receive MIDI input from Rosegarden, Qsynth will need to be configured to use the "alsa_seq" MIDI Driver.  See the other chapter for instructions.
# In order to receive MIDI input from Rosegarden, Qsynth will need to be configured to use the "alsa_seq" MIDI Driver.  Instructions for doing this can be found in [[User:Crantila/FSC/Synthesizers/FluidSynth#MIDI_Input_Configuration|this section]].
# You will probably want to disconnect all JACK connections except for those that you want to use with Rosegarden.  Open QjackCtl's "Connect" window, and verify the following:
# You may want to disconnect all JACK connections except for those that you want to use with Rosegarden.  Open QjackCtl's "Connect" window, and verify the following:
#* On the "Audio" tab:
#* On the "Audio" tab:
#** Qsynth's output ports are connected to the "system" input ports.
#** Qsynth's output ports are connected to the "system" input ports.
#** If you plan to use audio in Rosegarden (in addition to MIDI), then you will need to connect its output ports to the "system" input ports, too.  The ports labeled "record monitor" are to be used to monitor audio while it is being recorded.  The ports labeled "master out" will be used during regular file playback.  You may need to adjust these several times while using Rosegarden.
#** If you plan to use audio in Rosegarden (in addition to MIDI), then you will need to connect its output ports to the "system" input ports, too.  The ports labeled "record monitor" are to be used to monitor audio while it is being recorded.  The ports labeled "master out" will be used during regular file playback.  Rosegarden does not need to be connected directly to the system output ports if you are only using MIDI.
#** If you plan to record audio in Rosegarden, then you will need to connect an output port (probably from "system") to Rosegarden's input port.  Be aware that Rosegarden can record from two independent sources ("1" and "2"), with two channels ("L" for left and "R" for right) from each, to produce a stereo recording.
#** If you plan to record audio in Rosegarden, then you will need to connect an output port (probably from "system") to Rosegarden's input port.  Be aware that Rosegarden can record from two independent sources ("1" and "2"), with two channels ("L" for left and "R" for right) from each, to produce a stereo recording.
#* On the "MIDI" tab:
#* On the "MIDI" tab:
Line 51: Line 52:


If a connection isn't being used, it's better to leave it disconnected, to avoid making mistakes.
If a connection isn't being used, it's better to leave it disconnected, to avoid making mistakes.
=== Setup Rosegarden ===
=== Setup Rosegarden ===
# 'Edit > Preferences'
# 'Edit > Preferences'
Line 63: Line 65:
#* Changing the external audio editor only affects when you choose to use an extrenal editor.
#* Changing the external audio editor only affects when you choose to use an extrenal editor.


== Saving a Configuration ==
== Rosegarden and LilyPond ==
This will be about LASHStart with [http://www.nongnu.org/lash/ this]I don't know how to do this, yet.
Rosegarden and LilyPond can be used together, which can greatly enhace your productivity.  LilyPond will output a MIDI-format representation of your score if you include a "midi" section in the "score" sectionIt should look something like this:
<pre>
\score
{
  ...
  \midi { }
}
</pre>
This MIDI file can then be imported into Rosegarden by selecting from the menu 'File > Import > Import MIDI File'Unfortunately, this will erase the current session, so it can be done only once.


== Other File Formats ==
It is also possible to export MIDI tracks to LilyPond format, which can then be edited further or simply turned into a score.  To do this, from the menu select 'File > Export > Export LilyPond File'.  After you select a location to save the file, Rosegarden allows you to control some score settings while exporting.  After exporting a LilyPond file, you should inspect it with Frescobaldi before relying on it to be correct - computers sometimes make mistakes!
About LilyPond exporting, MIDI support, Csound, Hydrogen, etc.


I don't think we'll need algorithms for this.
== Tutorial: Write a Song in Rosegarden ==
 
== Write a Song in Rosegarden ==
=== A Note on Using the Notation Editor ===
=== A Note on Using the Notation Editor ===
When you're using the notation editor, and the pitches don's stop playing, do this.
When you're using the notation editor, and the pitches don's stop playing, do this.


=== Start the Score ===
=== Start the Score with a Bassline ===
# Have QjackCtl, then Qsynth, then Rosegarden
# Start QjackCtl, then Qsynth, then Rosegarden.
# Set Qsynth to use the default SoundFont (FluidR3)
# For this tutorial, we'll be using the default "Fluid R3" SoundFont, but you can use any General MIDI SoundFont.
# Connect in JACK to use MIDI only
# Setup Rosegarden in JACK for MIDI use only.
# In Rosegarden 'Edit > Preferences' then MIDI then General then yes to "Send all MIDI controllers... " so that yadda yadda
# From the Rosegarden menu, select 'Edit > Preferences'.  Click the "MIDI" tab, then the 'General' tab, then select "Send all MIDI controllers at start of each playback". This will ensure that the MIDI synthesizer (FluidSynth for this tutorial) uses the right patches.
# in main screen, select first channel and first two bars, drag out to fill
# Create a new segment.
# it says "Acoustic Grand Piano"
## Click on the "Draw" tool on the toolbar (it looks like a red pencil), or press 'F3' on the keyboard.
# double-click the box that you made
## In the first track, click-and-drag to select the area over the first two bars.
# input equivalent to " c4 c c c8 g | es4 es d8 f d g "
## When you release the mouse, there should be a rectangle that says, "Acoustic Grand Piano," or something similar.
## first change the clef
# Double-click on the rectangle to open the default MIDI segment editor.  It should be the notation editor.
## here's how
## Change the clef.  Click on the bass clef on the toolbar at the left side of the editor window.  Then click on the existing clef to replace it.
## more tips
## Switch to the note-inputting tools as required.  They're located next to the clef tools, in the toolbar at the left of the notation editor window.
## isntructions
## Input three quarter-notes on c, two eighth notes on c and g, two quarter-notes on e-flat, and four eighth notes on d, f, d, and g.
# you'll make mistakes, here's how to fix them
# You'll probably make a few mistakes.  The easiest way to fix a mistake is to erase the note/s and re-input the correct note/s.  You can use the eraser tool for this.  It's located on the top toolbar of the score editing window, to the left of the capital "T," and to the right of the red pencil.  It looks like a red and white rectangle, which represents a standard white eraser.
## fix
# Listen to your creation by clicking on the 'play' button in the transport window.  The playhead won't stop until you stop it, even though the visible playhead (the vertical line) will stop.
## fix again
# Close the notation editor - you don't need to click the 'save' button, because Rosegarden will automatically keep your changes.
## fix some more
# You should save the file, though.
# play it
# Click the "Select and Edit" tool, which looks like a mouse cursor on the toolbar.  You can also select that tool by pressing 'F2' on the keyboard.
## transport won't stop until you stop it - but the line on the staff stops
# Select the segment you just created by clicking on it.
# close the notation editor; note that it will automatically be preserved
# Create a copy of it by holding the 'Ctrl' key on the keyboard, as you click-and-drag the segment.
# save the file for fun
# Place the copy in the same track, immediately after the first segment.
# change to "Select and Edit" tool (press F2 or select the mouse pointer on the toolbar)
# Create a few more copies like this.
# select the segment you just created
# Use the transport to move the playhead to the start (click the button that looks like a vertical bar with a single-direction arrowhead pointing towards it).
# press and hold Ctrl while you create a copy and drag it to the end of the first copy; repeat a few times
# Name the newly-created track by double-clicking on its name.  A window will pop up, allowing you to rename the track.  If you don't know what to call it, try "Bass line."
# use the Rosegarden Transport to move the transport to the start, then press "Play" to listen to it, then stop it, then return to beginning
# name the newly-created channel; perhaps "Bass Line"
 
=== Channel 2 ===
# select second channel and name it "Percussion"
# go to side-panel, "Instrument Parameters" and select "Percussion"; leave everything else
# Play the transport so it resets the program
# F3 or click on "Draw Tool"
# drag out a one-measure space in channel 2
# double-click on the one-bar segment to get the notation editor
# each pitch is a different percussion instrument; experiment to find a four-quarter-note, one-measure patter that you want to repeat
# close it - note how it's automatically preserved
# change to select tool
# select the new percussion segment and 'Edit > Copy'
# move the tranpsport to the end of the first measure
## first move to beginning
## press "Fast forward" so it's at the end of the first measure
# make sure the 2nd channel is still selected
# press Ctrl+V or 'Edit > Paste' several times so that the percussion thing fills up the same space as the bass line


=== Spicing up the Percussion ===
=== Add a Percussion Track ===
** You want to add information about the Percussio Matrix Editor here
# Select the second track, and rename it to "Percussion" (or something else, if you prefer).
# it's not cool enough, so you want to spice it up by adding off-beat accents
# In the "Instrument Parameters" portion of the toolbox on the left side of the editor window, check the "Percussion" check-box.
# double-click on the first percussion segment, to open it in the notation editor
# Play the transport for just a second, so that Rosegarden synchronized the re-assignment with FluidSynth
# go 'Edit > Select Whole Staff'
# Press 'F3' on the keyboard, or click on the "Draw" tool, which looks like a pencil.
# then 'Adjust > Notes > Eighth Note'
# Create a one-measure segment in the second track, then right-click on the segment, and select 'Open in Percussion Matrix Editor'.
# this compressed the notes, and it isn't what you wanted
## The percussion matrix editor is like the matrix editor, but each pitch is labeled with the instrument it triggers.
# 'Edit > Undo'
## Experiment with the different instruments and pitches to find a pattern of four quarter notes that you want to repeat in each measure.
# then again make sure that whole staff is selected
## When you're happy with your pattern, close the editor.
# then 'Adjust > Notes > Eighth Note (Without Duration Change)'
# Select the newly-created percussion segment, then from the menu select 'Edit > Copy'.
# now add off-beat accents as you wish
# Move the transport's playhead to the end of the first measure.  First move it to the beginning, then press the "fast forward" button to advance it to the end of the first measure.
## de-select all the notes
# Be sure that the second track is still selected.
## change to "Draw Tool" (F3)
# Press 'Ctrl + v' or from the menu choose 'Edit > Paste' a few times, so that the percussion track fills up the same space as the bassline.
## etc.
# now you would have to change all of the copies that you made...
# instead, delete all the copies BUT save the first
# select the first segment
# on the left side, under "Segment Parameters" choose "Repeat"
# only problem is that it now repeats forever
# it's best to develop with "Repeat" mode, because you can change this into copies:
## select the Repeated segment that you want copies of
## click 'Segment > Turn Repeats Into Copies'
# change Channel 1 so that it's on Repeat
# if you wish, change the program of Channel 1


=== Channel 3 ===
=== Spice up the Percussion ===
# change the name of Channel 3 to "Melody"
# Four quarter notes isn't really a suitable percussion accompaniment, so let's make it more interesting.
# change the program to whatever you wish (I'm using program 51, "Synth Strings 1," for that '80s feeling)
# Open the first percussion segment in the standard notation editor by double-clicking it.
# create a one-measure segment from the beginning, to change the melody
# From the menu select 'Edit > Select Whole Staff'.
# you create four measures of melody and realize it isn't enough; close the notation editor
# Then from the menu select 'Adjust > Notes > Eighth Note'.
# use the "Select and Edit" tool (F2) and carefully select and drag the end of the melody, to add some more measures
# This compressed the notes, which isn't what you wanted.  Undo the change with 'Edit > Undo'.
# go back to the notation editor by double-clicking, then add more melody until you're satisfied
# Again make sure that the whole staff is selected.
# you realize there should be a short intro of just the beat, before the melody enters
# From the menu select 'Adjust > Notes > Eighth Note (Without Duration Change)'.
# use the "Select and Edit" tool (F2) and click-and-drag the segment to wherever you want it
# Now there are eighth-note rests between the original rhythm.  You can add off-beat accents as you wish, in the space where the rests are.  You can switch to the percussion matrix editor, or stick with the notation editor - it can be fun guessing which pitch represents which instrument.
# regardless of where you put it, the notation editor will not change
# Now that you've made a change, you'll have to delete all the copies and re-copy them.  We'll use a better solution instead, but you'll still have to start by deleting all of the copies of the segment.  Remember to keep the first one!
# After removing all but the first segment, from the "Segment Parameters" box in the left toolbox, check the "Repeat" checkbox.
# Now the segment repeats forever.  This can be useful, but eventually you'll want to stop the song.  When you want to change the repeats into copies, from the menu select 'Segment > Turn Repeats Into Copies'.
# Adjust the first track so that it's repeated, too.


=== How to Continue ===
=== Add a Melody ===
If you want to keep building a composition, all you need is some inspiration! There are many advanced features, but you can figure them out eaisly enough, now that you have the basicsThis is really all there is to MIDI-only composition!
# Rename the third track to "Melody," or something like that.
# Change the track's program.
## Look at the "Instrument Parameters" box in the "Special Parameters" toolbox on the left side of the main editing window.
## Make sure that you have the "Melody" track selected.
## Select the "General MIDI" bank, which is probably already selected.
## For the program, select whatever you prefer.  I decided to use program 51, called "Synth Strings 1."  It reminds me of music from the 1980s.
## After setting the program, press 'play' on the transport toolbar, and let it go for just a second.  This will allow Rosegarden to send the program-change message to FluidSynth. It isn't strictly necessary, and it would have been done later anyway, but doing it now helps to avoid confusion later.
# Use the "Select and Edit" tool to create a segment in the "Melody" track, of four measures long.
# Edit the segment in the default editor by double-clicking on it.
# Create four measures of a melody.  It doesn't have to be complicated, or even interesting.
# Close the notation editor, and listen to the the three tracks.  Don't forget to reset the playhead to the beginning of the session!
# It sounds a bit silly to have the melody enter at the very beginning, so add an introductionWith the "Select and Edit" tool (press 'F2' on the keyboard to engage it), click-and-drag the melody segment to a few bars or beats later.  Note that, even if you move it to start on beat 2, 3, or 4, the view in the notation editor will always start the segment on beat 1.


== Recording (Audio or MIDI) ==
=== Continue ===
Rosegarden can record audio or MIDI input.
You're on your way to a full MIDI composition. All you need is some inspiration to continue, and some willingness to experiment with more advanced features and toolsIf you don't know how to continue, try these suggestionsRemember: you're just starting out, so your first song doesn't have to be interesting or particularly good. Once you learn how to use MIDI composition tools, you'll naturally learn how to create better music with them!
# Choose a track onto which you want to record.
#* MIDI can only be recorded on the MIDI tracks, which have yellow lights.
#* Audio can only be recorded on the audio tracks, which have red lights.
# If you are recording MIDI, you will need to open the "Recording filters" section of the "Track Parameteres" box on the left side
#* Choose a Device
#* Choose a Channel
# If you are recording audio, you will need to select an "In" from the "Instrument Paramters" box on the left side
#* By default there are only two stereo inputs, but this can be changed (see "Working with Audio," below)
#* Use QjackCtl to make sure that the corresponding "In" is connected to an input device through JACK
# Click the yellow or red light so that it "lights up." Now the track is armed.
# When Rosegarden records, it moves the transport, so already-created material is played while new material is recorded.  This can be usefulIf you want to use this feature, then move the tranpsort to the point in the pre-existing material where you want to begin recording (or a big before where you want to begin recording, so you can trim it off later).
# When you are ready to record, press the "record" (circular, red) button on the transport.
# When you have finished recording, you can either press the "record" button or the "stop" button to stop the transport.


== Working with Audio ==
* Make a simple ternary form (ABA): you've already created the first part (called "A"); so make a transition and a second, different part (called "B"), then another transition and repeat the first part.  It doesn't need to be long, but it can be.
=== Changing the Number of Input/Output Channels/Devices ===
* Make a "variations" form: repeat the part that you've already created several times, but make it slightly different every time.  Try several different ways of modifying it: add another melody to go along with the one you have; add extra notes to the existing melody; change the percussion track; write a new bassline; expand the melody so it takes twice as long; combinations of these.  Making a variation of an existing section is a common way of making it take more time.
To change the number of stereo inputs:
* Make an expanded version of the existing material, by following your intuition to add more music.
# Go to 'Studio > Audio Mixer'
* Instead of adding a different melody of a repeating bassline and percussion segment, try repeating the melody over and over, creating a new bassline and percussion segments.
# In the Audio Mixer, go to 'Settings > Number of Stereo Inputs > ' whichever you would like


Keep in mind that all inputs are two-channel only.
!! I removed the "working with audio" portions because it's the basically the same as Ardour & Qtractor... is this okay? !!
=== Using a Submaster Mixer ===
While the volume of all tracks is affected by the "Master" mixer channel, you can also adjust the volume of an individual channel, or of a group of channels.  To modify a group of channels, assign them to the same submaster channel.
# Go to 'Settings > Number of Submaster Mixers > ' and whatever you'd like - the minimum is 2.
# Then assign individual tracks by clicking on the second-from-top long gray button (that says "Master" by default), and select the submaster to which you wish to assign it.
=== Editing an Audio Segment ===
To edit an audio segment recorded in Rosegarden:
# Select the segment that you wish to edit.
# Double-click on the segment.
# The segment will open in an external editing application, which is set to Audacity by default.
# You can change this by 'Edit > Preferences > Audio" then "External Audio Editor"

Latest revision as of 06:36, 2 August 2010

This Is out of Date
The most recent revisions of the Musicians' Guide are now available from the git repository.

Requirements and Installation

Software Requirements

Rosegarden requires the JACK Audio Connection Kit, which helps it to connect to your audio hardware and other JACK-aware programs. If you have not already installed JACK, it is recommended that you do so before installing Rosegarden. Instructions for JACK installation are located here.

Rosegarden's graphical interface uses the "Qt toolkit," like the KDE Software Collection. QjackCtl, Qsynth, and Qtractor also use the Qt toolkit, but if you have not installed any of these, and you are a GNOME user, Rosegarden may install the Qt toolkit. The toolkit may take a while to download, but is useful for a large number of programs.

Hardware Requirements

In order to use Rosegarden, you will need an audio interface. If you wish to record audio into Rosegarden, the audio interface must be capable of recording, and you must have external hardware such as microphones to capture the sound. Rosegarden is useful without recording audio.

Other Requirements

In addition to the above-listed requirements, you will need to install a MIDI-capable synthesizer. Rosegarden does not automatically install a synthesizer so that you have the greatest amount of choice. There are a large number of synthesizers, both hardware- and software-based, which all have different capabilities and produce different sounds. Rosegarden is a "MIDI sequencer," meaning that it will trigger and control a MIDI synthesizer, but without synthesizing audio directly.

Most users, at least when starting out, will find that FluidSynth is a highly flexible synthesizer. It is recommended by Rosegarden's "Welcome" screen, and it will be used here for demonstration purposes. The FluidSynth\Qsynth Chapter explains how to install and use FluidSynth, along with its graphical interface called "Qsynth."

In addition to independent MIDI synthesizers, Rosegarden supports the use of DSSI synthesizer plugins, which is not discussed in this Guide.

Installation

Before installing Rosegarden, you should install the JACK Audio Connection Kit. If you have not already installed JACK, you can follow the instructions here.

To install Rosegarden, use PackageKit or KPackageKit to install the "rosegarden4" package. You could also install Rosegarden from a terminal by running the following command:

su -c 'yum install rosegarden4'

Configuration

Setup JACK and Qsynth

  1. Start QjackCtl to control JACK.
  2. Start Qsynth to control FluidSynth.
  3. In order to receive MIDI input from Rosegarden, Qsynth will need to be configured to use the "alsa_seq" MIDI Driver. Instructions for doing this can be found in this section.
  4. You may want to disconnect all JACK connections except for those that you want to use with Rosegarden. Open QjackCtl's "Connect" window, and verify the following:
    • On the "Audio" tab:
      • Qsynth's output ports are connected to the "system" input ports.
      • If you plan to use audio in Rosegarden (in addition to MIDI), then you will need to connect its output ports to the "system" input ports, too. The ports labeled "record monitor" are to be used to monitor audio while it is being recorded. The ports labeled "master out" will be used during regular file playback. Rosegarden does not need to be connected directly to the system output ports if you are only using MIDI.
      • If you plan to record audio in Rosegarden, then you will need to connect an output port (probably from "system") to Rosegarden's input port. Be aware that Rosegarden can record from two independent sources ("1" and "2"), with two channels ("L" for left and "R" for right) from each, to produce a stereo recording.
    • On the "MIDI" tab:
      • Nothing.
    • On the "ALSA" tab:
      • Rosegarden's output ports must be connected to the "FLUID synth" input port. I don't know what they're for yet:
        • 1:sync out (was automatically connected)
        • 2:external controller
        • 3:out 2 - General MIDI Device (was automatically connected)
      • To make Rosegarden take commands from another MIDI device, you'll need to connect its output ports to Rosegarden's input ports. I don't know what they are for yet:
        • 0:record in
        • 2:external controller

If a connection isn't being used, it's better to leave it disconnected, to avoid making mistakes.

Setup Rosegarden

  1. 'Edit > Preferences'
  2. Setup "General" as desired.
    • On "Behaviour" tab maybe "Use JACK Transport"
    • On "Extrenal Applications" tab maybe change those to match what's installed (GNOME users)
  3. Setup "MIDI" as desired.
    • On "MIDI Sync" tab maybe set to "Send MIDI Clock, Start and Stop" if Rosegarden is the ultimate controller, or "Accept Start, Stop and Continue" if it's being controlled. Otherwise "Off" is safe.
  4. Setup "Audio" as desired.
    • The preview scale will not affect the audio, just its appearance.
    • Reducing quality from 32-bit to 16-bit may help low-power systems keep up.
    • Changing the external audio editor only affects when you choose to use an extrenal editor.

Rosegarden and LilyPond

Rosegarden and LilyPond can be used together, which can greatly enhace your productivity. LilyPond will output a MIDI-format representation of your score if you include a "midi" section in the "score" section. It should look something like this:

\score
{
   ...
   \midi { }
}

This MIDI file can then be imported into Rosegarden by selecting from the menu 'File > Import > Import MIDI File'. Unfortunately, this will erase the current session, so it can be done only once.

It is also possible to export MIDI tracks to LilyPond format, which can then be edited further or simply turned into a score. To do this, from the menu select 'File > Export > Export LilyPond File'. After you select a location to save the file, Rosegarden allows you to control some score settings while exporting. After exporting a LilyPond file, you should inspect it with Frescobaldi before relying on it to be correct - computers sometimes make mistakes!

Tutorial: Write a Song in Rosegarden

A Note on Using the Notation Editor

When you're using the notation editor, and the pitches don's stop playing, do this.

Start the Score with a Bassline

  1. Start QjackCtl, then Qsynth, then Rosegarden.
  2. For this tutorial, we'll be using the default "Fluid R3" SoundFont, but you can use any General MIDI SoundFont.
  3. Setup Rosegarden in JACK for MIDI use only.
  4. From the Rosegarden menu, select 'Edit > Preferences'. Click the "MIDI" tab, then the 'General' tab, then select "Send all MIDI controllers at start of each playback". This will ensure that the MIDI synthesizer (FluidSynth for this tutorial) uses the right patches.
  5. Create a new segment.
    1. Click on the "Draw" tool on the toolbar (it looks like a red pencil), or press 'F3' on the keyboard.
    2. In the first track, click-and-drag to select the area over the first two bars.
    3. When you release the mouse, there should be a rectangle that says, "Acoustic Grand Piano," or something similar.
  6. Double-click on the rectangle to open the default MIDI segment editor. It should be the notation editor.
    1. Change the clef. Click on the bass clef on the toolbar at the left side of the editor window. Then click on the existing clef to replace it.
    2. Switch to the note-inputting tools as required. They're located next to the clef tools, in the toolbar at the left of the notation editor window.
    3. Input three quarter-notes on c, two eighth notes on c and g, two quarter-notes on e-flat, and four eighth notes on d, f, d, and g.
  7. You'll probably make a few mistakes. The easiest way to fix a mistake is to erase the note/s and re-input the correct note/s. You can use the eraser tool for this. It's located on the top toolbar of the score editing window, to the left of the capital "T," and to the right of the red pencil. It looks like a red and white rectangle, which represents a standard white eraser.
  8. Listen to your creation by clicking on the 'play' button in the transport window. The playhead won't stop until you stop it, even though the visible playhead (the vertical line) will stop.
  9. Close the notation editor - you don't need to click the 'save' button, because Rosegarden will automatically keep your changes.
  10. You should save the file, though.
  11. Click the "Select and Edit" tool, which looks like a mouse cursor on the toolbar. You can also select that tool by pressing 'F2' on the keyboard.
  12. Select the segment you just created by clicking on it.
  13. Create a copy of it by holding the 'Ctrl' key on the keyboard, as you click-and-drag the segment.
  14. Place the copy in the same track, immediately after the first segment.
  15. Create a few more copies like this.
  16. Use the transport to move the playhead to the start (click the button that looks like a vertical bar with a single-direction arrowhead pointing towards it).
  17. Name the newly-created track by double-clicking on its name. A window will pop up, allowing you to rename the track. If you don't know what to call it, try "Bass line."

Add a Percussion Track

  1. Select the second track, and rename it to "Percussion" (or something else, if you prefer).
  2. In the "Instrument Parameters" portion of the toolbox on the left side of the editor window, check the "Percussion" check-box.
  3. Play the transport for just a second, so that Rosegarden synchronized the re-assignment with FluidSynth
  4. Press 'F3' on the keyboard, or click on the "Draw" tool, which looks like a pencil.
  5. Create a one-measure segment in the second track, then right-click on the segment, and select 'Open in Percussion Matrix Editor'.
    1. The percussion matrix editor is like the matrix editor, but each pitch is labeled with the instrument it triggers.
    2. Experiment with the different instruments and pitches to find a pattern of four quarter notes that you want to repeat in each measure.
    3. When you're happy with your pattern, close the editor.
  6. Select the newly-created percussion segment, then from the menu select 'Edit > Copy'.
  7. Move the transport's playhead to the end of the first measure. First move it to the beginning, then press the "fast forward" button to advance it to the end of the first measure.
  8. Be sure that the second track is still selected.
  9. Press 'Ctrl + v' or from the menu choose 'Edit > Paste' a few times, so that the percussion track fills up the same space as the bassline.

Spice up the Percussion

  1. Four quarter notes isn't really a suitable percussion accompaniment, so let's make it more interesting.
  2. Open the first percussion segment in the standard notation editor by double-clicking it.
  3. From the menu select 'Edit > Select Whole Staff'.
  4. Then from the menu select 'Adjust > Notes > Eighth Note'.
  5. This compressed the notes, which isn't what you wanted. Undo the change with 'Edit > Undo'.
  6. Again make sure that the whole staff is selected.
  7. From the menu select 'Adjust > Notes > Eighth Note (Without Duration Change)'.
  8. Now there are eighth-note rests between the original rhythm. You can add off-beat accents as you wish, in the space where the rests are. You can switch to the percussion matrix editor, or stick with the notation editor - it can be fun guessing which pitch represents which instrument.
  9. Now that you've made a change, you'll have to delete all the copies and re-copy them. We'll use a better solution instead, but you'll still have to start by deleting all of the copies of the segment. Remember to keep the first one!
  10. After removing all but the first segment, from the "Segment Parameters" box in the left toolbox, check the "Repeat" checkbox.
  11. Now the segment repeats forever. This can be useful, but eventually you'll want to stop the song. When you want to change the repeats into copies, from the menu select 'Segment > Turn Repeats Into Copies'.
  12. Adjust the first track so that it's repeated, too.

Add a Melody

  1. Rename the third track to "Melody," or something like that.
  2. Change the track's program.
    1. Look at the "Instrument Parameters" box in the "Special Parameters" toolbox on the left side of the main editing window.
    2. Make sure that you have the "Melody" track selected.
    3. Select the "General MIDI" bank, which is probably already selected.
    4. For the program, select whatever you prefer. I decided to use program 51, called "Synth Strings 1." It reminds me of music from the 1980s.
    5. After setting the program, press 'play' on the transport toolbar, and let it go for just a second. This will allow Rosegarden to send the program-change message to FluidSynth. It isn't strictly necessary, and it would have been done later anyway, but doing it now helps to avoid confusion later.
  3. Use the "Select and Edit" tool to create a segment in the "Melody" track, of four measures long.
  4. Edit the segment in the default editor by double-clicking on it.
  5. Create four measures of a melody. It doesn't have to be complicated, or even interesting.
  6. Close the notation editor, and listen to the the three tracks. Don't forget to reset the playhead to the beginning of the session!
  7. It sounds a bit silly to have the melody enter at the very beginning, so add an introduction. With the "Select and Edit" tool (press 'F2' on the keyboard to engage it), click-and-drag the melody segment to a few bars or beats later. Note that, even if you move it to start on beat 2, 3, or 4, the view in the notation editor will always start the segment on beat 1.

Continue

You're on your way to a full MIDI composition. All you need is some inspiration to continue, and some willingness to experiment with more advanced features and tools. If you don't know how to continue, try these suggestions. Remember: you're just starting out, so your first song doesn't have to be interesting or particularly good. Once you learn how to use MIDI composition tools, you'll naturally learn how to create better music with them!

  • Make a simple ternary form (ABA): you've already created the first part (called "A"); so make a transition and a second, different part (called "B"), then another transition and repeat the first part. It doesn't need to be long, but it can be.
  • Make a "variations" form: repeat the part that you've already created several times, but make it slightly different every time. Try several different ways of modifying it: add another melody to go along with the one you have; add extra notes to the existing melody; change the percussion track; write a new bassline; expand the melody so it takes twice as long; combinations of these. Making a variation of an existing section is a common way of making it take more time.
  • Make an expanded version of the existing material, by following your intuition to add more music.
  • Instead of adding a different melody of a repeating bassline and percussion segment, try repeating the melody over and over, creating a new bassline and percussion segments.

!! I removed the "working with audio" portions because it's the basically the same as Ardour & Qtractor... is this okay? !!