This release is a pre-release and may not be stable for production use.
Music Teacher
Piano, guitar and bass lessons from your voice assistant. It shows you on the screen what to play, with which fingers, plays it for you - and then it listens to you play it, and tells you what was right, or the first thing that wasn't.
"teach me the C major scale on piano" the keys and the fingers, played for you -
"Now you. I'm listening." - "Almost. Note 7
should be F sharp - I heard F."
"how do I play A minor on guitar" the chord chart, finger by finger; strum it,
and it says which string didn't ring
"teach me Ode to Joy on piano" a song, two bars at a time - then the whole
song with the band
"teach me to jam a blues in A on guitar" the scale to jam with, on your instrument;
the band plays four bars, you play four,
and it says how it went
"what is reggae music?" what it is, how it is counted, how the
rhythm goes - on the screen, beat by beat,
while the band plays it - and a jam in it
"what key is this song in?" put music on: it says the style, the key
and the tempo - and you can jam along
"tune my guitar" string by string, with a needle
"music lesson" / "next lesson" the course for your instrument, a lesson at a
time - it remembers where you are
"what can you teach me?"
"lær mig c-dur-skalaen på klaver" (Danish)
"hvordan tager jeg a-mol på guitar", "stem min bas", "næste lektion",
"hvad er vals for en musik?", "hvilken toneart er den her sang i?",
"hvilke stilarter kender du?"
While a lesson is on: "again" (or "ready"), "play it", "slower", "next", "enough".
It was made for Emkay, and works on any OpenVoiceOS with a screen (or without one: everything is also said).
What it teaches
Scales - major, minor, harmonic minor, dorian, mixolydian, major and minor pentatonic, blues - in every key, spelled the way a teacher writes them (F major has a B flat, not an A sharp). On the piano with the usual right-hand fingering, on guitar and bass in one position, one finger per fret, with open strings low on the neck.
Chords - major, minor, 7, maj7, m7, dim, sus2, sus4, 6. On the guitar the open chords from every chord chart, and barre chords (E and A shapes) for the rest, said finger by finger: "ring finger on the A string, fret 3, middle finger on the D string, fret 2 and index finger on the B string, fret 1. Don't play the low E string." On the piano with the fingers (1-3-5), on the bass as an arpeggio, a note at a time.
Songs - the tunes that come with ovos-skill-jamband: folk songs, nursery rhymes and old classics, all free to use (Ode to Joy, Frère Jacques, When the Saints, Twinkle Twinkle, Für Elise ...), found by their name in any language. Some are in three - Amazing Grace, Silent Night, Greensleeves, Scarborough Fair, Happy Birthday - and are taught and played as waltzes.
- piano: the melody, two bars at a time;
- guitar: the chords the song uses, one by one, then you strum along with the band (the course moves the songs to G or D, where the chords are easy); "the melody" gets you the tune instead;
- bass: the bass line - the root of each bar's chord.
When you have every piece, you play the whole song with the band, three times round - slowly first, a little faster each time ("once more, a little faster") - the screen showing what comes in each bar.
Jamming - the band (ovos-skill-jamband's) plays a style in a key: blues, rock, pop, funk, swing, disco, reggae, bossa, tango, waltz, Viennese waltz, polka, march, country, cha-cha, salsa, rumba or quadrille. You get the scale that fits, lit on your instrument, with the notes of the chord being played brighter: the notes that always sound good. Then you take turns - four bars the band (someone takes a solo, to give you ideas), four bars you. After your turn the teacher says a word: how many of your notes were in the scale, and whether you landed on a note of the chord. That is how you learn to jam on piano, guitar and bass - and learn the scales on the way.
Music styles - "what is a waltz?", "tell me about salsa": where the style comes from, how it is counted ("in three: one, two, three, about 90 beats a minute"), how its rhythm goes, famous songs in it, and the scale to jam with. Then the band plays it, and the screen shows the rhythm, a beat at a time: which drum plays where, and when the chords come. Then: "shall we jam in it?" "Which styles do you know?" lists them all. When the course comes to a jam in a new style, it says first what the style is.
What music is this? - "what key is this song in?", "which scale fits this song?": put some music on, and the teacher listens for ten seconds and tells you what it hears - the style, the key, the tempo, whether it is counted in three or four - and what that style is. Then it offers to jam along, in that style and key, with the scale that fits lit on your instrument. It is a guess from the sound (worked out with ovos-skill-jamband's listening), and is said as one.
Tuning - guitar or bass, string by string from the lowest: "A bit low - tighten it a little." The screen has a needle, in cents.
The course - for each instrument, about twenty lessons that build on each
other: a scale, the chords you need, a song with those chords, a jam with the
scale... "music lesson" starts the next one; it remembers how far you got.
The courses are in lessons/, as plain JSON - easy to add to.
How it hears you
Through the microphone, as ovos-skill-jamband hears a hummed melody: the
listener's recording mode (recognizer_loop:state.set "recording", as
ovos-dinkum-listener has it; Emkay does the same). Then:
- notes one after another (a scale, a piece of a song, a bass line): the pitch is followed (YIN, down to a bass's low E) and cut into notes, and compared with what you were asked to play. Noise before or after doesn't count against you; a microphone can't always tell octaves apart, so the note names are compared.
- a chord: how strong each of the twelve notes sounds while it rings (with the overtones of a string turned down). Every note of the chord must be there, and no wrong one. On the guitar a missing note is traced back to its string: "I didn't hear the C - check the B string, fret 1."
- a string, for tuning: its steady pitch, in cents from where it should be.
With a MIDI keyboard plugged in, the keys pressed come from
ovos-phal-plugin-midi
(ovos.midi.input, also Web MIDI in Emkay) and count exactly - every key,
every octave. The plugin also plays the examples and the band.
Hearing a real instrument in a real room is never perfect. What it listens
for is kept simple on purpose (the notes asked for, the notes of the chord),
and the thresholds are in hearing.py. Reports from real pianos and guitars
are very welcome.
Languages
English, Danish, German, Spanish, French, Italian, Dutch, Portuguese (Portugal and Brazil), Catalan, Basque and Galician - every language Emkay speaks. Notes are named the way each language does: C D E (English, Dutch), H and B in Danish and German ("cis", "es"), do re mi in the Romance languages and Basque - on the screen, when it speaks and when you ask ("a-mol", "la menor", "B flat seven"). Corrections from native speakers - and from music teachers - are very welcome.
Install
pip install ovos-skill-music-teacher
It brings ovos-skill-jamband (the band, the songs) and ovos-phal-plugin-midi (the sound). The plugin runs in OVOS' PHAL service, so restart OpenVoiceOS once after installing; Emkay starts it by itself. Without it everything still works - except you hear no examples, and there is no band.
In the control panel
The skill brings its own page for ovos-control-panel
(controlpanel.json, under Music): what to say to start, the instrument you
practise, whether there is a MIDI instrument to play the examples, each
course with how many lessons are done and what comes next (with a button to
start a course again), every music style with what it is, how it is counted
and famous songs in it - with a button to hear the band play it - and a stop
button. In all of Emkay's languages.
The settings (also in settings.json):
| Setting | Default | |
|---|---|---|
instrument |
ask |
the instrument you play: piano, guitar, bass - or ask |
example_tempo |
84 | how fast the examples are played (beats a minute) |
along_rounds |
3 | times round when you play a song with the band |
along_faster |
true | a little faster each time round |
jam_turns |
6 | your turns in a jam, then the ending |
style_examples |
true | famous songs named when it tells about a style |
On the bus:
| Message | Data | Answer |
|---|---|---|
ovos.music_teacher.courses |
each course: done, total, next |
|
ovos.music_teacher.course.reset |
id ("piano") |
the courses |
ovos.music_teacher.styles |
each style: name, text (what it is), meter, tempo, examples |
|
ovos.music_teacher.style.play |
id ("waltz") |
ok - the band plays it, its rhythm on the screen |
ovos.music_teacher.stop |
ok |
Development
See DEVELOPMENT.md.
Category
Education
Tags
#music #learning #piano #guitar #bass #tuner #scales #chords #jam #midi #rhythm #musicstyles
Metadata
Release files for ovos-skill-music-teacher 0.1.0a4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ovos_skill_music_teacher-0.1.0a4.tar.gz | 211.0 kB | With provenance | Details for ovos_skill_music_teacher-0.1.0a4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ovos_skill_music_teacher-0.1.0a4-py3-none-any.whl | Python 3 | none | any | Details for ovos_skill_music_teacher-0.1.0a4-py3-none-any.whl |
Total release size: 684.0 kB
Release files / ovos_skill_music_teacher-0.1.0a4.tar.gz
| Download URL | ovos_skill_music_teacher-0.1.0a4.tar.gz |
|---|---|
| Size | 211.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
97ad436d1452e81e801dabbdbdccbcf5d6b9c6d77cbf4426b809702635f1f80d
|
|
BLAKE2b-256 checksum How to use checksums |
49d7764760586eecea0758d69bfdb42e4e639216bdf3c67a46c3942da3de6f47
|
| 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 Dec 2, 2026.
Transparency logRelease files / ovos_skill_music_teacher-0.1.0a4-py3-none-any.whl
| Download URL | ovos_skill_music_teacher-0.1.0a4-py3-none-any.whl |
|---|---|
| Size | 473.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a560ff7d06e81cacbab7ab6f7bcf27eb0404737e820eb80de9e0484d0c383b9c
|
|
BLAKE2b-256 checksum How to use checksums |
299549b99a68a58853d34ec884caee36f42c7b17784a3b4c4384e7204ca1fbd2
|
| 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 Dec 2, 2026.
Transparency logSecurity for ovos-skill-music-teacher 0.1.0a4
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.
Attestation for ovos_skill_music_teacher-0.1.0a4.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 Dec 2, 2026.
Transparency logA 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.