Discussion:
abc2midi don't like the smell of flower of scotland
(too old to reply)
David Dalton
2019-10-13 23:02:13 UTC
Permalink
On Oct 12, 2019, Marc Chantreux wrote on rec.music.celtic
hello people,
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.
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.
so i tried
http://terrytraub.org/abc/FlowerOfScotland.abc
and have new errors.
i want to learn ABC anyway but it would be a little long. waiting for
the glorious moment i will be able to debug an abc file by myself: can
anyone provide some assistance to abc2midi ?
regards
marc
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.
--
David Dalton ***@nfld.com http://www.nfld.com/~dalton (home page)
http://www.nfld.com/~dalton/dtales.html Salmon on the Thorns (mystic page)
“‘And the cart is on a wheel/And the wheel is on a hill/And the hill is
shifting sand/And inside these laws we stand.” (Ferron)
Pete
2019-10-14 02:04:39 UTC
Permalink
Post by David Dalton
On Oct 12, 2019, Marc Chantreux wrote on rec.music.celtic
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.
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!)
Post by David Dalton
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 --
Marc Chantreux
2019-10-15 06:28:16 UTC
Permalink
hi,

David, Pete: thanks for your assistance
Post by Pete
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...
yeah sure but those ties should have been there on purpose and i was
wondering why. as a programmer, i'm scarry when someone removes a code
without even knowing what the code do.
Post by Pete
the warnings. RTFM is usually a good idea, though... (:-))
i started. but all the documentation i saw assumes that you know music
writing which is definitely not my case: the only think i started with
is the name of french notes (do, re, mi,...)
Post by Pete
Post by David Dalton
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.
just subscribed to the whole set.

thanks again
marc
Pete
2019-10-16 21:16:49 UTC
Permalink
Post by Marc Chantreux
Post by Pete
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...
yeah sure but those ties should have been there on purpose and i was
wondering why. as a programmer, i'm scarry when someone removes a code
without even knowing what the code do.
Personally, my inclination would be to believe the app. I don't see
ABC as a particularly intuitive scheme (!) and I'm sure people make
mistakes in writing it. And I guess it's possible that whatever app
the author used it with didn't show the error (though I tried yaps
and it reported it too. Not very good-looking postscript, though.)
Post by Marc Chantreux
Post by Pete
the warnings. RTFM is usually a good idea, though... (:-))
i started. but all the documentation i saw assumes that you know music
writing which is definitely not my case: the only think i started with
is the name of french notes (do, re, mi,...)
A problem I somewhat share... I can read a manuscript -- slowly! It's
a matter of figuring it out like a foreign language. Forget sight-reading!
Post by Marc Chantreux
Post by Pete
Post by David Dalton
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 ablege to help you.
And comp.music.midi is where I saw it. Helpful,David.
just subscribed to the whole set.
There's very little traffic in the MIDI groups, but I keep them around
just for the occasional moment.

Cheers,

-- Pete --

Loading...