[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Customizing staff to display Bohlen-Pierce scale?
From: |
Paul Morris |
Subject: |
Re: Customizing staff to display Bohlen-Pierce scale? |
Date: |
Sun, 1 Mar 2015 16:15:41 -0700 (MST) |
Renaming notes (for input purposes) is something I don't know very well, but
I believe you should be able to edit the names to correspond with the notes
of your default scale. Something along these lines (this would be for a
default chromatic scale, for instance):
%%%%%%%%%%%%
\version "2.18.2"
#(ly:set-default-scale
(ly:make-scale
'#(0 1/2 1 3/2 2 5/2 3 7/2 4 9/2 5 11/2)))
myPitchNames =
#`((do . ,(ly:make-pitch -1 0 NATURAL))
(di . ,(ly:make-pitch -1 1 SHARP)) ; sharp is just for demonstration
(re . ,(ly:make-pitch -1 2 NATURAL))
(me . ,(ly:make-pitch -1 3 FLAT)) ; flat is just for demonstration
(mi . ,(ly:make-pitch -1 4 NATURAL))
(fa . ,(ly:make-pitch -1 5 NATURAL))
(fi . ,(ly:make-pitch -1 6 NATURAL))
(so . ,(ly:make-pitch -1 7 NATURAL))
(lu . ,(ly:make-pitch -1 8 NATURAL))
(la . ,(ly:make-pitch -1 9 NATURAL))
(se . ,(ly:make-pitch -1 10 NATURAL))
(si . ,(ly:make-pitch -1 11 NATURAL)))
#(ly:parser-set-note-names parser myPitchNames)
% EXAMPLE
\relative {
do' di re me
mi fa fi so
lu la se si
do di re me
}
%%%%%%%%%%%%
For more examples, here are four snippets that use ly:parser-set-note-names
that may help:
http://lsr.di.unimi.it/LSR/Search?q=parser+set+note+names
This one looks particularly promising for what you want to do:
http://lsr.di.unimi.it/LSR/Item?id=786
Hope that helps!
-Paul
--
View this message in context:
http://lilypond.1069038.n5.nabble.com/Customizing-staff-to-display-Bohlen-Pierce-scale-tp172424p172480.html
Sent from the User mailing list archive at Nabble.com.
- Re: Customizing staff to display Bohlen-Pierce scale?, Pierre Perol-Schneider, 2015/03/01
- Re: Customizing staff to display Bohlen-Pierce scale?, Paul Morris, 2015/03/01
- Re: Customizing staff to display Bohlen-Pierce scale?, Paul Morris, 2015/03/01
- Re: Customizing staff to display Bohlen-Pierce scale?, txikitofandango, 2015/03/01
- Re: Customizing staff to display Bohlen-Pierce scale?,
Paul Morris <=
- Re: Customizing staff to display Bohlen-Pierce scale?, txikitofandango, 2015/03/02
- Re: Customizing staff to display Bohlen-Pierce scale?, Nick Georgopoulos, 2015/03/02
- Re: Customizing staff to display Bohlen-Pierce scale?, Keith OHara, 2015/03/02
- Re: Customizing staff to display Bohlen-Pierce scale?, txikitofandango, 2015/03/02
- Re: Customizing staff to display Bohlen-Pierce scale?, Paul Morris, 2015/03/05
- Re: Customizing staff to display Bohlen-Pierce scale?, txikitofandango, 2015/03/05