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 {
%%postscript    M 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
%%postscript    exch -9 add exch 2 copy 
%%postscript    M 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
%%postscript    exch -9 add exch 2 copy 
%%postscript    M 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
%%postscript    exch -9 add exch 2 copy 
%%postscript    M 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
%%postscript    exch -9 add exch 2 copy 
%%postscript    M 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
%%postscript    exch -9 add exch 2 copy 
%%postscript    M 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

Reply via email to