XPost: rec.music.celtic, rec.music.makers.bagpipe, alt.music.midi
In article <
[email protected]>, David Dalton <
[email protected]> wrote:
On Oct 12, 2019, Marc Chantreux wrote on rec.music.celtic
(in article <5da1f679$0$21616$[email protected]>):
hello people,
i'm very new to
* this group
* playing bagpipes
* playing music
* writing abc
i'm used to unix but it doesn't help to play the the scot national
anthem (which is what i want to do).
So, to get both a sheet and a midi file as example, i downloaded
http://www.partitions.bzh/fichier/313_Flower_of_Scotland.abc
and tried to get the midi of it with abc2midi.
i got those errors:
4.11 January 01 2019 abc2midi
Error in line-char 13-7 : Bad tie: possibly two ties in a row
Error in line-char 14-7 : Cannot find note before tie
writing MIDI file flower_of_scotland1.mid
Warning in line-char 10-4 : Track 0 Bar 0 has 3 units instead of 6 in repeat >> Warning in line-char 27-5 : Track 0 Bar 17 has 2 units instead of 6 in
repeat
Warning in line-char 28-4 : Track 0 Bar 18 has 1 units instead of 6 in
repeat
to navigate from error to error, i started an abc plugin for vim (there
abc syntax is already supported)
https://github.com/eiro/vim-abc
and i started to modify the file randomly (i have to admit i'm just
starting to learn abc) but failed to have a midi file.
Heh... (:-/) I am in no way an ABC expert (my copy of abc2midi is dated
about 10 years back) but a few minutes with the manual showed me where
the errors were. (
http://abcnotation.com/wiki/abc:standard:v2.0 )
In fact, "Error in line-char 13-7 : Bad tie: possibly two ties in a row"
was pretty self-explanatory! The bar on line 13 ends with the '-' tie character, and line 14 begins with one! Two ties in a row...
Removing the '-' on 14 cured the error. Haven't bothered looking at
the warnings. RTFM is usually a good idea, though... (:-))
BTW, the error didn't prevent abc2midi generating a playable midifile.
What did was a missing "X:" statement... (I said my copy was old!)
I have added rec.music.makers.bagpipe , alt.music.midi , and comp.music.midi >to the Newsgroups line (which originally was just rec.music.celtic ) and >perhaps someone from one of those groups will be able to help you.
And comp.music.midi is where I saw it. Helpful,David.
-- Pete --
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)