4.6 Your First Song with LMMS

4.6.1 Your First Melody

4.6.1.1 Choosing the Instrument

For now, let's drag the "Xylophon" preset into the space in the middle of the Song Editor. When you drop it, a new track will be created with that preset as the instrument.

If this were a percussion-type instrument, we might be better off dragging it to the Beat+Bassline Editor instead; you'll see why in a second. We really want to give this instrument a string of notes (or a Piano Roll) to play, though, so Song Editor it is.

4.6.1.2 Making the Melody

4.6.1.2.1 The First Note

Now click in the black square just to the right of the "A4" note (which is three lines, or semitones, down from the note marked "C5"). This will create a new crotchet, a note one beat long, starting at that time.

However, this is too long: we need notes half a bear - a quarter - long. To change this, we simply move the mouse pointer to the right-hand edge of the note, until the cursor changes into a left-and-right arrow. Then we hold the mouse button down and drag the end of the note left two "blocks" (each block being 1/16 of a bar).

4.6.1.2.2 More Notes

Continue creating notes in the pattern shown:

To place a note, you need to aim for the line at the start of the bear; LMMS will recognize a small fraction of the area left of the beat line as being closer to that beat than the previous. You can control this with the "Q setting". Default Q is correlated to note-length. That is "Note lock". But again you can change that "magnetic point" in the Q-drop-down. If you make a mistake placing a note, you can move it to its correct position by clicking on the middle of the note (where the cursor turns into a four-way cross) and dragging the note to its new position. LMMS will play the note that you're dragging onto as an aide to correct placement. You can move notes horizontally (in time) as well as vertically (in pitch).

If you need to delete a note, simply right-click on it.

4.6.1.2.3 Copy and Paste

We now want to repeat those seven notes at the start of the bar in the next bar. There are three ways to do this.

  • The first and worst way to do it is to simply click the correct notes. This is tedious.

  • The first real way to do it is to use the duplicator tool. First select the notes you want to copy. Hold down Ctrl and make a selection rectangle around the notes you want to copy. Next, hold Shift and drag the newly selected notes. You are now dragging a copy of the selected notes. You can place these where you want them to go.

  • Alternatively, you can use good old copy and paste. Again, use Ctrl to select the notes you want, and then press Ctrl+C. Press Ctrl+V to paste the notes at the beginning, and move them to their new location.

To select all notes you can press Ctrl+A.

Oops!

When we play the melody so far, we realize that the melody actually starts on the wrong beat. The second A4 note is really supposed to be the start of the bar, and the two notes before it are leading in from the previous bar. However, we can't go further back than bar 1 in our piano roll. We need to move all the notes forward. Press Ctrl+A to select all the notes. Then you can click and drag to move them all over in order to have the first note start on the right beat (see picture below).

Now we need to avoid another and far more annoying Oops: loosing everything you made! Now you have made something that actually sounds great, it is high time for saving your project!

The first time you save, LMMS will prompt you for a project name. That's entirely up to you, but LMMS also lets you decide whether your project should be compressed (.mmpz), or kept as uncompressed XML (.mmp). Make your choice and save your project now!

Observe the message in the bottom of your screen!

Make sure you always see this message, every time you save your project, and if you end your work, and close LMMS, I recommend that you wait about 10 seconds, after you have saved the last time, before you close the program. You could also take a peek on your disk, and actually make sure that the project has been saved, has a believable size, and a correct time-stamp. But only when you close LMMS.

4.6.1.2.4 The First Four Bars

If you're confident, you can now continue adding the notes of the tune to make the first four bars (up to where the main melody repeats). Here's what your piano roll should look like at the end of this:

4.6.1.3 More Structure

We can now close the Piano Roll Editor and go back to the Song Editor. You will see that the track segment we initially double-clicked to create the melody has expanded out to fit the notes that we've added.

We now want to copy that segment to create the next four bars. The easiest way to do that is to simply hold down the Ctrl key, then drag the initial segment. This will drag a copy of the segment to a new location, which must be outside the initial segment. This process will look like this:

Drop the segment on bar 6. This is actually one bar too late, as the first three quarters of a bar of this segment are empty, as is the last quarter of the last segment. Fortunately, segments can overlap and their notes will play simultaneously.

You should avoid having segments overlap as there is no clear display of how many segments overlap in a particular area. A small segment might completely disappear behind a large one, leaving you confused as to where those extra notes were coming from

Drag the second copy so that it starts at bar 5.

You can now play this using the play button in the Song Editor. You will hear a short pause as it counts the first three beats of silence, then the melody will start. It should play smoothly through the two repeats.

The Song Editor should now look like this:

4.6.1.4 Variation 2

We can now go on to create another piano roll segment and fill in the next four bars:

Due to the way that the segments overlap, you will have to create the new segment in a new bar, e.g. bar 11, and then move it into position over the previous segment.

Note that there is a slight oddity in the Piano Roll Editor that causes you to start editing at bar 2 when opening occasional new segments. Check which bar you're writing notes into before getting too far!

Your Song Editor should now look like this:

4.6.2 Your First Beat

If you look at the open windows one of them should read Beat+Bassline Editor. Locate that box before going forward. If you have closed it by chance it is located on the left top toolbar.

Here are some example drum patterns that you could use in your projects:

4.6.2.1 Drum Patterns

4.6.2.1.1 Four on the Floor

Standard beat pattern commonly used in Disco, House and Techno songs.

4.6.2.1.2 Amen Break

This drum solo was originally performed by Gregory Sylvester Coleman, but has been heavily sampled and pitched up for use in jump-up drum and bass and jungle.

4.6.2.1.3 Typical Beakbeat

By moving the Bass drum out of the regular 4/4 timing we create a "Breakbeat".

4.6.2.1.4 Prodigy - Smack My B**** up

Breakbeat intro.

4.6.2.1.5 Prodigy - Main Beat

Note the lowered volumes of the snare drum in the 2 examples above, i.e. the dimmed lights in some steps. To change the volume of a step, hover your mouse over it and roll the scroll wheel down to lower volume and up to raise volume. The brightness of the step will change.

Want to hear how all these patterns sound? Download a demo project here.

There is more to making great percussion. Here we only looked at simple "notes" added directly in BB Editor. But you should also read the section Composing Bass Lines and Drum Sequences, where more advanced methods are explained. You will learn how to alter quantizing and humanize in piano roll.

4.6.3 Good Song! Bad result.

You are not there yet!

One of the most common problems is sound-clipping and nasty artifacts. One of those make the song sound like it comes from a tin bucket. Sometimes distortion will feel like really unpleasant hearing irritation, and your first impulse is to look for a volume control.

Your next job is to make sure you do not have that! This part of the process is at least as important as the previous ones.

Take a look at the mixer. You can see that all channels have their own dB meter. The first thing you need is to make sure that no meter, including master is (constantly) in the red area. When a sound-intensity causes the meter to go "into the red", you will get distortions, and really bad sound, well, in fact even risk of damage to speakers, and worse - your ears!

I choose the phrase constantly. I did that because it is acceptable that your meter occasionally touches in the red, but it's a fine art to know when touching is more like groping.

If you have clipping, you can deal with it in a lot of different ways. You can find much more about tools as limiters and compressors in the more specialized chapters of the wiki.

You can also watch the mixing video tutorials and learn much more about the power of the LMMS mixer.

Right now, you can try to just change the volume sliders and get rid of the red-clippings. Then listen to your track again. You should be able to hear the difference. The instruments should be cleaner and stand better individually in the total mix.

Last updated