🔣 Symbol Reference

Musical Note Symbols

Unicode includes musical note symbols such as ♩♪♫♬ in the Miscellaneous Symbols block, as well as a dedicated Musical Symbols block with full staff notation characters. This guide lists all Unicode musical note and notation characters with their code points and copy-paste support.

·

Music is a universal language, and Unicode ensures that musical symbols can be represented in digital text alongside words and numbers. From the familiar eighth note (♪) used in casual messaging to the comprehensive Musical Symbols block that encodes full staff notation, Unicode provides a rich set of characters for musical communication. This guide catalogs every important musical symbol in Unicode, explains how they are organized, and shows how to use them in documents, code, and web pages.

Musical Symbols in Everyday Text

Most people encounter Unicode musical symbols in informal contexts — song titles, social media posts, karaoke displays, and decorative text. The most commonly used musical characters come from the Miscellaneous Symbols block (U+2600-U+26FF):

Character Code Point Name Common Usage
U+2669 QUARTER NOTE Sheet music references
U+266A EIGHTH NOTE Most common musical symbol in text
U+266B BEAMED EIGHTH NOTES Paired notes, musical mood
U+266C BEAMED SIXTEENTH NOTES Musical decoration, playlists
U+266D MUSIC FLAT SIGN Flat accidental (B♭, E♭)
U+266E MUSIC NATURAL SIGN Natural accidental
U+266F MUSIC SHARP SIGN Sharp accidental (F♯, C♯)

These seven characters are the workhorses of musical Unicode. They have excellent font support and render correctly across virtually all platforms.

Sharp vs Hash

A critical distinction: the music sharp sign ♯ (U+266F) is a different character from the number sign # (U+0023). They look similar but have different code points, different semantics, and subtly different glyphs:

Character Code Point Name Glyph Details
# U+0023 NUMBER SIGN Horizontal strokes are horizontal, vertical strokes are vertical
U+266F MUSIC SHARP SIGN Horizontal strokes tilt upward, vertical strokes are truly vertical

In music notation, always use U+266F. In programming and hashtags, use U+0023. Search engines and text processing tools treat these as completely different characters.

The Musical Symbols Block (U+1D100-U+1D1FF)

Unicode dedicates an entire block in the Supplementary Multilingual Plane to comprehensive musical notation. The Musical Symbols block at U+1D100-U+1D1FF contains 231 characters covering staff notation elements:

Staff and Barline Characters

Character Code Point Name
𝄀 U+1D100 MUSICAL SYMBOL SINGLE BARLINE
𝄁 U+1D101 MUSICAL SYMBOL DOUBLE BARLINE
𝄂 U+1D102 MUSICAL SYMBOL FINAL BARLINE
𝄃 U+1D103 MUSICAL SYMBOL REVERSE FINAL BARLINE
𝄆 U+1D106 MUSICAL SYMBOL LEFT REPEAT SIGN
𝄇 U+1D107 MUSICAL SYMBOL RIGHT REPEAT SIGN
𝄞 U+1D11E MUSICAL SYMBOL G CLEF (treble clef)
𝄡 U+1D121 MUSICAL SYMBOL C CLEF (alto/tenor clef)
𝄢 U+1D122 MUSICAL SYMBOL F CLEF (bass clef)

Note Value Characters

Character Code Point Name Duration
𝅝 U+1D15D MUSICAL SYMBOL WHOLE NOTE 4 beats
𝅗𝅥 U+1D15E MUSICAL SYMBOL HALF NOTE 2 beats
𝅘𝅥 U+1D15F MUSICAL SYMBOL QUARTER NOTE 1 beat
𝅘𝅥𝅮 U+1D160 MUSICAL SYMBOL EIGHTH NOTE 1/2 beat
𝅘𝅥𝅯 U+1D161 MUSICAL SYMBOL SIXTEENTH NOTE 1/4 beat
𝅘𝅥𝅰 U+1D162 MUSICAL SYMBOL THIRTY-SECOND NOTE 1/8 beat
𝅘𝅥𝅱 U+1D163 MUSICAL SYMBOL SIXTY-FOURTH NOTE 1/16 beat

Rest Characters

Character Code Point Name Duration
𝄻 U+1D13B MUSICAL SYMBOL WHOLE REST 4 beats silence
𝄼 U+1D13C MUSICAL SYMBOL HALF REST 2 beats silence
𝄽 U+1D13D MUSICAL SYMBOL QUARTER REST 1 beat silence
𝄾 U+1D13E MUSICAL SYMBOL EIGHTH REST 1/2 beat silence
𝄿 U+1D13F MUSICAL SYMBOL SIXTEENTH REST 1/4 beat silence

