For teachers
Embed a harmony example in your course page
Put a working four-part harmony example on your own course website or learning platform: a short passage on the staff, its notes, and the checker’s voice-leading findings, with a link that opens it in the free checker. Students need no account, and neither do you.
1. Choose an example
The examples are hmmony’s own: the checker’s example passages, and the worked mistake from each rule’s page. Each one has at least one finding to show.
2. Check the preview
This is the embed itself, at the size the code below gives it. Try it as a student would.
3. Copy the code
If your page cannot show iframes
Some platforms remove iframes. Link to the same example in the checker instead:
Pasting it in
On a website
Paste the embed HTML where the example should appear, in the page’s HTML or an “HTML”, “code” or “embed” block of your site builder. It fills the width of the column, up to 640 pixels.
In a learning platform (LMS)
In the editor for a page, lesson or assignment, switch to the HTML or source view, paste the embed HTML and save. Platforms differ in what they allow: some keep iframes from any site, some only from sites an administrator has approved, and some remove them when the page is saved. If the example is missing after saving, ask whoever runs your platform to allow https://hmmony.lp-data.cloud, or use the example link instead.
What students see
- The passage on a grand staff — soprano and alto on the upper staff, tenor and bass on the lower — and a table of its notes, chord by chord.
- “Show voice-leading findings”: the checker’s own findings on those notes, each with why it is a problem and the usual fix. Choosing a finding marks its notes on the staff.
- “Check your own harmony free”, which opens the full checker with this example in a new tab. If a student’s draft there already has notes in it, the checker asks before replacing it; cancelling keeps the draft.
hmmony checks voice leading only. It does not name chords or judge the harmonic progression, so a passage with no findings can still be the wrong harmony for the exercise, and courses differ on some rules.
Size and parameters
- Size:
width="100%"up tomax-width:640px, andheight="720". On a narrow screen the staff scrolls sideways; opened findings scroll inside the frame rather than being cut off. - Address:
https://hmmony.lp-data.cloud/embed/harmony?example=<id>. The only parameter isexample, one of the ids in the list above — v-vi, minor-cadence, range-and-spacing, parallel-fifths, parallel-octaves, unequal-fifths, hidden-perfect, range, spacing, crossing, overlap, large-leap, augmented-leap, seventh-leap, doubled-leading-tone, leading-tone-resolution. Any other id shows a short message and the link to the checker. - The embed holds no student work, account or assignment, and nothing a student does in it is saved. Its link to the checker is
/check?example=<id>&source=teacher-embed. - The code asks the browser not to send your course page’s address to hmmony (
referrerpolicy="no-referrer"), and the embed loads no analytics.
Planning a whole lesson? Start from a first four-part harmony lesson.