Working with Samples

en


Contents

Samples[edit]

Samples are simply recorded audio in compressed or uncompressed form. They can be almost anything, from someone singing or playing a real instrument or an atmospheric recorded effect to the sound of a hand-clap, drum beat or percussion hit. Samples can be used in three fundamental ways - either played as a sound in their own right, played as an instrument, or played as percussion. Some samples are meant to play once (atomic or one-hitters), others are meant to played in succession (loops). Loops are meant to be played in the sample-track. You can find some links to samples in useful resources here: Useful resources.

LMMS comes with ready to use samples, divided into folders. Just press the sample-button on the Side Bar.

Built in samples 1.0.0.PNG


These samples are shipped with your LMMS installation, and are placed in

Program Files/lmms

You can also use samples that you add to the collection yourself.

Those samples should be added in:

(default) C:/users/*username*/lmms/samples)

When you use the LMMS "My Samples" LMMS looks in both those places to find samples, and you can then add them to your project.

File formats[edit]

Your sound files can be in a number of formats:

NOTICE: LMMS does not support all these kinds of formats. For example does it not support AAC and mp3.

Samples as sounds[edit]

A sample treated just as a sound means that you want to play the sample back at exactly the same pitch and speed it was recorded at. You can put the sample in an AudioFileProcessor plugin in the Song Editor and then create a note in the Piano Roll Editor that is the length of the sample. It can take some experimenting to stretch the note out to the length of the sample. By doing this you are also limited to playing only one sample on this track. There is an easier way.

In the Song Editor, you can use the Add Sample Track button (Add sample 1.0.0.PNG) to create a track that plays samples. Click on the sample track timeline to create a new segment for a sample. You can then add a sample into that segment by either double-clicking on the segment (which will display a File Open dialog for you to choose the sample to be played) or by dragging a sample from the Side Bar into the segment. The sample will be played in that segment and the segment will expand to take up the entire length of the sample. You can further crop the segment shorter (to clip sound off the end) by dragging the end of the sample left or right. All the regular actions of the song editor apply to samples.

The Sample Track also allows you to play several different samples in the same track. This is useful if you have recorded a chorus, solo and bridge separately (for example) and want to combine them into the same track. Simply create more than one segment and drop your samples into this.

You can also overlap samples and they will play simultaneously rather than one occluding the other. However, there is no indication in the sample of where the overlaps are, so even though you can put one sample completely over another you will not be able to see the sample underneath unless you actually move the top sample. This can be confusing and is not recommended.

Unlike other music composition programs, these tracks are stereo by default. If you have two mono recordings for the left and right channel and want to include them as a stereo pair, you can add them individually into separate sample tracks. At the moment there is no way to pan each track left or right, however. You may be better off at this stage combining the two tracks into one stereo track in your favourite audio editor.


Samples as loops[edit]

The Sample-track can be used for loops, and you can get perfect looping of ant sample, that are build without a silent part. Use a program as Audacity for sample-editing.

To use looping samples you should follow this method.

As you can see here,

SampleTrack01.png

the sample ends (yellow mark) before the the end of the current bar (red mark) This shows you that the sample has a different BPM than the low one you deliberately has chosen.

-It helps to set the magnification a bit high.

As you increase the BPM you can see how the loop-sample extends towards the bar-devider (at red line). Here

SampleTrack02.png

the fit is perfect. We can see that the BPM is 55, and at that value the yellow and red positions are identical. This mean that you can use that particular sample in a song at 55 and any multiplum of 55 (110 & 220 but only 110 makes sense :)

You can now just duplicate the loop-sample to the extension of bars, that you like. The looping will be perfect.


If you need a specific loop to be in a specific BPM, eg the one we had here (110 BPM) is needed in a 140 BPM song, then you need to use a program like audacity, and build a new sample. Here

http://lmms.io/forum/viewtopic.php?f=3&t=4948

You can find a tutorial that explains how to do that.

LMMS cant do that for you.



Samples as instruments[edit]

Typically, you will use a sample as an instrument when the sample is of an instrument playing a single note and you want to play that note at different pitches to make a melody or harmony line.

In order to create an instrument using a sample, drag the sample from the Samples section of the Side Bar onto the Song Editor. This will create a new track with the sample in an AudioFileProcessor Plugin instrument window, already displayed if you need to change some parameters. Often you might need to change the amplitude, start or end time, or the base note of the sample in order to get the sound right, so having this window opened for you makes this easier. To close it, simply choose its close window or the large instrument button in the Song Editor.

You then create notes and edit them using the Piano Roll Editor.


Samples as percussion[edit]

A common use of samples is for percussion and repetitive note patterns. To do this, drag the sample from the Side Bar into the Beat + Bassline Editor. You can also double-click on a sample to directly add it to the Beat + Bassline Editor. Like other instruments, the instrument plugin is displayed when the track is opened in case you want to edit any of its parameters.


Navigation[edit]

Prev: Working with Instruments Up: Manual Next: Composing in the Piano Roll Editor