మూస:Music
{{Music}} renders Western music notation of various types into Wikipedia and improves cross-browser support for music symbols. Per Wikipedia:Manual of Style (music)#Accidentals this template (or the terms "flat", etc.) should be used in preference to the lowercase letter "b" and the number sign (#).
The images used here are categorized at commons:Category:Template:Music, so if you change an image used please try and remember to update the categorization.
Accidentals
[మార్చు]The template correctly renders Unicode sharps (♯), flats (♭), and natural signs (♮) in 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 Microsoft Windows such as 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.
Symbol | Unicode entity |
Unicode result |
Template text |
Template result |
---|---|---|---|---|
Flat | ♭ |
♭ | {{music|flat}} or {{music|b}} or {{music|♭}} or {{flat}} |
♭ |
Natural | ♮ |
♮ | {{music|natural}} or {{music|♮}} |
♮ |
Sharp | ♯ |
♯ | {{music|sharp}} or {{music|#}} or {{music|♯}} or {{sharp}} |
♯ |
Double flat |
𝄫 |
𝄫 | {{music|doubleflat}} or {{music|bb}} or {{music|𝄫}} |
|
Double sharp | 𝄪 |
𝄪 | {{music|doublesharp}} or {{music|##}} or {{music|x}} or {{music|𝄪}} |
|
Triple flat |
|
{{music|tripleflat}} or {{music|bbb}} |
||
Triple sharp | |
{{music|triplesharp}} or {{music|###}} or {{music|#x}} |
♯ | |
Half flat |
𝄳 |
𝄳 | {{music|halfflat}} or {{music|d}} |
|
Half sharp |
𝄲 |
𝄲 | {{music|halfsharp}} or {{music|t}} |
|
Flat stroke |
𝄳 |
𝄳 | {{music|flatstroke}} |
|
Double flat stroke |
|
{{music|doubleflatstroke}} |
||
Three quarter flat | |
{{music|threequarterflat}} or {{music|db}} |
||
Three quarter sharp | |
{{music|threequartersharp}} or {{music|#t}} |
||
Septimal quarter tone (-) | |
{{music|7}} or {{music|septimalquartertone-}} |
||
Septimal quarter tone (+) | |
{{music|L}} or {{music|septimalquartertone+}} |
||
Eleventh partial [53 cents] (-) | |
{{music|down}} or {{music|Down}} |
↓ | |
Eleventh partial [difference between 11:8 & 4:3] (+) | |
{{music|up}} or {{music|Up}} |
↑ | |
Thirteenth partial [26.8 cents] (-) | |
{{music|13upsidedown}} or {{music|thirteenupsidedown}} |
||
Thirteenth partial [difference between 13:8 & 8:5] (+) | |
{{music|13}} or {{music|thirteen}} |
- Sample text
The C♯ crops up very early in Beethoven's Symphony No. 3 in E♭.
Notes and rests
[మార్చు]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 (), Chopin writes , completely changing the profile of the music.
Clefs
[మార్చు]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
[మార్చు]Symbol | Template text |
Template result |
---|---|---|
common-time | {{music|common-time}} |
|
cut-time | {{music|cut-time}} or {{music|alla-breve}} |
|
2/4 | {{music|time|2|4}} |
మూస:Time signature |
3/4 | {{music|time|3|4}} |
మూస:Time signature |
6/8 | {{music|time|6|8}} |
మూస:Time signature |
9/8 | {{music|time|9|8}} |
మూస:Time signature |
12/8 | {{music|time|12|8}} |
మూస:Time signature |
For a general time signature, use {{music|time|top number|bottom number}}
. This makes use of Template:Time signature, which should not be used on its own.
Scale degrees
[మార్చు]Scale 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
[మార్చు]Chord | Template text |
Template result |
---|---|---|
Diminished | {{music|dim}} or {{music|dimdeg}} |
o or ° |
Half-diminished | {{music|halfdim}} or {{music|dimslash}} |
ø |
Augmented | {{music|+}} or {{music|aug}} |
+ |
Major | {{music|Δ}} or {{music|delta}} or {{music|major}} or {{music|maj}} |
Δ |
- 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
[మార్చు]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|c-sharp major}} |
A♯ minor | {{music|a-sharp minor}} |
||
6♯ | F♯ major | {{music|f-sharp major}} |
D♯ minor | {{music|d-sharp minor}} |
||
5♯ | B major | {{music|b major}} |
G♯ minor | {{music|g-sharp minor}} |
||
4♯ | E major | {{music|e major}} |
C♯ minor | {{music|c-sharp minor}} |
||
3♯ | A major | {{music|a major}} |
F♯ minor | {{music|f-sharp minor}} |
||
2♯ | D major | {{music|d major}} |
B minor | {{music|b minor}} |
||
1♯ | G major | {{music|g major}} |
E minor | {{music|e minor}} |
||
0 | C major | {{music|c major}} |
A minor | {{music|a minor}} |
||
1♭ | F major | {{music|f major}} |
D minor | {{music|d minor}} |
||
2♭ | B♭ major | {{music|b-flat major}} |
G minor | {{music|g minor}} |
||
3♭ | E♭ major | {{music|e-flat major}} |
C minor | {{music|c minor}} |
||
4♭ | A♭ major | {{music|a-flat major}} |
F minor | {{music|f minor}} |
||
5♭ | D♭ major | {{music|d-flat major}} |
B♭ minor | {{music|b-flat minor}} |
||
6♭ | G♭ major | {{music|g-flat major}} |
E♭ minor | {{music|e-flat minor}} |
||
7♭ | C♭ major | {{music|c-flat major}} |
A♭ minor | {{music|a-flat minor}} |