<$musicsheet tiddler="abc-notation-tiddler" midi="yes/no"/>
That is seriously good!
I have it showing me the music score AND being able to play the tune on Chrome.
X:1
T:Raincoat
C:Paul Haslem
R:Air
Z:Paul Haslem, Step out of Time cd
L:1/8
Q:1/4=126
M:4/4
I:linebreak $
K:D
|: "A part" B2 AG FGFE | D2 E2 E4 | B2 AG FGFE | D2 E2 E2 DE | "~"G6FG | "~"A6dc | B4 "~"E4 | E, :|"B part" e8- | e2 ef gf e2 | e8- | e2 ef gf e2 | ^c8 | c8 | B4 "~"E4 | E,8 |: "C part" BeBG ABAG | BAGF E4 | BeBG ABAG | BAGF E2 DE | "~"G2 Bd e2 dB | cdcB A2 dc | BcBA GAGF | E2 G,F, E,4 :| "D part"
e4 B4 | E2 ef gf e2 | e4 B4 | E2 ef gf e2 | ^c2 e2 g4 | c2 e2 g4 | BcBA GAGF | E2 G,F, E,4 |: "E part" b2 ag fgfe | d2 e2 e4 | b2 ag fgfe | d2 e2 e2 de | "~"g6fg | "~"a6d'c' | b4 "~"e4 | E8 :| "ending" e'4 b4 | e2 e'f' g'f' e'2 | e'4 b4 | e2 e'f' g'f' e'2 | ^c'2 e'2 g'4 | c'2 e'2 g'4 | bc'ba gagf | e2 GF E4 |] I been playing with this as much as I can. Its one of nicest things I seen TW used for. I'm convinced a TW plugin for it will go places because it will add to the huge work that has been done already. HOW? by providing a simple way to gather tunes and play them.
On configuration. Well I tried out lots of the variants listed at: https://configurator.abcjs.net/audio concerned with the MIDI side. My question to myself was: what would I want visibly accessible? What would help me do what I do?
Conclusion:
1 - Display the LOOP TOGGLE on the player. (Background: Many tunes are short and you need listen a few times.)
2 - Change the INSTRUMENT NUMBER at will. (Background: MIDI defaults to instrument "0", which is Grand Piano. That is rarely the right sound. Just changing the "instrument" can be amazing. Footnote: some of the lists on the net of the MIDI instrument numbers are incorrect.)
3. - A MIDI FILE download button. (Background: if you want to import the file into a sound or film editor you need that).
Other options like Quarter notes per minute; Half-steps & Metronome options I think would be better dealt with inside "abc Tiddlers", rather than through the interface. Though the more musically-minded might disagree.
import 'font-awesome/css/font-awesome.min.css';
import 'abcjs/abcjs-midi.css';
import abcjs from 'abcjs/midi;
abcjs.renderMidi(
"midi-id",
abcString,
{
program: 7,
generateDownload: true,
inlineControls: {
loopToggle: true,
},
startingTune: 0,
});
abcjs.midi.startPlaying(document.querySelector(".abcjs-inline-midi"));
abcjs.midi.stopPlaying();
//abcjs.midi.setSoundFont("");Enter code here...Ciao BTC
I opened it today to play a tune and noticed you have already updated parts of it.
FWIW, the REPLAY & DOWNLOAD MIDI both worked seamlessly for me.
Two small issues ...
1 - On Windows, both FF 52 & Chrome 65, 64-bit, the icons of the player don't appear ...
2 - Again, in Windows, both FF 52 & Chrome 65, the player and sheet music get separated if you narrow the browser window ... (that red line was supposed to be a circle not a debased Australia :)
Many thanks!
Josiah
I want to make sort of a notes - keyboard that lets you insert the notes visually at the bottom of such an abc tiddler in view mode
There is an incorrect assumption its "Tinny" in how it sounds, rather than a healthy "Woody" sound.
But to present the sounds well you need to be able to change the instrument numbers.
FYI. I did a test on the DOWNLOAD MIDI. I sent one to a composer I know. He put it in his music editor and it worked. This is more than fun for me. It practically helps me as I work with films scores. One thing I'll look into a bit more is getting him to send me a MIDI back and how to embed that.
Doubt it, but is there a MIDI to abc Notation convertor?
You mean a kind of simple jamming-composer? Sounds good.
Since they are "fonts" could an argument not be made to install them locally in a sub-dir to the wiki?
FWIW, I was thinking that this superb MIDI composer / player / sheetmusic maker, could be a good candidate to wrap into TiddlyDesktop as a complete app for folk into music?