Melodeon.net Forums
Discussions => Tunes => ABC => Topic started by: Roger Hare on October 31, 2021, 05:07:05 PM
-
I'm not sure if this should go in 'Teaching/Learning' or here...
I just stumbled across a whole series of videos by Chris Walshaw, describing
the use of ABC. I haven't seen these mentioned anywhere, but apologies if
they have already been mentioned. They are all of fairly recent 'vintage'.
They may be of interest to some? The 'start' URL is:
https://www.youtube.com/playlist?list=PLfRXRZpfgshJU-1rDD91AP1SF13VHYqbh
x-posted to concertina.net
-
Thanks for that. I found the The EasyABC video especially interesting, and it showed several tricks I'm not able to do with an ordinary editor and some pseudo-comment commands I didn't know about. I might have to give that a try.
-
...I found the The EasyABC video especially interesting...
Ta. I haven't had time to look at them properly yet, but I'll certainly check that one, I'm
a serial EasyABC user..
________
...several tricks I'm not able to do with an ordinary editor...
Sigh, a lot of 'modern' editors seem a bit restricted. I regularly use a (almost) 50 year
old plain text editor which lets me do all sorts of stuff which I can't do with 'modern'
editors
-
Sigh, a lot of 'modern' editors seem a bit restricted. I regularly use a (almost) 50 year
old plain text editor which lets me do all sorts of stuff which I can't do with 'modern'
editors
Well, I meant things like normalising the default note length so the abc code hasn't got a "2" or a "/" after 90% of the notes, or transposing in place in the text buffer, and adjusting for transposing instruments... I doubt your 50 year old editor can do that, unless it's EMACS and you've written some clever scripts for it. (other macro-capable editors are available...)
VS code with the ABC add-on has been doing nicely for me recently, but it's time to see how well EasyABC runs on Linux...
(Edit: got it going, looks good!)
-
Well, I meant things like normalising the default note length so the abc code hasn't got a "2" or a "/" after 90% of the notes, or transposing in place in the text buffer, and adjusting for transposing instruments... I doubt your 50 year old editor can do that, unless it's EMACS and you've written some clever scripts for it. (other macro-capable editors are available...)
VS code with the ABC add-on has been doing nicely for me recently, but it's time to see how well EasyABC runs on Linux...
(Edit: got it going, looks good!)
Point taken! Yes, there's 'specialist' stuff the ABC editors do which can't be done with a bog-standard editor.
I was really talking about 'conditional' general-purpose text editing which allows for alternate edits when a
command fails - which can be nested 3/4 deep. It's not something which I need every day, but when I do,
I do...
I looked at the EasyABC installment. About 10 minutes in he talks about default note lengths - one of my
favourite soap-box topics. He seems to be saying that explicitly inserting the L: value is a good idea (yes).
I'm not sure if he is recommending normalisation to L:1/8 though (my normal practice, on the grounds of
achieving a 'standard' layout, even if it does sometimes lead to 'longer' tune specs with as many '/'s added
as '2's removed.), it's a bit 'hand-wavy' at that point. He does seem to recommend using 'broken rhythm'
notation x>y rather than x3/2y/2 which is my standard practice too, so altogether I think it's all rather good 8).
____________________
I haven't really got my head round VS yet, and getting Linux going is one of those 'when I have time' projects..
-
He seems to be saying that explicitly inserting the L: value is a good idea (yes).
I'm not sure if he is recommending normalisation to L:1/8 though (my normal practice, on the grounds of
achieving a 'standard' layout, even if it does sometimes lead to 'longer' tune specs with as many '/'s added
as '2's removed.), it's a bit 'hand-wavy' at that point.
My interpretation of that was that the behaviour might be unpredictable (or even buggy) if you don't specify the default note length before using that feature.
I don't think he's suggesting it should always be 1/8, more that you should specify it explicitly even if it's the same as the default, e.g. his example was 2/4 which defaults to note length 1/8, but you should still spell it out with L:1/8.
I'd rather keep the tune compact, by selecting a note length that will have the fewest overrides, and with a bias towards shorter lengths becausue I find lots of '/'s harder to read than lots of '2's.
Definitely in favour of A>B instead of A3/2B/2 !
-
[1] My interpretation of that was that the behaviour might be unpredictable (or even buggy) if you don't specify the default note length before using that feature.
[2] I don't think he's suggesting it should always be 1/8, more that you should specify it explicitly even if it's the same as the default, e.g. his example was 2/4 which defaults to note length 1/8, but you should still spell it out with L:1/8.
[3] I'd rather keep the tune compact, by selecting a note length that will have the fewest overrides, and with a bias towards shorter lengths becausue I find lots of '/'s harder to read than lots of '2's.
[4]Definitely in favour of A>B instead of A3/2B/2 !
[1 & 2] Absolutement! I've always believed in explicitly specifying default values (particularly if there are two
defaults'!). Further downstream, my own software has 'misbehaved' when defaults (particularly L:) are not
explicitly specified.
[3] The '/'s and'2's don't bother me, but I quite see your point, it's a personal choice.
[4] I've been using that broken rhythm shorthand for some time now. The only thing to watch for is the fact that abc2midi treats A>B
differently to A3/2B/2 in terms of duration. It can be reset with %%MIDI ratio 3 1. Apologies if you already knew this, but it took me a
while to spot, so maybe it's worth pointing out...
-
The only thing to watch for is the fact that abc2midi treats A>B
differently to A3/2B/2 in terms of duration. It can be reset with %%MIDI ratio 3 1. Apologies if you already knew this, but it took me a while to spot, so maybe it's worth pointing out...
I didn't know. I don't use abc2midi much except for checking my own harmonies, so wouldn't have noticed.