Melodeon.net Forums

Discussions => Teaching and Learning => Topic started by: HallelujahAl on April 23, 2009, 09:18:39 PM

Title: Treble & Bass Clef ABC?
Post by: HallelujahAl on April 23, 2009, 09:18:39 PM
Hi - is it possible to produce both treble and bass clef in ABC i.e. sheet music for a piano or piano accordion - or even melodeon bass lines to accompany melody?
AL
Title: Re: Treble & Bass Clef ABC?
Post by: Lester on April 23, 2009, 10:04:16 PM
Hi - is it possible to produce both treble and bass clef in ABC i.e. sheet music for a piano or piano accordion - or even melodeon bass lines to accompany melody?
AL

Simple answer - NO

Harder answer - probably, there are a number of different development threads going on the expand the ABC notation system but they are to geeky for me as they appear to need quite a lot of programming, command line execution hard stuff.
Title: Re: Treble & Bass Clef ABC?
Post by: HallelujahAl on April 23, 2009, 10:08:28 PM
Quote
Simple answer - NO

Harder answer - probably, there are a number of different development threads going on the expand the ABC notation system but they are to geeky for me as they appear to need quite a lot of programming, command line execution hard stuff.

Shame - I was just plucking up the courage to dive into the sea of ABC and learn how to do it - but I do need to be able to produce multi-staves.
AL
 :(
Title: Re: Treble & Bass Clef ABC?
Post by: Lester on April 23, 2009, 10:12:05 PM
Quote
Simple answer - NO

Harder answer - probably, there are a number of different development threads going on the expand the ABC notation system but they are to geeky for me as they appear to need quite a lot of programming, command line execution hard stuff.

Shame - I was just plucking up the courage to dive into the sea of ABC and learn how to do it - but I do need to be able to produce multi-staves.
AL
 :(

If all you need is the guitar chords it is possible to set text inline with the treble line. But I guess this may not be enough?
Title: Re: Treble & Bass Clef ABC?
Post by: Steve_freereeder on April 23, 2009, 11:28:22 PM
Yes - it is possible without too much trouble. You need to have the two staves for treble clef and bass clef specified by V:1 and V:2 fields respectively. The best way to demonstrate this is to give you an actual example of piano/harpsichord music transcribed into abc. Have a look at the coding to see how it works. I recommend that if you are not familiar with abc, you learn on some basic one-stave to begin with before you tackle the two-stave stuff.

Here's a transcription of the 1st variation of J S Bach's Goldberg Variations (a work of utter genius - possibly the greatest keyboard music ever written). The transcription was done by Reuben and Philip Taylor and the complete Goldbergs can be found here: http://www.barfly.dial.pipex.com/Goldbergs.abc

Note that the authors say that they use Barfly (the abc program for Mac) to run this. It certainly works OK for me (also on a Mac), but YM (on a PC) MV.

Good luck!

Code: [Select]

X:1
T:Goldberg Variations no. 1
C:J.S.Bach
M:3/4
L:1/16
Q:360
V:2 bass
K:G
[V:1]GFG2- GDEF GAB^c |d^cd2- dABc defd |gfg2- gfed ^ceAG|
[V:2]G,,2B,A, B,2G,2G,,2G,2 |F,,2F,E, F,2D,2F,,2D,2 |E,,2E,D, E,2G,2A,,2^C2|
%
[V:1] FED^C DF[K:bass]A,G, F,A,D,2[K:treble] |z2d=c d2G2B,2d2 |z2ed e2A2C2e2|
[V:2] D,2F,E, F,2D,2 D,,2z =C, |B,,A,,B,,2- B,,D,E,F, G,A,B,G, |C,B,,C,2- C,E,F,G, A,B,CA,|
%
[V:1] z2fe f2d2a2c2- |c2B2 zGBd gdga |bgdB GBdg bgfe|
[V:2] D,^C,D,2- D,A,B,C [K:treble] DEFD |GFGD[K:bass] B,DG,B, D,G,B,,D, |G,,2G,2B,2G,2G,,2G,2|
%
[V:1] ae^cA FAce afed |gdBG EGBd gfed |^cGE^C A,CEG cedc|
[V:2] F,,2F,2A,2F,2F,,2F,2 |E,,2E,2G,2E,2E,,2G,2 |A,,2E,2G,2E,2A,,2G,2|
%
[V:1] d2[K:bass]F,2F,2[K:treble]A2d2f2 |B2[K:bass]G,2G,2[K:treble]B2e2g2 |^ceAG FAdf gedc |fd^cB AGFE D4 :|
[V:2] F,A,DF[K:treble] AFDA, [K:bass]F,A,D,F, |G,B,EG[K:treble] BGEB,[K:bass] G,B,E,G, |A,2^C2 DA,F,D, A,2A,,2 |D,,D,E,F, G,A,B,^C D4 :|
%
[V:1] fga2- abag fedc |Bcd2- dedc BAGF |E^GAB AEAB cA^de |
[V:2] D,,2F,E, F,2D,2D,,2F,2 |G,,2B,A, B,2G,2G,,2B,2 |C,2CB, C2F,2A,2C2 |
%
[V:1] fe^d^c B8- |B^de2- e^DE2- E[K:bass]^D,E,2[K:treble] |z^ga2- a^GA2- A^G,A,2-|
[V:2] A,2F,2 ^D,B,,D,F, B,^DFA |G3F G3F, G,3B,, |C,3[K:treble]B c3[K:bass]B, C3E,|
%
[V:1] A,B,CF B,^DEG FEDA |GFE^D EG[K:bass]B,A, G,B,E,2[K:treble] |z2e2c2e2a2A2|
[V:2]^D,2A,2G,2^A,,2B,,2F,2 |E,2G,F, G,2E,2 E,,2 z=D, |C,E,A,C ECA,E, C,E,D,C,|
%
[V:1] z2d2B2d2g2G2 |cAEC A,CEA cAce |fcAF DFAc fcfa|
[V:2] B,,D,G,B, DB,G,D, B,,D,C,B,, |A,,2C,2E,2G,2F,2E,2 |D,2F,2A,2C2B,2A,2|
%
[V:1] bgdB GBdg b=fbd' |ed'c'e dc'bd ce^fg |acBA BdBG cAGF |BGFE DCB,A, G,4 :|
[V:2] G,2B,2[K:treble]D2=F2E2D2 |C2E2^F2^G2A2=G2 |F2D2G2[K:bass]G,2D2D,2 |G,G,,A,,B,, C,D,E,F,G,4 :|


Title: Re: Treble & Bass Clef ABC?
Post by: Stiamh on April 24, 2009, 01:36:07 AM
Here's a transcription of the 1st variation of J S Bach's Goldberg Variations...

Wow... well since you mentioned PC mileage, have a listen to what the ABCmus player made of it (http://www.rogermillington.com/steam/Goldberg.mid)!  ;D
Title: Re: Treble & Bass Clef ABC?
Post by: Lester on April 24, 2009, 08:02:18 AM
Yes - it is possible without too much trouble.
<SNIP>

Steve

Your definition of trouble and mine must be different  ;)
Title: Re: Treble & Bass Clef ABC?
Post by: HallelujahAl on April 24, 2009, 09:32:07 AM
[quoteIf all you need is the guitar chords it is possible to set text inline with the treble line. But I guess this may not be enough?][/quote]

Yes - I need to be able to write separate bass lines. But wow! Goldberg Variations just blow everything out of the water don't they? That's real music!!!

Anyway I'm prepared to have a go at writing one-liner ABC tunes and see if I can make it work. Otherwise I can see that I'll have to fork out for a bit of music writing software.

AL
Title: Re: Treble & Bass Clef ABC?
Post by: Owen Woods on April 24, 2009, 02:34:26 PM
Yes - I need to be able to write separate bass lines. But wow! Goldberg Variations just blow everything out of the water don't they? That's real music!!!
It is indeed. I still hold that they are the best things that have ever been written for the piano. Some day I must get myself a copy, although some movements will be beyond me no matter how much I practice them.
Title: Re: Treble & Bass Clef ABC?
Post by: jb on April 24, 2009, 04:26:41 PM
Just to add that the code for Forneth House posted by Steve_W on 10 April 2004 in the fiddleforum thread of the same title as this one (and linked in my previous post above) seems to play successfully in abcmus.
I'm not an abc expert by any stretch, but it seems to me just from looking at his code that there isn't very much more to (simple) multi-stave coding than there is to single-stave coding - just a few extra bits of syntax to know about. I'm happy to be told otherwise though.
Title: Re: Treble & Bass Clef ABC?
Post by: Lester on April 24, 2009, 05:14:21 PM
I am now willing to accept I may have been over cautious  (:)

I applied Steve's Goldberg to the C Net ABC Convert-a-Matic (http://www.concertina.net/tunes_convert.html)

and out popped this

PDF (http://homepage.ntlworld.com/goldfrog/melodeon/goldberg.pdf)
Title: Re: Treble & Bass Clef ABC?
Post by: jb on April 24, 2009, 05:24:46 PM
I got the same output doing the same thing (Goldberg (http://forum.melodeon.net/index.php/topic,1626.msg15317.html#msg15317) via Tune-O-Tron (http://www.concertina.net/tunes_convert.html)). I was puzzled by the inversion of the treble and bass staves. Then discovered on a hunch that if you just insert a line "V:1" into the header immediately above where it currently says "V:2 bass" it comes out right.

Generally the fiddlers look to have got their act together (http://www.fiddleforum.com/fiddleforum/index.php?topic=15722.0) on this. Steve_W of that parish, whose 2004 coding for multi-stave gives both pdf score and midi (my earlier posts above) has evidently since produced an "advanced guide", though i haven't managed to find it yet.
Title: Re: Treble & Bass Clef ABC?
Post by: Steve_freereeder on April 24, 2009, 06:08:45 PM
Wow... well since you mentioned PC mileage, have a listen to what the ABCmus player made of it (http://www.rogermillington.com/steam/Goldberg.mid)!  ;D

Good grief - it sounds like the Uri Cain version!
http://www.amazon.com/Goldberg-Variations-Adapted-Arranged-Composed/dp/B00004RGPM

I got the same output doing the same thing (Goldberg via Tune-O-Tron). I was puzzled by the inversion of the treble and bass staves. Then discovered on a hunch that if you just insert a line "V:1" into the header immediately above where it currently says "V:2 bass" it comes out right.
 
Thanks jb. I noticed the inversion of treble and bass staves too. As you say, it's fine as soon as you insert a V:1 line in the header. Thanks for the tip!
Title: Re: Treble & Bass Clef ABC?
Post by: Ebor_fiddler on April 24, 2009, 09:30:03 PM
For something considerably cheaper than "Sibelius" try "Musescore" available FREE (I am after all a Yorkshireman!) at http://musescore.org/en/… (for some reason I don't have the full address). It's open source by the way.  :-*
Title: Re: Treble & Bass Clef ABC?
Post by: Falseknight on April 25, 2009, 09:24:09 PM
Also "Noteworthy", also various of the Linux offerings (all freeware, all open source).
SimplePortal 2.3.5 © 2008-2012, SimplePortal