Sample becomes longer in song editor?

Having trouble with LMMS? Ask about it here.
So I made alittle melody in piano roll and it's 2 in length, but in the song editor it now appears as 3 in length? It's not like that with all samples but it has happened quite a few times. If I cut it down a single square, the sample shows as the right length but now ofcorse the sound cuts off so that's no good.
I'm a little confused...piano roll makes MIDI melodies. It doesn't normally use samples. What actual instrument did you make the melody with ? Also when you say it's 2 then appears as 3...what is that 2 or 3 of ? Blocks in song editor (which equate to bars/measures) ?

Things can only appear in song editor in full measures. So if in the piano roll you have a note that goes slightly over the end of measure 2 it will be 3 measures long. A picture of what your piano roll and song editor look like might help with interpretation.

Steve
slipstick wrote:I'm a little confused...piano roll makes MIDI melodies. It doesn't normally use samples. What actual instrument did you make the melody with ? Also when you say it's 2 then appears as 3...what is that 2 or 3 of ? Blocks in song editor (which equate to bars/measures) ?

Things can only appear in song editor in full measures. So if in the piano roll you have a note that goes slightly over the end of measure 2 it will be 3 measures long. A picture of what your piano roll and song editor look like might help with interpretation.

Steve
It's just some synth sound I downloaded. And it doesn't go over the measure, that's what I don't understand. It's exactly 2 measures in the piano roll, and appears as 3 measures in song editor.

Image
Image
There are just certain sounds and even synth settings that just have high amount of release, making the notes longer than they appear, in this case the difference is minute, but just enough.
So I recommend a) taking a little bit off of the end of the sample (I'm assuming you're using the AFP),
{Edit: Ignore this gobbledygook. Turns out I was wrong}
{this, on the other hand... } or
b) recreating the sound in a synth. I would recommend this anyways because to make a melody with a sample, you are just raising and lowering its pitch, but not in a perfect chromatic fashion. Higher notes might yield unwanted noises or frequencies and lower notes might just sound like burps. If you post a demo of the sound you might get some help.
God Bless and good day
ahhch - if i understood it, you have a sequence in piano-roll, of the length 2 bar, but when you look at it in song-editor, it is now 3 bar in length?

That is dead simple: One or several of your notes has been stretched to just a few microns longer that default. Could happen if you have pressed Alt and then dragged in a note.
You get rid of it by using maximum magnification in piano-roll, and with max-Q then adjust the notes that 'sticks out'
Incidently, if you do not have loop-setters activated in piano-roll, the playhead would also travel into the 3. bar, but with silence, when a note is just that little too long

A second reason can cause it. If you by accident has a note anywhere in any octave in that 3 bar, then it will also show 3. bar in song-editor

its one of either :p
musikbear wrote: its one of either :p

Not necessarily ,sir
I've has this same problem before. It seems to happen with certain instruments with a large release value in the Volume or cutoff envelope. Even if they are locked in the be 1/8 or 1/16 notes when you draw them, they'll still extend the piano roll. It's also worth noting that the problem note in question is stretched out AND about an octave and a half lower than the base key. Since this is a sample, there is probably some ambient/background sound stretching the note and the piano roll. Pitchbending will do that.
{Edit: Ignore this gobbledygook. Turns out I was wrong}
musikbear wrote: You get rid of it by using maximum magnification in piano-roll, and with max-Q then adjust the notes
That should do the trick, if all else fails, but it definitely takes some time to get it sounding just right. Good luck.
1/64 adjustment value should work for this
God Bless and good day
musikbear wrote: That is dead simple: One or several of your notes has been stretched to just a few microns longer that default. Could happen if you have pressed Alt and then dragged in a note.
You get rid of it by using maximum magnification in piano-roll, and with max-Q then adjust the notes that 'sticks out'..
You were right, I zoomed way in and the notes did stick out a tiny bit. I'm such a noob :D Thanks.
mrlmmsguy wrote:
musikbear wrote: its one of either :p

Not necessarily ,sir
I've has this same problem before. It seems to happen with certain instruments with a large release value in the Volume or cutoff envelope. Even if they are locked in the be 1/8 or 1/16 notes when you draw them, they'll still extend the piano roll. It's also worth noting that the problem note in question is stretched out AND about an octave and a half lower than the base key. Since this is a sample, there is probably some ambient/background sound stretching the note and the piano roll. Pitchbending will do that.
There is no way envelope settings can affect a pattern. The piano roll knows nothing about instrument settings, or whatever "ambient/background sound" there is in a sample, or if it even is a sample at all.
grejppi wrote:There is no way envelope settings can affect a pattern. The piano roll knows nothing about instrument settings, or whatever "ambient/background sound" there is in a sample, or if it even is a sample at all.
Phew that's a relief. I use lots of ambient and pad-type sounds and they always seemed to me to work fine even if they had super-long releases of several seconds. The note in piano roll defines how long the hold section lasts THEN the release part takes over and that may last well beyond the song editor block.

Steve