Dynamic and Articulation Marks

Character Code Point Name
𝆏 U+1D18F MUSICAL SYMBOL PIANO (soft)
𝆐 U+1D190 MUSICAL SYMBOL MEZZO (medium)
𝆑 U+1D191 MUSICAL SYMBOL FORTE (loud)
𝆒 U+1D192 MUSICAL SYMBOL CRESCENDO
𝆓 U+1D193 MUSICAL SYMBOL DECRESCENDO
𝄐 U+1D110 MUSICAL SYMBOL FERMATA
𝄑 U+1D111 MUSICAL SYMBOL FERMATA BELOW

Font Support Challenges

The Musical Symbols block (U+1D100-U+1D1FF) presents significant font support challenges. Unlike the basic musical characters in the Miscellaneous Symbols block, these SMP characters require specialized fonts:

Font Basic (♪♫♯) Staff Notation (𝄞𝅘𝅥) Platform
Noto Sans Symbols 2 Full Full Cross-platform
Bravura Full Full Music notation (SMuFL)
Segoe UI Symbol Full Partial Windows
Apple Symbols Full Partial macOS
DejaVu Sans Full Partial Linux

For web pages that need musical notation beyond the basic seven symbols, specifying a fallback font stack is essential:

.music-notation {
    font-family: "Bravura", "Noto Sans Symbols 2", "Segoe UI Symbol", sans-serif;
}

Using Musical Symbols in HTML

The basic musical symbols can be inserted using HTML entities or Unicode directly:

Character HTML Entity CSS Content Description
♩ \2669 Quarter note
♪ \266A Eighth note
♫ \266B Beamed eighth notes
♬ \266C Beamed sixteenth notes
♭ \266D Flat sign
♮ \266E Natural sign
♯ \266F Sharp sign

Working with Musical Symbols in Python

Python handles musical Unicode symbols naturally since all strings are Unicode:

# Basic musical symbols
notes = "♩♪♫♬"
accidentals = "♭♮♯"

# Check character properties
import unicodedata
for char in notes:
    print(f"{char}  U+{ord(char):04X}  {unicodedata.name(char)}")

# SMP musical symbols (require surrogate pairs in some contexts)
treble_clef = "\U0001D11E"
print(f"Treble clef: {treble_clef}  U+{ord(treble_clef):04X}")
print(f"Name: {unicodedata.name(treble_clef)}")

Musical Notation Beyond Unicode

While Unicode provides individual musical symbols, it is not designed for rendering complete musical scores. Full music notation requires layout intelligence — staff lines, note spacing, beaming rules, stem direction, and voice separation — that goes far beyond character encoding.

For actual music engraving, dedicated formats and tools are used:

Tool/Format Type Description
MusicXML Format XML-based music notation interchange
LilyPond Engraver Text-based music typesetting (LaTeX-like)
SMuFL Font Standard Standard Music Font Layout (maps to Unicode PUA + Musical Symbols)
MuseScore Application Open-source music notation editor
Finale / Sibelius Application Commercial notation software
ABC Notation Format Simple text format for folk/traditional music
VexFlow Library JavaScript library for rendering music notation in browsers

The SMuFL (Standard Music Font Layout) specification is particularly relevant to Unicode. SMuFL maps thousands of music notation glyphs to the Unicode Private Use Area (PUA), supplementing the 231 characters in the official Musical Symbols block. Fonts like Bravura implement SMuFL for professional-grade notation.

Musical Emoji

Unicode also includes musical emoji in the Emoticons and Miscellaneous Symbols and Pictographs blocks:

Emoji Code Point Name
🎵 U+1F3B5 MUSICAL NOTE
🎶 U+1F3B6 MULTIPLE MUSICAL NOTES
🎼 U+1F3BC MUSICAL SCORE
🎹 U+1F3B9 MUSICAL KEYBOARD
🎸 U+1F3B8 GUITAR
🎷 U+1F3B7 SAXOPHONE
🎺 U+1F3BA TRUMPET
🎻 U+1F3BB VIOLIN
🥁 U+1F941 DRUM WITH DRUMSTICKS

These emoji are widely supported on mobile platforms and messaging apps, but they are pictographic representations, not notation symbols.

Summary

Unicode provides musical symbols at three levels of specificity: seven essential characters in the Miscellaneous Symbols block for everyday text, 231 notation symbols in the Musical Symbols block for representing score elements, and musical emoji for casual pictographic use. While Unicode cannot replace dedicated music notation software, it ensures that musical symbols are first-class citizens in the world of digital text.

