chip wrote:
Thanks for your patience and help Jonathan, I'm trying your example
but keep getting errors thrown up at me during compile. I've included
my piece for you to look at. I've placed the \transpose line in
several different sections and can't get it to work.
Regards,
Chip
I should have added the error messages -
--------------------------------------------------------------------------------------------------------------------------
[EMAIL PROTECTED]:~$ lilypond "Mi Lupita - bone.ly"
GNU LilyPond 2.10.33
Processing `Mi Lupita - bone.ly'
Parsing...
Mi Lupita - bone.ly:93:0: error: syntax error, unexpected \transpose
\transpose c es, { \relative c' { \clef "bass" \notes } }
Mi Lupita - bone.ly:96:5: error: syntax error, unexpected '}'
}
error: failed files: "Mi Lupita - bone.ly"
[EMAIL PROTECTED]:~$
---------------------------------------------------------------------------------------------------------------------------
caused by this code -
----------------------------------------------------------------------------------------------------------------------------
... lots of stuff in the copy/pasted section below ...
\bar "|."
}
\score {
\new Staff \notes
\transpose c es, { \relative c' { \clef "bass" \notes } }
\layout { indent = #0 }
\midi {}
----------------------------------------------------------------------------------------------------------------------------
Hope that helps.
===================================================================
% LilyPond
\include "english.ly"
\version "2.10.33"
\header{
title = "Mi Lupita"
composer = "Recorded by: Rudy Palacias"
arranger = "Transcribed by: Chip Wiegand"
instrument = "Bari Sax"
}
% macro for beamed two per two in 2/2 and 4/4 time signature
qBeam = {
#(override-auto-beam-setting '(end 1 8 * *) 1 4 'Staff)
#(override-auto-beam-setting '(end 1 8 * *) 2 4 'Staff)
#(override-auto-beam-setting '(end 1 8 * *) 3 4 'Staff)
}
\paper {
top-margin = 0.1\cm
page-top-space = 0.1\cm
}
#(set-global-staff-size 22)
#(set-default-paper-size "letter")
melody = \relative c'' {
\time 4/4
\key c \major
\clef bass
\override Staff.TimeSignature #'style = #'()
\override MultiMeasureRest #'expand-limit = 1
\override Glissando #'style = #'zigzag
\qBeam
r2 r8 e e d \bar "|:"
f d~ d c b d f a
g e f g~ g4 fs
f?2 r2
c8 g d' g, e' e e d
f d~ d c b d f a
g e f g~ g4 fs
f?2 r2
e4. a8~ a4 a~
\time 5/4 a8 g~ g4~ g2.
\time 4/4 r8 g r4 r2
\set Score.skipBars = ##t R1*4
g4. as8~ as4~ as8 as8~
as4~ as8 gs r4 r4
\time 2/4 r4 r8 gs
\time 4/4
gs4 r r2
r4 e8 f g4 fs
f?1
e1
f4 r r2
R1*5
r2 r8 a~ a gs
g?4 r r2
R1*2
r16 g, a b c d e r r8 e e d \bar ":|"
%$$$$ REMOVED MORE NOTATION TO SHORTEN UP THE QUOTED SECTION $$$$$
}
\score {
\new Staff \melody
\layout {
indent = #0
}
\midi {}
}
=====================================================================
Jonathan Kulp wrote:
Just connect one more dot and you're there...
notes = { \key c \major c d e f }
%% sax part
\relative c'' { \notes }
%% trombone part -- add the "\clef" command
%% and change it to \relative c' instead of relative c''
\transpose c es, { \relative c' { \clef "bass" \notes } }
%%%%
Jon
chip wrote:
Correct me if I'm wrong, but I don't think that is all there is to
it. I changed the clef to Bass and in doing so the notes change
position on the staff. I want to have the notes remain in the same
positions on the staff in bass clef as they are in treble clef. Only
the key signature should change. The Alto Sax part is in the key of
C, so the bass clef part should be in, I don't know, my theory is so
rusty I can't think that one up.
--
Chip
Jonathan Kulp wrote:
For transposing from E-flat to concert pitch, see the docs on
transposition, here:
http://lilypond.org/doc/v2.11/Documentation/user/lilypond-big-page#Transpose
To change it to bass clef, just use a command
\clef "bass"
The easiest way to put put music into a different clef/register is
to store the notes in a variable and simply use different \relative
levels to put it in the right octave:
%%% start cut-and-paste section %%%
%% define the pitches
notes = { c d e f }
%% start pitches on middle C
\relative c' { \notes }
%% put same pitches in bass clef an 8ve lower
\relative c { \clef "bass" \notes }
%% transpose notes for an e-flat instrument
\transpose es c' { \relative c' { \notes }}
%% transpose from e-flat instrument to concert pitch
\transpose c es, { \relative c'' { \notes } }
%%% end cut-and-paste section %%%
Hope that helps,
Jon
chip wrote:
I have a piece written for Eb Alto Sax and would like to transpose
it to Bass Clef Trombone. I've read a bunch of posts in the
archives and am now more confused than ever. It should be
relatively easy, as the bass clef bone should be able to read the
notes as written, but just change the key sig? Right? I think...
Please shed some light on this for me,
Thanks.
Chip
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user