To make the music responsive:
let’s test midi on post
puts the named class on the generated `<svg>` element.
Music Sheet Viewer
programing it onsite
Score layout
The score fits automatically to the content in which it’s placed without any specific indication.
If what is displayed is too small to fit to the allowed content it’s possible to justify the rendering, using the layout=”justified” parameter.
Format of the music sheet code when passed inline. Has no effect if file parameter is used.
Possible values :
- mei (MEI)
- xml (MusicXML)
- abc (ABC)
- or pae (RISM format)
Default format is pae as it’s compact and convenient for displaying music sheet fragments.
Note that « Music Sheet Viewer » doesn’t check that the code is written in the language passed to format parameter. If they don’t match, the result is unpredictable.
font
Renders the score with the corresponding SMuFL font. The following fonts are available :
- Leipzig
- Bravura
- Gootville
- Petaluma
- Leland
By default, Leipzig is used.
MusicSheetViewerPlugin 4.1
MusicSheetViewerPlugin 4.1
load form a file
#Music Sheet Viewer ERROR : local file /home2/orchvil7/public_html//wp-content/uploads/2017/05/DoSerrure.mei does not exist
loading from an external url
MusicSheetViewerPlugin 4.1
With justification:
MusicSheetViewerPlugin 4.1
Chordpro
ChordPro is a simple text-based syntax used to write lead sheets, the lyrics and chords of a song. ChordPro also comes with a command line tool that pretty prints that text into other formats like PDF. You can read all about ChordPro here:ChordPro
ChordPress Warning
There is no chord record with the ID 112. Please check your input or create a proper post for this chord first.
a custom guitar chord.
let’s make our chord interactive
you can transpose the chords up and down and also print the output right from the rendered page.
For example, this is the contents of a simple song: # A simple ChordPro song. {title: Swing Low Sweet Chariot} {start_of_chorus} Swing
D
D#
E
F
F#
G
G#
A
A#
B
C
C#
low, sweet
G
G#
A
A#
B
C
C#
D
D#
E
F
F#
chari
D
D#
E
F
F#
G
G#
A
A#
B
C
C#
ot, Comin’ for to carry me
A7
A#7
B7
C7
C#7
D7
D#7
E7
F7
F#7
G7
G#7
home. Swing
D7
D#7
E7
F7
F#7
G7
G#7
A7
A#7
B7
C7
C#7
low, sweet
G
G#
A
A#
B
C
C#
D
D#
E
F
F#
chari
D
D#
E
F
F#
G
G#
A
A#
B
C
C#
ot, Comin’ for to
A7
A#7
B7
C7
C#7
D7
D#7
E7
F7
F#7
G7
G#7
carry me
D
D#
E
F
F#
G
G#
A
A#
B
C
C#
home. {end_of_chorus} I
D
D#
E
F
F#
G
G#
A
A#
B
C
C#
looked over Jordan, and
G
G#
A
A#
B
C
C#
D
D#
E
F
F#
what did I
D
D#
E
F
F#
G
G#
A
A#
B
C
C#
see, Comin’ for to carry me
A7
A#7
B7
C7
C#7
D7
D#7
E7
F7
F#7
G7
G#7
home. A
D
D#
E
F
F#
G
G#
A
A#
B
C
C#
band of angels
G
G#
A
A#
B
C
C#
D
D#
E
F
F#
comin’ after
D
D#
E
F
F#
G
G#
A
A#
B
C
C#
me, Comin’ for to
A7
A#7
B7
C7
C#7
D7
D#7
E7
F7
F#7
G7
G#7
carry me
D
D#
E
F
F#
G
G#
A
A#
B
C
C#
home. {comment: Chorus}
ChordPress Warning
There is no chord record with the ID 99. Please check your input or create a proper post for this chord first.
# ————————————————— # HEART OF GOLD # Artist: Neil Young # Album: Harvest # Released: 1972 # ————————————————— {title:Heart Of Gold} {subtitle: A song about looking for true love} {artist: Neil Young} {composer: Neil Young} {year: 1972} {album: Harvest} {start_of_verse} {comment: Verse 1}
Em
Fm
F#m
Gm
G#m
Am
A#m
Bm
Cm
C#m
Dm
D#m
I wanna l
C
C#
D
D#
E
F
F#
G
G#
A
A#
B
ive,
D
D#
E
F
F#
G
G#
A
A#
B
C
C#
I wanna g
G
G#
A
A#
B
C
C#
D
D#
E
F
F#
ive.
Em
Fm
F#m
Gm
G#m
Am
A#m
Bm
Cm
C#m
Dm
D#m
I’ve been a m
C
C#
D
D#
E
F
F#
G
G#
A
A#
B
iner for a h
D
D#
E
F
F#
G
G#
A
A#
B
C
C#
eart of g
G
G#
A
A#
B
C
C#
D
D#
E
F
F#
old.
Em
Fm
F#m
Gm
G#m
Am
A#m
Bm
Cm
C#m
Dm
D#m
It’s these expr
C
C#
D
D#
E
F
F#
G
G#
A
A#
B
essions
D
D#
E
F
F#
G
G#
A
A#
B
C
C#
I never g
G
G#
A
A#
B
C
C#
D
D#
E
F
F#
ive. {end_of_verse} {start_of_chorus}
Em
Fm
F#m
Gm
G#m
Am
A#m
Bm
Cm
C#m
Dm
D#m
That keep me searchin’ for a
G
G#
A
A#
B
C
C#
D
D#
E
F
F#
heart of gold
C
C#
D
D#
E
F
F#
G
G#
A
A#
B
And I’m getting’ old.
C
C#
D
D#
E
F
F#
G
G#
A
A#
B
Cmaj7
C#maj7
Dmaj7
D#maj7
Emaj7
Fmaj7
F#maj7
Gmaj7
G#maj7
Amaj7
A#maj7
Bmaj7
C6
C#6
D6
D#6
E6
F6
F#6
G6
G#6
A6
A#6
B6
G
G#
A
A#
B
C
C#
D
D#
E
F
F#
Em
Fm
F#m
Gm
G#m
Am
A#m
Bm
Cm
C#m
Dm
D#m
Keep me searchin’ for a
G
G#
A
A#
B
C
C#
D
D#
E
F
F#
heart of gold
C
C#
D
D#
E
F
F#
G
G#
A
A#
B
And I’m getting’ old.
C
C#
D
D#
E
F
F#
G
G#
A
A#
B
Cmaj7
C#maj7
Dmaj7
D#maj7
Emaj7
Fmaj7
F#maj7
Gmaj7
G#maj7
Amaj7
A#maj7
Bmaj7
C6
C#6
D6
D#6
E6
F6
F#6
G6
G#6
A6
A#6
B6
G
G#
A
A#
B
C
C#
D
D#
E
F
F#
{end_of_chorus}
let me test midi on site
from server
MusicSheetViewerPlugin 4.1
from gdrive
let’s try and make it play
https://drive.google.com/file/d/1XMF5E2gQ1s47ME3j7hS_IPfh6BeqVOAd/view?usp=share_link