Template:Music symbols
{{Music symbols}} renders Western music notation of various types into Wikipedia and improves cross-browser support for music symbols.
1 2 3 4 5 6 7 8
| 𝅝 𝅝 𝅝 | 𝅝 𝅝 𝅝 | 𝅝 𝅝 𝅝 | 𝅝 𝅝 𝅝 |
Accidentals
editThe template correctly renders Unicode sharps (♯), flats (♭), and natural signs (♮) in w:Internet Explorer which would otherwise display empty squares unless a full Unicode font is chosen in its Preferences. The choice of fonts also improves the rendering in other browsers on w:Microsoft Windows such as w:Mozilla Firefox. See the tables below to compare the results in your current browser. The template makes use of SVG to display double flat (), double sharp (), and microtonal signs since the corresponding Unicode characters are not widely supported.
- Sample text
The C♯ crops up very early in Beethoven's Symphony No. 3 in E♭.
Notes and rests
editSome browsers and typefaces support ♩
(♩) and ♪
(♪) for quarter and eighth notes, as well as ♫
(♫) and ♬
(♬) for beamed eighth-note and sixteenth-note pairs respectively, but since the display of these characters does not match any of the other (non-supported) notes and rests, this template does not use these characters.
- Sample text
In place of the single whole note (), Chopin writes , completely changing the profile of the music.
Clefs
editNote that there is no graphical distinction between treble clef and G-clef; alto clef, tenor clef and C-clef; bass clef and F-clef. The names preserve a difference in meaning and make the caption text (for screen readers) different.
Time signatures
editFor a general time signature, use {{music symbols|time|<top number>|<bottom number>}}. This makes use of Template:Time signature, which should not be used on its own.
Scale degrees
editScale degrees are often represented as Arabic numerals with a hat on them and thus the root of a scale is .
- Sample text
A descending tetrachord could be written as ---.
Chord symbols
editChord | Template text |
Template result |
---|---|---|
Diminished | {{music symbols|dim}} or {{music symbols|dimdeg}} |
o or ° |
Half-diminished | {{music symbols|halfdim}} or {{music symbols|dimslash}} |
ø |
Augmented | {{music symbols|+}} or {{music symbols|aug}} |
+ |
Major | {{music symbols|delta}} or {{music symbols|major}} |
Δ |
- Sample text
viio becomes viiø in B♭ minor by raising the G♭ to G♮.
III becomes III+ in G♯ minor by raising the F♯ to F.
The F♯Δ7 is used to great effect in the last measure of the piece.
Key signatures
editKey signatures must be typed in using the names of the articles themselves on keys. Note that there is no visual difference between the major and minor key signatures, but the alt text is different.
Sharps/Flats | Key signature (major) | Template text |
Template result |
Key signature (minor) | Template text |
Template result |
---|---|---|---|---|---|---|
7♯ | C♯ major | {{music symbols|c-sharp major}} |
A♯ minor | {{music symbols|a-sharp minor}} |
||
6♯ | F♯ major | {{music symbols|f-sharp major}} |
D♯ minor | {{music symbols|d-sharp minor}} |
||
5♯ | B major | {{music symbols|b major}} |
G♯ minor | {{music symbols|g-sharp minor}} |
||
4♯ | E major | {{music symbols|e major}} |
C♯ minor | {{music symbols|c-sharp minor}} |
||
3♯ | A major | {{music symbols|a major}} |
F♯ minor | {{music symbols|f-sharp minor}} |
||
2♯ | D major | {{music symbols|d major}} |
B minor | {{music symbols|b minor}} |
||
1♯ | G major | {{music symbols|g major}} |
E minor | {{music symbols|e minor}} |
||
0 | C major | {{music symbols|c major}} |
A minor | {{music symbols|a minor}} |
||
1♭ | F major | {{music symbols|f major}} |
D minor | {{music symbols|d minor}} |
||
2♭ | B♭ major | {{music symbols|b-flat major}} |
G minor | {{music symbols|g minor}} |
||
3♭ | E♭ major | {{music symbols|e-flat major}} |
C minor | {{music symbols|c minor}} |
||
4♭ | A♭ major | {{music symbols|a-flat major}} |
F minor | {{music symbols|f minor}} |
||
5♭ | D♭ major | {{music symbols|d-flat major}} |
B♭ minor | {{music symbols|b-flat minor}} |
||
6♭ | G♭ major | {{music symbols|g-flat major}} |
E♭ minor | {{music symbols|e-flat minor}} |
||
7♭ | C♭ major | {{music symbols|c-flat major}} |
A♭ minor | {{music symbols|a-flat minor}} |