53 comments

[ 3.3 ms ] story [ 70.5 ms ] thread
I've been working on a karaoke app called Nightingale. You point it at your music folder and it turns your songs into karaoke - separates vocals from instrumentals, generates word-level synced lyrics, and lets you sing with highlighted lyrics and pitch scoring. Works with video files too.

Everything runs locally on your machine, nothing gets uploaded. No accounts, no subscriptions, no telemetry.

It ships as a single binary for Linux, macOS, and Windows. On first launch it sets up its own isolated Python environment and downloads the ML models it needs - no manual installation of dependencies required.

My two biggest drivers for the creation of this were:

    The lack of karaoke coverage for niche, avant-garde, and local tracks.

    Nostalgia for the good old cheesy karaoke backgrounds with flowing rivers, city panoramas, etc.
Some highlights:

    Stem separation using the UVR Karaoke model (preserves backing vocals) or Demucs

    Automatic lyrics via WhisperX transcription, or fetched from LRCLIB when available

    Pitch scoring with player profiles and scoreboards

    Gamepad support and TV-friendly UI scaling for party setups

    GPU acceleration on NVIDIA (CUDA) and Apple Silicon (CoreML/MPS)

    Built with Rust and the Bevy engine
The whole stack is open source. No premium tier, no "open core" - just the app.

Feedback and contributions welcome.

I studied signal processing in university and my career evolved to not use what I studied. Decades ago, giving an algorithm a sound file and isolating tracks was difficult.

How does your implementation accomplish this? Were you involved or did you use something off the shelf?

Edit: ah, using neural nets, demucs. I wonder if there is pure math approach that can compete?

Can you bypass the LRCLIB lookup and always use Whisper?
Open source, local and passion driven. The kind of news that make me believes in humanity again. Thank you, can't wait to try it this week-end !
I think you nailed it. Does it support pitch/tempo controls?
>app that works with any song on your computer

Impressive, very nice. Now let's see my death metal collection.

Just joking! Very nice, thanks for open-sourcing it.

This looks amazing! looking forward to test it on the weekend. Does it work well on a raspberry pi with 4 gigs of ram?
VirusTotal says the .EXE is flagged by 1 security vendor but threat is low
This looks great, but I don't understand what it's supposed to do. I assumed the idea was "remove the lyrics" but of the 5 songs I tried (from Cry Cry Cry, Indigo Girls, and Suzanne Vega), none seemed to have any change from the original at all - it's showing the words on the screen (and the timing is perfect) but it's not removing the singing at all. How do you turn off the singing?
My wife is a huge karaoke fan. I'm especially interested in the pitch scoring since we usually play the karaoke games on older consoles for that exact feature. Nobody really makes games like that anymore without a subscription (and most of these good modern karaoke platforms are exclusive to east asia anyways). If this works well this could make for some really fun social events, looking forward to trying this.
This is very cool. I couldn't find it it already supports duets. I assume it won't.
Really nice project, I'm looking forward to trying it!

Would it be possible to process songs on one device, and then use the result in another, or even multiple? Or would it be possible to run as separate server / client?

I ask mainly because the device I connect to my TV is definitely not the most powerful one, so it would be nice if I can preprocess the songs elsewhere.

I am getting a virus detected error when downloading from Chrome.
Very nice!

I've worked on a small toy project with a similar purpose in the past [1], though it's not nearly as polished as yours, and I've made some questionable decisions here and there.

I have questions about pitch tracking. It seems you do track the pitch for scoring, and there's a line at the top of the screen that seems related but that I can't figure out. For my use case, an important feature of karaoke apps is displaying how "high" the next note should be sung, or at least some hints. Is it something your app can do and I just haven't figured it out? Or would it be a feature request?

[1] https://github.com/eckter/karaoke_helper

So cool! I'll try it with the steam deck. Being able to go to a party with just the deck and a microphone and have a karaoke with any song people want sounds good.
Just downloaded source and built this to play around with it. I was a bit surprised that the first thing it did when I ran it was to start downloading binaries from the internet. It went off to fetch FFMpeg from some remote server, but I already have FFMpeg installed. Then it tried and failed to install its own Python interpreter, which is another thing that's already present on the system.

How come this is trying to install its own vendored dependencies, including executable binaries, instead of checking for what's already installed? That approach can lead to both security and performance issues.

Edit: the Python download isn't failing, but rather the application itself is looking for the executable interpreter in `lib` rather than `bin` once the download completes. I built the release tarball in the git repo, and I'm pretty amazed that such a basic error could make it into release code.

Further edit: I tried using the build script in the tarball rather than just doing a `cargo build -r`, and it started trying to install Docker containers! Docker to build a desktop application! What is going on here?

This guy just discovered static linking.

May he enjoy an eternal debate about static and dynamic linking, strong types and duck types, tabs and spaces, vim and emacs, less and more, and Kickers and Rockport.

I mean... Sounds pretty clearly vibed from this description. Funnily enough this is touted as a feature, not a bug:

> Single binary > ffmpeg, Python, PyTorch, and the ML models are all bootstrapped on first launch. Nothing to install.

Big karaoke fan, so thanks for doing this. I'm processing a first test song as I write. The pitch scoring sounds really interesting as both a competitive and maybe also a training tool.

A couple of immediate small pieces of feedback:

* The colour scheme on the queue/nn% buttons is really low contrast - white on pale yellow is very hard to read

* the 'models' button (bottom left) - I assumed this would give me details about which models are available, and the sizes, but instead deleted the downloaded models without warning. Maybe add a 'are you sure you want to...' check?

This is just for English language? I have some older Japanese stuff I would love to sing!
Nice work! If you are looking for ways to enhance this or complementary routes, one thing I was thinking about recently... As a musician, often I play songs I don't know the lyrics to. It would be cool to have an app that could follow along karaoke style with the words, as I sing and as the band plays. Right now I clip a phone to the mic stand, but after a lyric or two, I lose my place. This is probably multitudes more complex based on every "band/vocals" sounding different, but just something I was thinking about.
This is great! I thought of doing something like this for Karaoke, but was wondering about the copyright implications of doing it server-side.

We already do this for ingesting podcasts and cutting their clips with text being highlighted as people speak. AssemblyAI also supports speaker diarization.

For videos recorded using our own livestreaming studio, we can bypass all this by using Web STT and TTS APIs resulting in perfect timing and diarization without the need for server side models.

Cool, but on Firefox no lyrics are displayed on the website's demo.