Skip to main content

Karaoke

Your OVOS sings - with its own voice, autotuned onto the melody, with a band behind it. Or it plays the band and you sing: karaoke, with the words, the chords and the melody on the screen.

Songs are ordinary MIDI-karaoke files (.kar). A few come with the skill, more are in the online songbook, and your own .kar files are welcome. Everything is made on the device. The voice is the device's own TTS, sung in Python. The band is ovos-phal-plugin-midi, the device's MIDI instrument, which comes with the skill. Nothing is sent anywhere, and it works on any OpenVoiceOS: a Mark II, a Raspberry Pi, a PC, Docker, or Emkay in a browser, where it was made.

Build PyPI version

Usage

"sing Daisy Bell"                   the device sings
"karaoke Jingle Bells"              you sing
"start karaoke"
"what songs can you sing"
"find a song about christmas"       by title, kind or words of the song
"can you sing a song?"              it's shy - say "come on"
"stop"

"syng Hej Emkay"                    (Danish)
"find en sang om sommer"
"kan du synge en sang?"

It speaks every language Emkay does: English, Danish, German, Spanish, French, Italian, Dutch, Portuguese (Portugal and Brazil), Catalan, Basque and Galician.

Asked to sing just a song, it is a little shy at first - "Oh no, you'll just laugh at me" - until you encourage it. Then it gives in with Emkay's Swing: "Okay... okay, I'll sing. But first... we need some drums!" The drums start. "Yeah! That's good. Now just a little bit of bass..." The bass comes in. "Ohhh, listen to that swing! And now... the whole orchestra!" BAM, the big band, and it sings. Afterwards: "thank you for listening" or "now you try", lines from Mycroft's own singing skill, which the Mark 1 demo used to sing every two minutes. (In a language with no Emkay's Swing it says, as Mycroft did, "I'm a bit nervous about my voice, but here goes nothing".)

The first time a song is asked for, it takes a few seconds to get ready (the device says it is warming up its voice); after that it starts at once.

The songs

Song
Daisy Bell (Bicycle Built for Two) waltz ships with the skill
Emkay's Swing swing (big band) ships with the skill, in 11 languages
Emkay's Tango tango ships with the skill, in 11 languages
Hey Emkay disco ships with the skill, in 11 languages
Goodnight from Emkay lullaby ships with the skill
Jerusalem hymn ships with the skill
Are You Sleeping (Frère Jacques) round ships with the skill, in 12 languages
Happy Birthday waltz ships with the skill
Twinkle, Twinkle, Little Star nursery ships with the skill
Silent Night lullaby online songbook
Emkay Rock rock'n'roll online songbook
Offline Island reggae online songbook
Jingle Bells sleigh ride online songbook

Daisy Bell (Harry Dacre, 1892) was the first song a computer ever sang - an IBM 7094 in 1961, the song HAL sings in 2001: A Space Odyssey. Jingle Bells is James Lord Pierpont's (1857). Jerusalem - Blake's "And did those feet in ancient time", set by Hubert Parry in 1916 - is a nod to Mycroft: its singing skill, which the Mark 1 demo played every two minutes, sang it; the melody is taken from Curwen's first edition of 1916 (IMSLP #28456). Frère Jacques (sung as a round: a flute starts it again two bars later), Happy Birthday, Twinkle, Twinkle and Silent Night are old enough to be free everywhere. All of these are in the public domain; the Emkay songs are new, written for this songbook. All arrangements are the songbook's own and free to use (CC0).

In other languages

A song can come in several languages - hey_emkay.kar, hey_emkay.da.kar, ... - and they count as one song: the device sings the version in its own language, or English when there is none. Hey Emkay is in English, Danish, German, Spanish, French, Italian, Dutch, Portuguese, Catalan, Basque and Galician - the languages Emkay speaks - and so are Emkay's Swing and Emkay's Tango, spoken lines included. The tango is Emkay's own story, from Mycroft to OpenVoiceOS, and a night in the kitchen: a tango with the robot vacuum, a hot date with the toaster, the hairdryer in its hair - "nobody talks like me!" They are singable rewrites rather than translations (same melody, a syllable per note); corrections from native speakers are very welcome.

Your own songs

Put .kar (or .mid with lyrics) files in the skill's songs folder:

~/.local/share/mycroft/filesystem/skills/ovos-skill-karaoke.emkay-voice/songs/

or add folders to the song_folders setting. They are found by their title (the @T line of a .kar file, else the file name), and your own come first. Any karaoke file works: the skill finds the lyrics, works out which track is the melody (a .kar file doesn't say) and which chords the band plays (or reads them from marker events, as the songbook's own files have them).

Please only use files you are allowed to use. Most .kar files on the internet are of songs still under copyright, which is why none of those are in the songbook.

The online songbook

songbook/ in this repository: index.json lists the songs, each a .kar file. The skill fetches the list when a song isn't on the device, and keeps a song once it has been sung. Another songbook can be set with songbook_url; an empty one keeps the skill offline.

The songbook's sources are the ABC files in tools/songs/ (melody, chords and lyrics), arranged into .kar files by tools/arrange.py - see DEVELOPMENT.md to add a song.

How it sings

  1. Every word of the lyrics is spoken on its own by the device's TTS - asked from ovos-audio over the bus (speak:b64_audio), or, where nothing answers that (Emkay), with the TTS plugin loaded in the skill. Spoken alone, a word's borders are certain whatever TTS it is, and it comes out clearly, as a singer would say it.
  2. The syllables are found in the sound itself: a vowel is loud, voiced and has its energy where vowels do, so there is a hump for each one.
  3. Each syllable goes on its notes: the vowel on the beat, the consonants just before and after. TD-PSOLA moves the pitch and stretches the vowels, with a little glide between notes and a light vibrato on long ones. The key is chosen so the melody sits where the voice is happy.
  4. The band plays everything but the melody, in that key.

A voice reading another language's lyrics keeps its accent - a Danish voice singing Daisy Bell is charming rather than correct.

On a screen

  • Karaoke: the line being sung - chords on top, the melody as a small piano roll, the words underneath lighting up as they are sung, the next line below. Drawn as SVG on the fly and shown with the stock SYSTEM_ImageFrame page, so any OVOS GUI shows it.
  • When the device sings: the face, its mouth moving with the vowels (enclosure.mouth.viseme_list). The words of each line go on the bus as ovos.karaoke.lyrics (title, line, next, mode), and ovos.karaoke.ended when the song is over, so a GUI can show them under the face - Emkay does. With sing_screen set to lyrics the words are shown as in karaoke instead.

The band

The band is ovos-phal-plugin-midi. It is installed with the skill and runs in OVOS' PHAL service, so restart OpenVoiceOS once after installing (Emkay starts it by itself). Until then the skill says its band isn't ready.

The skill gives it the song's file, and when the device sings, the sung voice as well, both to start at the same moment. The plugin plays them from one output, in time with each other, and turns them down while OVOS speaks or listens. Nothing is rendered first, so a song starts at once. The first time a song is sung takes longer, because the voice is made first. After that it is kept.

How it sounds is up to the plugin. Its own synth needs nothing installed. With FluidSynth and a General MIDI SoundFont it uses real instrument samples:

pip install "ovos-phal-plugin-midi[fluidsynth]"
sudo apt install fluidsynth fluid-soundfont-gm

It can also play on a real instrument plugged into the device. See the plugin's README.

Settings

setting default
songbook_url this repository's songbook/ the online songbook; empty = offline only
song_folders [] more folders with your own .kar files
sing_screen face face: the face sings; lyrics: show the words

Install

pip install ovos-skill-karaoke

Development

See DEVELOPMENT.md.

Searching

"find a song about christmas", "do you have a song about the moon", "find a reggae song": the skill looks through the titles, the tags (@Itags: in a .kar file, tags in the songbook) and the words of the songs, shows what it found as tiles on the screen and asks which one to sing.

Category

Entertainment

Tags

#karaoke #singing #music #midi #fun

Metadata

Release files for ovos-skill-karaoke 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ovos-skill-karaoke 0.1.0
File Size Uploaded Provenance Actions
ovos_skill_karaoke-0.1.0.tar.gz 124.6 kB With provenance Details for ovos_skill_karaoke-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ovos-skill-karaoke 0.1.0
File Interpreter ABI Platform Actions
ovos_skill_karaoke-0.1.0-py3-none-any.whl Python 3 none any Details for ovos_skill_karaoke-0.1.0-py3-none-any.whl

Total release size: 355.3 kB

Release files / ovos_skill_karaoke-0.1.0.tar.gz

Download URL ovos_skill_karaoke-0.1.0.tar.gz
Size 124.6 kB
Tags Source
SHA-256 checksum
How to use checksums
2e94bd77ca8c50b061c71282303d4b8979551491fe49249d97766ce33ec35ff8
BLAKE2b-256 checksum
How to use checksums
f0f5f29d3125ad3b22967a3f2100183fd57748ae69cb38940343e0ab1fae5d01
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.

Transparency log

Release files / ovos_skill_karaoke-0.1.0-py3-none-any.whl

Download URL ovos_skill_karaoke-0.1.0-py3-none-any.whl
Size 230.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
15dfb4f4819a386fe88b3acdeae159b4e45e13679a778de95d86840c8733a0b4
BLAKE2b-256 checksum
How to use checksums
163a896f71082b3df278128ea3a23b9c1e5898012a6c8d27d9dc4a9ce647f80f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.

Transparency log

Security for ovos-skill-karaoke 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for ovos_skill_karaoke-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page