Symbol Reference 中的更多内容

Complete Arrow Symbols List

Unicode contains hundreds of arrow symbols spanning simple directional arrows, double arrows, …

All Check Mark and Tick Symbols

Unicode provides multiple check mark and tick symbols ranging from the classic …

Star and Asterisk Symbols

Unicode includes a rich collection of star shapes — from the simple …

Heart Symbols Complete Guide

Unicode contains dozens of heart symbols including the classic ♥, black and …

Currency Symbols Around the World

Unicode's Currency Symbols block and surrounding areas contain dedicated characters for over …

Mathematical Symbols and Operators

Unicode has dedicated blocks for mathematical operators, arrows, letterlike symbols, and alphanumeric …

Bracket and Parenthesis Symbols

Beyond the ASCII parentheses and square brackets, Unicode includes angle brackets, curly …

Bullet Point Symbols

Unicode offers a wide variety of bullet point characters beyond the standard …

Line and Box Drawing Characters

Unicode's Box Drawing block contains 128 characters for drawing lines, corners, intersections, …

Fraction Symbols Guide

Unicode includes precomposed fraction characters for common fractions like ½ ¼ ¾ …

Superscript and Subscript Characters

Unicode provides precomposed superscript and subscript digits and letters — such as …

Circle Symbols

Unicode contains dozens of circle symbols including filled circles, outlined circles, circles …

Square and Rectangle Symbols

Unicode includes filled squares, outlined squares, small squares, medium squares, dashed squares, …

Triangle Symbols

Unicode provides a comprehensive set of triangle symbols in all orientations — …

Diamond Symbols

Unicode includes filled and outline diamond shapes, lozenge characters, and playing card …

Cross and X Mark Symbols

Unicode provides various cross and X mark characters including the heavy ballot …

Dash and Hyphen Symbols Guide

The hyphen-minus on your keyboard is just one of Unicode's many dash …

Quotation Mark Symbols Complete Guide

Unicode defines typographic quotation marks — curly quotes — for dozens of …

Copyright, Trademark & Legal Symbols

Unicode includes dedicated characters for the copyright symbol ©, registered trademark ®, …

Degree and Temperature Symbols

The degree symbol ° (U+00B0) and dedicated Celsius ℃ and Fahrenheit ℉ …

Circled and Enclosed Number Symbols

Unicode's Enclosed Alphanumerics block provides circled numbers ①②③, parenthesized numbers ⑴⑵⑶, and …

Roman Numeral Symbols

Unicode includes a Number Forms block with precomposed Roman numeral characters such …

Greek Alphabet Symbols for Math and Science

Greek letters like α β γ δ π Σ Ω are widely …

Decorative Dingbats

The Unicode Dingbats block (U+2700–U+27BF) contains 192 decorative symbols originally from the …

Playing Card Symbols

Unicode includes a Playing Cards block with characters for all 52 standard …

Chess Piece Symbols

Unicode provides characters for all six chess piece types in both white …

Zodiac and Astrological Symbols

Unicode's Miscellaneous Symbols block includes the 12 zodiac signs ♈♉♊♋♌♍♎♏♐♑♒♓, planetary symbols, …

Braille Pattern Characters

Unicode's Braille Patterns block (U+2800–U+28FF) encodes all 256 possible combinations of the …

Geometric Shapes Complete Guide

Unicode's Geometric Shapes block contains 96 characters covering circles, squares, triangles, diamonds, …

Letterlike Symbols

The Unicode Letterlike Symbols block contains mathematical and technical symbols derived from …

Technical Symbols Guide

Unicode's Miscellaneous Technical block contains symbols from computing, electronics, and engineering, including …

Combining Characters and Diacritics Guide

Diacritics are accent marks and other marks that attach to letters to …

Whitespace and Invisible Characters Guide

Unicode defines dozens of invisible characters beyond the ordinary space, including zero-width …

Warning and Hazard Signs

Unicode includes warning and hazard symbols such as the universal caution ⚠ …

Weather Symbols Guide

Unicode's Miscellaneous Symbols block includes sun ☀, cloud ☁, rain ☂, snow …

Religious Symbols in Unicode

Unicode includes symbols for many of the world's major religions including the …

Gender and Identity Symbols

Unicode includes the traditional male ♂ and female ♀ symbols from astronomy, …

Keyboard Shortcut Symbols Guide

Apple's macOS uses Unicode characters for keyboard modifier keys such as ⌘ …

Symbols for Social Media Bios

Unicode symbols like ▶ ◀ ► ★ ✦ ⚡ ✈ and hundreds …