Melodeon.net Forums

Discussions => Tunes => ABC => Topic started by: Roger Hare on April 21, 2019, 05:17:03 PM

Title: Dodgy MIDI playback from within EasyABC...
Post by: Roger Hare on April 21, 2019, 05:17:03 PM
Warning - this is nowt to do with free-reedery...

Consider the following ABC code:

%%barnumbers
X:18
T:Miſs Dundas's Gigg.
%A Select Collection of English Irish and Foreign Airs Jiggs & marches, Vol. 1., N. Stewart (publisher), Edinburgh, c. 1784.
%National Library of Scotland music collections - archive.org/details/selectcollection00rugg
M:6/8
L:1/8
Q:3/8=80
K:D
|: (f/g/) | afd (!trill!dcd) | e2 (e e)fg | aba agf | !trill!e2 (d d)gb | afd (!trill!dcd) | e2 (e e)fg |
afd (!trill!e>de) | (d3 d2) :|


Bar 7: afd (!trill!e>de)

does not sound 'right' when played back through the MIDI player in EasyABC - the highlighted
d and e seem to get mangled in some way - I can't quite hear exactly what is happening, even
slowing the whole thing down. It's something to do with the !trill! and/or the > (is that called
a 'snap'?). If I remove one or the other it sounds 'OK'. I'm actually not sure if this is a purely
subjective thing, to do with my tin ear...

Any comments/thoughts, or am I imagining this problem?

If it's real, is there any way round it?

Thank you.

Roger
[I posted this on ABC-Notation, but as traffic there is so low, I posted here as well...]
Title: Re: Dodgy MIDI playback from within EasyABC...
Post by: Tone Dumb Greg on April 21, 2019, 05:41:12 PM
It's something to do with the !trill! and/or the > (is that called
a 'snap'?). If I remove one or the other it sounds 'OK'. I'm actually not sure if this is a purely
subjective thing, to do with my tin ear...

A snap is the other way round (<) I would call this swing. Others might say different. :D

Have you tried writing out the swing, rather than using the abbreviation, i.e., !trill!e3/2d/ e ?
Title: Re: Dodgy MIDI playback from within EasyABC...
Post by: Roger Hare on April 21, 2019, 05:47:18 PM
1. A snap is the other way round (<) I would call this swing. Others might say different. :D

2. Have you tried writing out the swing, rather than using the abbreviation, i.e., !trill!e3/2d/ e ?

1. Ta!

2. Job done! Worked like a dream. Thanks!

Roger
Title: Re: Dodgy MIDI playback from within EasyABC...
Post by: Pete Dunk on April 21, 2019, 05:51:26 PM
Agree with Greg that a snap is short note first, common in strathspeys. I wrote the dotted pair in manually as Greg suggested and it works fine so it's something in abc2midi that's not parsing properly, I'll report it as a glitch. To save you a bit of typing in future a capital T works the same as !trill!

X:89
T:Miss Dundas's Gigg.
%A Select Collection of English Irish and Foreign Airs Jiggs & marches, Vol. 1., N. Stewart (publisher), Edinburgh, c. 1784.
%National Library of Scotland music collections - archive.org/details/selectcollection00rugg
M:6/8
L:1/8
Q:3/8=80
K:D
|: (f/g/) | afd (Tdcd) | e2 (e e)fg | aba agf | !trill!e2 (d d)gb | afd (Tdcd) | e2 (e e)fg |
afd (Te3/d/e) | (d3 d2) :|
Title: Re: Dodgy MIDI playback from within EasyABC...
Post by: Roger Hare on April 21, 2019, 07:05:40 PM
1. it's something in abc2midi that's not parsing properly,

2. I'll report it as a glitch.

3.To save you a bit of typing in future a capital T works the same as !trill!

1. Aye, after a few minutes thought, I decided something was not being parsed properly. Presumably the procedure
in abc2midi is trying to replace x>y with x3/2y/2 and barfing. String processing is 'difficult' and is giving me a very
particular pain at the moment as I try to write a program to automagically add tabs to a score... :(

2. Thank you.

3. I've got into the habit of using the drop-down menus in EasyABC to insert stuff like trills, fermatas, etc. Maybe it's
a habit I should try and break... (:)
Title: Re: Dodgy MIDI playback from within EasyABC...
Post by: Roger Hare on April 21, 2019, 08:50:20 PM
Hm! Now I look at it more closely, in (the simpler) bar 2: | e2 (e e)fg | I've also put a 'slur' joining the 2nd and 3rd notes,
when strictly it should (also)  be a 'tie', I think: | e2 e- efg | - but (in the context of this tune, and of others in the same publication)
that doesn't sound right either, in fact to me, it sounds pretty poor... >:( I've been doing this all day - I deserve a beer... (:)
Title: Re: Dodgy MIDI playback from within EasyABC...
Post by: Pete Dunk on April 21, 2019, 10:54:18 PM
3. I've got into the habit of using the drop-down menus in EasyABC to insert stuff like trills, fermatas, etc. Maybe it's
a habit I should try and break... (:)

That's up to you but if it works and you're happy then all is good. I've stuck with ABC Explorer as my weapon of choice for general editing, each to their own I guess and it would seem that Easy ABC on a Mac is a thing of wonder, unlike the Windows version which I mostly don't get on with at all but it does have some very useful features.
Title: Re: Dodgy MIDI playback from within EasyABC...
Post by: Roger Hare on April 22, 2019, 07:07:41 AM
That's up to you but if it works and you're happy then all is good. etc...
Fair comment. I checked the same code with Explorer (which I could never get to work on W7, for some bizarre reason), and
it behaved in the same way, as might be expected if it's using abc2midi 'under the bonnet'. The pull-down menus in
EasyABC ain't perfect - they don't include all decorations, ornamentations and directives, for instance, but they are
useful. I might try the same code on TradMusician on Android - that sometimes gets its knickers in a twist if presented
with slightly dodgy ties or slurs.
SimplePortal 2.3.5 © 2008-2012, SimplePortal