Jump to content

Template:Music symbols/doc

From Wikiversity

{{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

[edit source]

The 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 flat), double sharp (double sharp), and microtonal signs since the corresponding Unicode characters are not widely supported.

Symbol Unicode
entity
Unicode
result
Template
text
Template
result
Flat ♭ {{music symbols|flat}}
or {{music symbols|b}}
or {{music symbols|โ™ญ}}
Natural ♮ {{music symbols|natural}}
or {{music symbols|โ™ฎ}}
Sharp ♯ {{musi symbolsc|sharp}}
or {{music symbols|#}}
or {{music symbols|โ™ฏ}}
Double
flat
𝄫 𝄫 {{music symbols|doubleflat}}
or {{music symbols|bb}}
or {{music symbols|๐„ซ}}
double flat
Double sharp 𝄪 𝄪 {{music symbols|doublesharp}}
or {{music symbols|##}}
or {{music symbols|x}}
or {{music symbols|๐„ช}}
double sharp
Half
flat
𝄳 𝄳 {{music symbols|halfflat}}
or {{music symbols|d}}
half flat
Half
sharp
𝄲 𝄲 {{music symbols|halfsharp}}
or {{music symbols|t}}
half sharp
Flat
stroke
𝄳 𝄳 {{music symbols|flatstroke}} flat stroke
Three quarter flat {{music symbols|threequarterflat}}
or {{music symbols|db}}
three quarter flat
Three quarter sharp {{music symbols|threequartersharp}}
or {{music symbols|#t}}
three quarter sharp
Double
flat
stroke
{{music symbols|doubleflatstroke}} double flat stroke
Sample text

The C crops up very early in Beethoven's Symphony No. 3 in E.

Notes and rests

[edit source]
Symbol Unicode
entity
Unicode
result
Template
text
Template
result
Whole
note
𝅝 𝅝 {{music symbols|wholenote}}
or {{music symbols|whole}}
or {{music symbols|semibreve}}
whole note
Half
note
𝅗𝅥 𝅗𝅥 {{music symbols|halfnote}}
or {{music symbols|half}}
or {{music symbols|minim}}
half note
Quarter
note
𝅘𝅥 𝅘𝅥 {{music symbols|quarternote}}
or {{music symbols|quarter}}
or {{music symbols|crotchet}}
quarter note
Eighth
note
𝅘𝅥𝅮 𝅘𝅥𝅮 {{music symbols|eighthnote}}
or {{music symbols|eighth}}
or {{music symbols|quaver}}
eighth note
Beamed
eighth
notes
{{music symbols|eighthnotebeam}}
or {{music symbols|eighthbeam}}
or {{music symbols|quaverbeam}}
beamed eighth notes
Sixteenth
note
𝅘𝅥𝅯 𝅘𝅥𝅯 {{music symbols|sixteenthnote}}
or {{music symbols|sixteenth}}
or {{music symbols|semiquaver}}
sixteenth note
Beamed
sixteenth
notes
{{music symbols|sixteenthnotebeam}}
or {{music symbols|sixteenthbeam}}
or {{music symbols|semiquaverbeam}}
beamed sixteenth notes
Thirty-
second
note
{{music symbols|thirty-secondnote}}
or {{music symbols|thirty-second}}
or {{music symbols|demisemiquaver}}
thirty-second note
Dot . . {{music symbols|dot}} .
Dotted quarter
note
𝅘𝅥𝅯. 𝅘𝅥𝅯. {{music symbols|dottedquarter}}
or {{music symbols|dottedcrotchet}}
dotted quarter note.
Dotted half
note
𝅗𝅥. 𝅗𝅥. {{music symbols|dottedhalf}}
or {{music symbols|dottedminim}}
dotted half note.
Whole
rest
𝄻 𝄻 {{music symbols|wholerest}}
or {{music symbols|semibreverest}}
whole rest
Half
rest
𝄼 𝄼 {{music symbols|halfrest}}
or {{music symbols|minimrest}}
half rest
Quarter
rest bombaclat
𝄽 𝄽 {{music symbols|quarterrest}}
or {{music symbols|crotchetrest}}
quarter rest
Eighth
rest
𝄾 𝄾 {{music symbols|eighthrest}}
or {{music symbols|quaverrest}}
eighth rest
Sixteenth
rest
𝄿 𝄿 {{music symbols|sixteenthrest}}
or {{music symbols|semiquaverrest}}
sixteenth rest
Thirty-
second
rest
{{music symbols|thirtysecondrest}}
or {{music symbols|demisemiquaverrest}}
thirty-second rest

Some 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 (whole note), Chopin writes eighth rest half note quarter note eighth note, completely changing the profile of the music.

Symbol Template
text
Template
result
Treble clef
or G-clef
{{music symbols|treble}}
or {{music symbols|trebleclef}}
or {{music symbols|gclef}}
treble clef
Alto
clef
{{music symbols|alto}}
or {{music symbols|altoclef}}
alto clef
Tenor
clef
{{music symbols|tenor}}
or {{music symbols|tenorclef}}
tenor clef
C-clef {{music symbols|cclef}} C clef
Bass clef
or F-clef
{{music symbols|bass}}
or {{music symbols|bassclef}}
or {{music symbols|fclef}}
bass clef
Neutral clef {{music symbols|neutral}}
or {{music symbols|neutralclef}}
||

Note 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

[edit source]
Symbol Template
text
Template
result
common-time {{music symbols|common-time}} common time
cut-time {{music symbols|cut-time}}
or {{music symbols|alla-breve}}
cut time
2/4 {{music symbols|time|2|4}} Script error: The function "invoke_main" does not exist.
3/4 {{music symbols|time|3|4}} Script error: The function "invoke_main" does not exist.
6/8 {{music symbols|time|6|8}} Script error: The function "invoke_main" does not exist.
9/8 {{music symbols|time|9|8}} Script error: The function "invoke_main" does not exist.
12/8 {{music symbols|time|12|8}} Script error: The function "invoke_main" does not exist.

For 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

[edit source]

Scale degrees are often represented as Arabic numerals with a hat on them and thus the root of a scale is scale degree 1.

Scale degree Template
text
Template
result
1 {{music symbols|scale|1}} scale degree 1
2 {{music symbols|scale|2}} scale degree 2
3 {{music symbols|scale|3}} scale degree 3
4 {{music symbols|scale|4}} scale degree 4
5 {{music symbols|scale|5}} scale degree 5
6 {{music symbols|scale|6}} scale degree 6
7 {{music symbols|scale|7}} scale degree 7
8 {{music symbols|scale|8}} scale degree 8
9 {{music symbols|scale|9}} scale degree 9
Sample text

A descending tetrachord could be written as scale degree 4-scale degree 3-scale degree 2-scale degree 1.

Chord symbols

[edit source]
Chord 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 Fdouble sharp.

The Fฮ”7 is used to great effect in the last measure of the piece.

Key signatures

[edit source]

Key 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}} C-sharp major A minor {{music symbols|a-sharp minor}} A-sharp minor
6 F major {{music symbols|f-sharp major}} F-sharp major D minor {{music symbols|d-sharp minor}} D-sharp minor
5 B major {{music symbols|b major}} B major G minor {{music symbols|g-sharp minor}} G-sharp minor
4 E major {{music symbols|e major}} E major C minor {{music symbols|c-sharp minor}} C-sharp minor
3 A major {{music symbols|a major}} A major F minor {{music symbols|f-sharp minor}} F-sharp minor
2 D major {{music symbols|d major}} D major B minor {{music symbols|b minor}} B minor
1 G major {{music symbols|g major}} G major E minor {{music symbols|e minor}} E minor
0 C major {{music symbols|c major}} C major A minor {{music symbols|a minor}} A minor
1 F major {{music symbols|f major}} F major D minor {{music symbols|d minor}} D minor
2 B major {{music symbols|b-flat major}} B-flat major G minor {{music symbols|g minor}} G minor
3 E major {{music symbols|e-flat major}} E-flat minor C minor {{music symbols|c minor}} C minor
4 A major {{music symbols|a-flat major}} A-flat major F minor {{music symbols|f minor}} F minor
5 D major {{music symbols|d-flat major}} D-flat major B minor {{music symbols|b-flat minor}} B-flat minor
6 G major {{music symbols|g-flat major}} G-flat major E minor {{music symbols|e-flat minor}} E-flat minor
7 C major {{music symbols|c-flat major}} C-flat major A minor {{music symbols|a-flat minor}} A-flat minor