Menu

WWKeyClassifier2

yamamoto2002
Attachments
KeyClassifier100.png (12134 bytes)
LyricShow5.png (115268 bytes)
foobar2000ss.PNG (98326 bytes)

Analyze music and predict key and create LRC file contains time and key name.

It is created for tonal solo keyboard instrumental music with fast tempo, especially for harpsichord and piano.

Screenshot of version 1
Fig.1 WWKeyClassifier2 Screenshot

Download

Version 1.0.2 for Windows 64-bit: https://sourceforge.net/projects/playpcmwin/files/others/WWKeyClassifier2_102.zip/download

How to install

With Windows File Explorer, "Extract All" the downloaded zip file.

Microsoft Visual C++ Redistributable for Visual Studio 2017 may be needed to run the program. Download it from: https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads

Also .NET Framework 4.7.2 Runtime may be needed to run the program. Download it from:
https://dotnet.microsoft.com/download/dotnet-framework/net472

How to use

Run WWKeyClassifier2 program. Specify FLAC file to analyze and output LRC file name and press Start button to output LRC lyric file.

Prediction accuracy

Accuracy is 80 % on the best case : 1 of 5 results are false.

How to show LRC on foobar2000

With WWKeyClassifier2, create LRC file with its file name the same as the flac and “.LRC” file extension, on the same folder to the flac file. For example, when the flac filename with file extension is Scarlatti_K13.flac then LRC file should be Scarlatti_K13.LRC (please refer Fig.1 above)

Install foobar2000 Lyric Show Panel 3 Component. Then on foobar2000, File→Preferences to show Preferences window. On the left pane tree, select Tools→“Lyric Show 3”, then on “Lyric Searching” tab, there is “Search order” list. Double click “Local file search” there to show File search properties window. Check Enable built-in artist-title search and on Custom filename format, input %filename%.LRC (please refer Fig.2 below) . Close windows with OK button. Then on foobar2000, View→“Lyrics Show Panel v3” and start to play music to show key name.

Lyrics show settings
Fig.2 Lyrics show settings

foobar2000 screenshot
Fig.3 foobar2000 playing music with scrolling LRC

How to uninstall

Delete zip file and extracted folder.

commandline usage

WWKeyClassifier2 inputFlacFilename [-bp] outputLRCFilename
With -bp, input file is processed as a baroque pitch.

TODO items

  • Currently only supports FLAC file of 44.1kHz 16bit 2ch. Should support broader formats.

License

MIT License

Changelog

Version 1.0.2

  • Computing efficiency improved by 10%

Version 1.0.1

  • Corrected library version number

Version 1.0.0

  • Initial release (Unstable)

Related

Wiki: Home

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.