Re: [abcusers] 8va notation, abcm2ps
On Wed, 08 Jan 2003 09:26:36 -0500, Christopher Myers [EMAIL PROTECTED] wrote: Thanks, Guido -- that was EXACTLY what I needed! Of course, my perfectionism has taken over, and I've tweaked the notation slightly more, with the final result being as follows: PUT2(/Times-Italic-Bold 16 selectfont %.1f %.1f M (8vb) show\n, x+9, y+5); [snip] Hello Christopher, To avoid you to update the source at each release, I customized the clef octave indication. Have a look at 'deco.abc' in the last release (3.2.1). Regards. -- Ken ar c'hentañ | ** Breizh ha Linux atav! ** | http://moinejf.free.fr/ Pépé Jef| mailto:[EMAIL PROTECTED] To subscribe/unsubscribe, point your browser to: http://www.tullochgorm.com/lists.html
Re: [abcusers] 8va notation, abcm2ps
Thanks, Guido -- that was EXACTLY what I needed! Of course, my perfectionism has taken over, and I've tweaked the notation slightly more, with the final result being as follows: PUT2(/Times-Italic-Bold 16 selectfont %.1f %.1f M (8vb) show\n, x+9, y+5); Now my output notation looks almost exactly like the sheet music I transcribed it from. Of course, now I can't make it say 8va in the proper location at the top of the clef, but for my custom purposes, that's OK (as long as I remember what I changed so I can put it back the right way :-) ) Now we should probably both get back to work. ;) -Chris Guido Gonzato wrote: On Tue, 7 Jan 2003, Christopher Myers wrote: * I can make notation that looks like this: ___|)__ |___/___ |__/|___ |_/(|,\_ |_\_|_/_ | (_| 8 by simply putting K:treble-8 but the 8 is too small for my taste. Perhaps I'm being too much of a perfectionist here, but if there's a way to do what I want, I'd very much like to try. being a perfectionist is the engine of civilization (sometimes...) well, I have found a quick solution that involves a minor modification to the source. Grab the abcm2ps source archive, unpack it, then edit the file draw.c. At line 2619, you'll read: PUT2(/Times-Roman 10 selectfont %.1f %.1f M (8) show\n, x, y); all you have to do is change this line as: PUT2(/Times-Roman 16 selectfont %.1f %.1f M (8) show\n, x, y - 3); then run ./configure, make, and make install as usual. I suppose Jean-François will find a way to make it possible to customise even this small detail... or I'll see to it. Ciao, Guido =8-) -- Guido Gonzato, Ph.D. guido . gonzato at univr . it - Linux System Manager Universita' di Verona (Italy), Facolta' di Scienze MM. FF. NN. Ca' Vignal II, Strada Le Grazie 15, 37134 Verona (Italy) Tel. +39 045 8027990; Fax +39 045 8027928 --- Timeas hominem unius libri To subscribe/unsubscribe, point your browser to: http://www.tullochgorm.com/lists.html -- Christopher Myers, Graduate Software Developer Ingenta, Inc. 111R Chestnut St. Providence, RI 02903 ph: 401.331.2014 x 102 em: [EMAIL PROTECTED] aim: chrismyers001 To subscribe/unsubscribe, point your browser to: http://www.tullochgorm.com/lists.html
Re: [abcusers] 8va notation, abcm2ps
On Fri, 3 Jan 2003, Christopher Myers wrote: Does anybody know how (if possible) to put octave notation, e.g. 8va basso - - - - - - into abc so that abcm2ps can render it? I tried making it lyrics, and that didn't quite look right, as it tried to line up each word with the notes above, and I don't need that to happen, obviously. I'm rendering a 4 part score (fife quartet) and usually, the 8va basso is understood for the bottom part, but I want to remove any ambiguity. I'm not really sure what you mean. I suppose the 8va basso - - - - - - indication that is found on some piano scores, which denotes that a certain number of notes are to be played an octave lower. Abcm2ps doesn't have this indication, but it's really easy to add it using the existing 8va new decoration (see deco.abc) as template. Try this: % octava.abc -*- Abc -*- % % This file provides a few decorations for abcm2ps % % (from Jean-Francois Moine) % -- draw octava indication %%postscript /eoct { %%postscriptM 0 6 rlineto currentpoint stroke M %%postscript[6] 0 setdash 30 add 0 rlineto currentpoint stroke M %%postscript[] 0 setdash 0 -6 rlineto stroke %%postscript } bdef %%postscript /octava { % usage: len x y octava %%postscriptexch -9 add exch 2 copy %%postscriptM 0 10 rmoveto /Times-Roman 16 selectfont (8) show %%postscript/Times-Roman 12 selectfont (va) show eoct %%postscript } bdef % -- start / stop of octava indication %%deco 8( 5 - 24 0 0 %%deco 8) 5 octava 24 0 0 % %%postscript /octavab { % usage: len x y octavab %%postscriptexch -9 add exch 2 copy %%postscriptM 0 10 rmoveto /Times-Roman 16 selectfont (8) show %%postscript/Times-Roman 12 selectfont (va) show %%postscript/Times-Roman 16 selectfont ( bassa) show eoct %%postscript } bdef % -- start / stop of octava bassa indication %%deco 8b( 5 - 24 0 0 %%deco 8b) 5 octavab 24 0 0 % %%postscript /octavaa { % usage: len x y octavaa %%postscriptexch -9 add exch 2 copy %%postscriptM 0 10 rmoveto /Times-Roman 16 selectfont (8) show %%postscript/Times-Roman 12 selectfont (va) show %%postscript/Times-Roman 16 selectfont ( alta) show eoct %%postscript } bdef % -- start / stop of octava alta indication %%deco 8a( 5 - 24 0 0 %%deco 8a) 5 octavaa 24 0 0 % %%postscript /coctavaa { % usage: len x y coctavaa %%postscriptexch -9 add exch 2 copy %%postscriptM 0 10 rmoveto /Times-Roman 16 selectfont (con 8) show %%postscript/Times-Roman 12 selectfont (va) show %%postscript/Times-Roman 16 selectfont ( alta) show eoct %%postscript } bdef % -- start / stop of con octava alta indication %%deco c8a( 5 - 24 0 0 %%deco c8a) 5 coctavaa 24 0 0 % %%postscript /coctavab { % usage: len x y coctavab %%postscriptexch -9 add exch 2 copy %%postscriptM 0 10 rmoveto /Times-Roman 16 selectfont (con 8) show %%postscript/Times-Roman 12 selectfont (va) show %%postscript/Times-Roman 16 selectfont ( bassa) show eoct %%postscript } bdef % -- start / stop of con octava bassa indication %%deco c8b( 5 - 24 0 0 %%deco c8b) 5 coctavab 24 0 0 X: 1 T: Prova M: 4/4 L: 1/4 K: C % !8b(!CDE!8b)!D|ECED|!8a(!ECE!8a)!D|EFAA| !8(!BBC!8)!c|debd|bcbd|bdcc| !c8b(!CDE!c8b)!D|ECED|ECED|EFAA| !c8a(!BBC!c8a)!c|debd|bcbd|bdcc| Needless to say, abc2midi will not be able to use these new decos. If this is what you meant, I'm happy. Ciao, Guido =8-) -- Guido Gonzato, Ph.D. guido . gonzato at univr . it - Linux System Manager Universita' di Verona (Italy), Facolta' di Scienze MM. FF. NN. Ca' Vignal II, Strada Le Grazie 15, 37134 Verona (Italy) Tel. +39 045 8027990; Fax +39 045 8027928 --- Timeas hominem unius libri To subscribe/unsubscribe, point your browser to: http://www.tullochgorm.com/lists.html
Re: [abcusers] 8va notation, abcm2ps
Guido, Thanks so much for your detailed response. That is indeed almost what I'm looking for, but I'd like to go one step further. Since it looks like you know how to tweak postscript code (and I don't), I'm going to pick your brain a bit here. What I'd like to see, is the 8va basso notation beneath the staff, since it's for the bottom voice part. Ideally, what it should look like is the following (ASCII art from www.ascii-art.de): ___|)_ |___/__|___ |__/|__|___ |_/(|,\|___ |_\_|_/|___ | (_| |_ _ _ _ _ _ _ _ _ _ _- Note: No ending vertical bar 8va basso throughout or ___|)_ |___/__|___ |__/|__|___ |_/(|,\|___ |_\_|_/|___ | (_| 8vb (On every clef for this voice! *See note below) * I can make notation that looks like this: ___|)__ |___/___ |__/|___ |_/(|,\_ |_\_|_/_ | (_| 8 by simply putting K:treble-8 but the 8 is too small for my taste. Perhaps I'm being too much of a perfectionist here, but if there's a way to do what I want, I'd very much like to try. Thanks!! -Chris Guido Gonzato wrote: On Fri, 3 Jan 2003, Christopher Myers wrote: Does anybody know how (if possible) to put octave notation, e.g. 8va basso - - - - - - into abc so that abcm2ps can render it? I tried making it lyrics, and that didn't quite look right, as it tried to line up each word with the notes above, and I don't need that to happen, obviously. I'm rendering a 4 part score (fife quartet) and usually, the 8va basso is understood for the bottom part, but I want to remove any ambiguity. I'm not really sure what you mean. I suppose the 8va basso - - - - - - indication that is found on some piano scores, which denotes that a certain number of notes are to be played an octave lower. Abcm2ps doesn't have this indication, but it's really easy to add it using the existing 8va new decoration (see deco.abc) as template. Try this: % octava.abc -*- Abc -*- % % This file provides a few decorations for abcm2ps % % (from Jean-Francois Moine) % -- draw octava indication %%postscript /eoct { %%postscriptM 0 6 rlineto currentpoint stroke M %%postscript[6] 0 setdash 30 add 0 rlineto currentpoint stroke M %%postscript[] 0 setdash 0 -6 rlineto stroke %%postscript } bdef %%postscript /octava { % usage: len x y octava %%postscriptexch -9 add exch 2 copy %%postscriptM 0 10 rmoveto /Times-Roman 16 selectfont (8) show %%postscript/Times-Roman 12 selectfont (va) show eoct %%postscript } bdef % -- start / stop of octava indication %%deco 8( 5 - 24 0 0 %%deco 8) 5 octava 24 0 0 % %%postscript /octavab { % usage: len x y octavab %%postscriptexch -9 add exch 2 copy %%postscriptM 0 10 rmoveto /Times-Roman 16 selectfont (8) show %%postscript/Times-Roman 12 selectfont (va) show %%postscript/Times-Roman 16 selectfont ( bassa) show eoct %%postscript } bdef % -- start / stop of octava bassa indication %%deco 8b( 5 - 24 0 0 %%deco 8b) 5 octavab 24 0 0 % %%postscript /octavaa { % usage: len x y octavaa %%postscriptexch -9 add exch 2 copy %%postscriptM 0 10 rmoveto /Times-Roman 16 selectfont (8) show %%postscript/Times-Roman 12 selectfont (va) show %%postscript/Times-Roman 16 selectfont ( alta) show eoct %%postscript } bdef % -- start / stop of octava alta indication %%deco 8a( 5 - 24 0 0 %%deco 8a) 5 octavaa 24 0 0 % %%postscript /coctavaa { % usage: len x y coctavaa %%postscriptexch -9 add exch 2 copy %%postscriptM 0 10 rmoveto /Times-Roman 16 selectfont (con 8) show %%postscript/Times-Roman 12 selectfont (va) show %%postscript/Times-Roman 16 selectfont ( alta) show eoct %%postscript } bdef % -- start / stop of con octava alta indication %%deco c8a( 5 - 24 0 0 %%deco c8a) 5 coctavaa 24 0 0 % %%postscript /coctavab { % usage: len x y coctavab %%postscriptexch -9 add exch 2 copy %%postscriptM 0 10 rmoveto /Times-Roman 16 selectfont (con 8) show %%postscript/Times-Roman 12 selectfont (va) show %%postscript/Times-Roman 16 selectfont ( bassa) show eoct %%postscript } bdef % -- start / stop of con octava bassa indication %%deco c8b( 5 - 24 0 0 %%deco c8b) 5 coctavab 24 0 0 X: 1 T: Prova M: 4/4 L: 1/4 K: C % !8b(!CDE!8b)!D|ECED|!8a(!ECE!8a)!D|EFAA| !8(!BBC!8)!c|debd|bcbd|bdcc| !c8b(!CDE!c8b)!D|ECED|ECED|EFAA| !c8a(!BBC!c8a)!c|debd|bcbd|bdcc| Needless to say, abc2midi will not be able to use these new decos. If this is what you meant, I'm happy. Ciao, Guido =8-)
Re: [abcusers] 8va notation, abcm2ps
On Tue, 7 Jan 2003, Christopher Myers wrote: * I can make notation that looks like this: ___|)__ |___/___ |__/|___ |_/(|,\_ |_\_|_/_ | (_| 8 by simply putting K:treble-8 but the 8 is too small for my taste. Perhaps I'm being too much of a perfectionist here, but if there's a way to do what I want, I'd very much like to try. being a perfectionist is the engine of civilization (sometimes...) well, I have found a quick solution that involves a minor modification to the source. Grab the abcm2ps source archive, unpack it, then edit the file draw.c. At line 2619, you'll read: PUT2(/Times-Roman 10 selectfont %.1f %.1f M (8) show\n, x, y); all you have to do is change this line as: PUT2(/Times-Roman 16 selectfont %.1f %.1f M (8) show\n, x, y - 3); then run ./configure, make, and make install as usual. I suppose Jean-François will find a way to make it possible to customise even this small detail... or I'll see to it. Ciao, Guido =8-) -- Guido Gonzato, Ph.D. guido . gonzato at univr . it - Linux System Manager Universita' di Verona (Italy), Facolta' di Scienze MM. FF. NN. Ca' Vignal II, Strada Le Grazie 15, 37134 Verona (Italy) Tel. +39 045 8027990; Fax +39 045 8027928 --- Timeas hominem unius libri To subscribe/unsubscribe, point your browser to: http://www.tullochgorm.com/lists.html
Re: [abcusers] 8va notation, abcm2ps
On Fri, 03 Jan 2003 21:00:16 -0500, Christopher Myers [EMAIL PROTECTED] wrote: Does anybody know how (if possible) to put octave notation, e.g. 8va basso - - - - - - into abc so that abcm2ps can render it? I tried making it lyrics, and [snip] Have a look at the file 'deco.abc' which is part of abcm2ps. You may have to adapt the postscript code if you want this indication to be drawn below the staff or if it extends on many staves. Happy new year. -- Ken ar c'hentañ | ** Breizh ha Linux atav! ** | http://moinejf.free.fr/ Pépé Jef| mailto:[EMAIL PROTECTED] To subscribe/unsubscribe, point your browser to: http://www.tullochgorm.com/lists.html
Re: [abcusers] 8va notation, abcm2ps
Does anybody know how (if possible) to put octave notation, e.g. 8va basso - - - - - - into abc so that abcm2ps can render it? I tried making it lyrics, and Yes I know : write something like that : K:C treble-8 maybe for you it will be instead bass-8 for octave up it would be +8 from the new.feature file of abcm2ps we get : - line number indicates on which staff line the base clef is written. Defaults values are: G / treble 2 C / alto3 tenor 4 F / bass4 - '+8' or '-8' draws '8' above or below the staff. When no clef is specified, clef changes are automatically inserted when needed (only 'bass' or 'treble'). ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com To subscribe/unsubscribe, point your browser to: http://www.tullochgorm.com/lists.html