Rename notes.* to note.* & Add some music symbols (#4488)

This commit is contained in:
Yip Coekjan 2024-07-06 21:44:14 +08:00 committed by GitHub
parent 2df138a507
commit 394ba50fa6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -480,7 +480,6 @@ pub(crate) const SYM: &[(&str, Symbol)] = symbols! {
checkmark: ['✓', light: '🗸', heavy: ''],
crossmark: ['✗', heavy: ''],
floral: ['❦', l: '', r: ''],
notes: [up: '🎜', down: '🎝'],
refmark: '',
servicemark: '',
maltese: '',
@ -495,6 +494,51 @@ pub(crate) const SYM: &[(&str, Symbol)] = symbols! {
spade.stroked: '',
],
// Music.
note: [
up: '🎜',
down: '🎝',
whole: '𝅝',
half: '𝅗𝅥',
quarter: '𝅘𝅥',
quarter.alt: '',
eighth: '𝅘𝅥𝅮',
eighth.alt: '',
eighth.beamed: '',
sixteenth: '𝅘𝅥𝅯',
sixteenth.beamed: '',
grace: '𝆕',
grace.slash: '𝆔',
],
rest: [
whole: '𝄻',
multiple: '𝄺',
multiple.measure: '𝄩',
half: '𝄼',
quarter: '𝄽',
eighth: '𝄾',
sixteenth: '𝄿',
],
natural: [
'♮',
t: '𝄮',
b: '𝄯',
],
flat: [
'♭',
t: '𝄬',
b: '𝄭',
double: '𝄫',
quarter: '𝄳',
],
sharp: [
'♯',
t: '𝄰',
b: '𝄱',
double: '𝄪',
quarter: '𝄲',
],
// Shapes.
bullet: '',
circle: [