Lmms: Add BPM tags to built-in .ogg samples

Created on 5 Apr 2020  路  6Comments  路  Source: LMMS/lmms

Enhancement Summary

It would be helpful to include BPM tags for the built-in samples, particularly those in the "beats" folder. For example, "909beat01.ogg" has no BPM tag.

Justification

All of these beats sound great on their own, but its hard to know how to use them in a project without knowing the BPM of the sample. This goes for all of the loops within the "beats" folder.

Mockup

If we assume the 909beat01.ogg sample is 140 BPM, a BPM tag could be added to the file name like so:

909beat01.ogg renamed to 909beat01_[140].ogg

I think this would be a pretty quick change as there are only 13 included beats.

Thanks! :)

enhancement good first issue

Most helpful comment

Im really sorry, I completely forgot :|
Ill get on it right away haha

All 6 comments

We intend to replace all the factory samples eventually (due to copyright concerns) so this might be for naught.

However, if these samples are renamed, an upgrade routine should be written to make sure we don't break previous projects. It would also be best to apply the same naming to all other built in loops, such as the samples in the "bassloops" folder.

Milestoning for 1.3. If the new sample library isn't ready by then I suppose we may as well fix this in the meanwhile.

Upgrade routines are found in src/core/DataFile.

if its okay i would like to take this one

@FrozenPixell go ahead! As an additional note, please use the following format when renaming them:

If the samples are loops and have defined tempos, put their tempos at the end of their filenames preceded by a hyphen like this: Drum Loop - 120 bpm.

(From https://github.com/LMMS/assets/blob/master/Samples/README.md)

Has this issue been handled yet?

I'm not sure. @FrozenPixell, how's it going?

I found a tool that can get the BPM of .ogg files.

Most DJ software also has this functionality built in. That includes free software like Mixxx, and free versions of commercial options like Serato DJ Lite, VirtualDJ, and others. You would also need to manually confirm that the detected BPM is correct.

Im really sorry, I completely forgot :|
Ill get on it right away haha

Was this page helpful?
0 / 5 - 0 ratings