@c Translators: Griechisch Erika, Harmath Dénes
@c -*- coding: utf-8; mode: texinfo; -*-
-@c \version "2.19.21"
+@c \version "2.19.22"
@node Alapfogalmak
@chapter Alapfogalmak
@translationof Fundamental concepts
@end lilypond
Most megvan a teljes struktúra. Az énekszólam egy @code{Voice} kontextust
-tartalmaz a hangoknak, és egy strófányi dalszöveget. A zongoraszólam pedig
+tartalmaz a hangoknak, és egy versszaknyi dalszöveget. A zongoraszólam pedig
a jobb- és balkéz kottasorait tartalmazza.
Most elkezdhetjük kitölteni a hangokat. Elkezdhetnénk közvetlenül a Voice
@c The following should appear as music without code
@c The three voice styles should be defined in -init
@lilypond[quote,ragged-right]
-\new Staff \relative c'' {
+\new Staff \relative {
\key aes \major
<<
{ % 1. szólam
\voiceOneStyle
- c2 aes4. bes8
+ c''2 aes4. bes8
}
\\ % 2. szólam
{ \voiceTwoStyle
permitting a phrasing slur to be drawn over them.
@lilypond[quote,ragged-right,verbatim]
-\new Staff \relative c' {
+\new Staff \relative {
\voiceOneStyle
% A következő hangok monofónok
- c16^( d e f
+ c'16^( d e f
% Szimultán rész három szólammal
<<
% Continue the main voice in parallel
A szólamokat akkor érdemes így írni, ha a zene csak egy kis része polifón. Viszont amikor az egész ötvonalas kotta nagyrésze polifón, egyszerűbb, ha többszörös szólamokat használunk mindenütt, -- ritkított hangokkal, hogy átlépjük azokat a részeket, ahol a szólamok üresek. Az alábbi példa ezt mutatja:
@lilypond[quote,ragged-right,verbatim]
-\new Staff \relative c' <<
+\new Staff \relative <<
% Initiate first voice
\new Voice {
\voiceOne
- c16^( d e f g4 f e | d2 e2) |
+ c'16^( d e f g4 f e | d2 e2) |
}
% Initiate second voice
\new Voice {
@subsection Szólamok és vokális zene
@translationof Voices and vocals
-Vocal music presents a special difficulty: we need to combine two
-expressions -- notes and lyrics.
+A vokális zene speciális nehézséget jelent: két kifejezést kell egyesíteni -- hangokat és a szöveget.
@funindex \new Lyrics
@funindex \lyricsto
@cindex Lyrics context, creating
@cindex lyrics, linking to voice
-You have already seen the @code{\addlyrics@{@}} command, which
-handles simple scores well. However, this technique is
-quite limited. For more complex music, you must introduce the
-lyrics in a @code{Lyrics} context using @code{\new Lyrics} and
-explicitly link
-the lyrics to the notes with @code{\lyricsto@{@}}, using the
-name assigned to the Voice.
+Korábban már találkoztunk a @code{\addlyrics@{@}} paranccsal, ami
+az egyszerű kottákhoz elegendő. Azonban ez a módszer eléggé korlátolt.
+Bonyolultabb zene esetén, muszáj bevezetni a @code{Lyrics}
+környezetet a @code{\new Lyrics} paranccsal és közvetlenül összekötni a
+dalszöveget a hangjegyekkel. A @code{\lyricsto@{@}} parancs használatával
+hozzárendelhetjük a szöveget a megfelelő szólamhoz.
@lilypond[quote,verbatim,fragment]
<<
- \new Voice = "one" \relative c'' {
+ \new Voice = "one" \relative {
\autoBeamOff
\time 2/4
- c4 b8. a16 g4. f8 e4 d c2
+ c''4 b8. a16 g4. f8 e4 d c2
}
\new Lyrics \lyricsto "one" {
No more let sins and sor -- rows grow.
>>
@end lilypond
-Note that the lyrics must be linked to a @code{Voice} context,
-@emph{not} a @code{Staff} context. This is a case where it is
-necessary to create @code{Staff} and @code{Voice} contexts
-explicitly.
+Megjegyzés: a dalszövegnek egy @code{Voice} környezethez kell kapcsolódnia,
+@emph{nem} @code{Staff} környezethez. Ez egy olyan eset, amikor
+muszáj közvetlenül készíteni @code{Staff} és @code{Voice} környezetet is.
@cindex lyrics and beaming
@cindex beaming and lyrics
@funindex \autoBeamOff
@funindex autoBeamOff
-The automatic beaming which LilyPond uses by default works well
-for instrumental music, but not so well for music with lyrics,
-where beaming is either not required at all or is used to indicate
-melismata in the lyrics. In the example above we use the command
-@code{\autoBeamOff} to turn off the automatic beaming.
+Az automatikus gerendázás -, amit a LilyPond használ - jól működik
+a hangszeres zenére, de nem túl jó a dalszövegek esetén,
+amikor előfordul, hogy nincs is szükség gerendákra vagy ha épp melizmát jeleznénk a dalszövegben.
+A fenti példában az @code{\autoBeamOff} paranccsal kikapcsoltuk az automatikus gerendázást.
@funindex \new ChoirStaff
@funindex ChoirStaff
@cindex vocal score structure
@cindex choir staff
-Let us reuse the earlier example from Judas Maccabæus to
-illustrate this more flexible technique. We first recast
-it to use variables so the music and lyrics can be separated
-from the staff structure. We also introduce a ChoirStaff
-bracket. The lyrics themselves must be introduced with
-@code{\lyricmode} to ensure they are interpreted as lyrics
-rather than music.
+A korábbi Judas Maccabæus példát használva
+nézzünk meg egy rugalmasabb módszert. Először írjuk újra
+változók használatával, így a zene és a dalszöveg a kotta struktúrájától
+különválik. Vezessünk be egy kottasorcsoportot, mely kórusszólamokat fog össze
+(ChoirStaff).
+A dalszöveget magát egy @code{\lyricmode} paranccsal
+vezetjük be, ezzel biztosítva, hogy dalszövegként és
+ne zeneként legyen értelmezve.
@lilypond[quote,verbatim]
global = { \time 6/8 \partial 8 \key f \major}
}
@end lilypond
-This is the basic structure of all vocal scores. More staves may be
-added as required, more voices may be added to the staves, more verses
-may be added to the lyrics, and the variables containing the music can
-easily be placed in separate files should they become too long.
+Ilyen az alapvető felépítése, struktúrája minden vokális zenének. Olykor több kottasor
+szükséges vagy több szólam van egy-egy kottasorban, esetleg több versszakból áll a dalszöveg.
+A változók, amik a zenét tartalmazzák, könnyen külön fájlokba is rendezhetők, ha túl hosszúak lennének.
@cindex hymn structure
@cindex SATB structure
@cindex vocal scores with multiple verses
@cindex multiple vocal verses
-@cindex verses, multiple vocal
+@cindex versszakok, multiple vocal
-Here is an example of the first line of a hymn with four
-verses, set for SATB. In this case the words for all four
-parts are the same. Note how we use variables to separate the
-music notation and words from the staff structure. See too
-how a variable, which we have chosen to call @q{TimeKey}, is used
-to hold several commands for use within the two staves. In other
-examples this is often called @q{global}.
+Itt egy példa egy egyházi ének első sorára, aminek négy
+verszaka van, és négyszólamú kórusra íródott. Ebben az esetben a szavak mind a négy
+szólamra azonosak. Figyeljük meg, hogyan használjuk a változókat arra,
+hogy különválasszuk a kottát és a szavakat a kotta felépítésétől.
+Figyeljük meg, hogy a @q{TimeKey} nevű változó számos parancsot tartalmaz,
+melyet mindkét kottasorban felhasználunk!
+Más példákban ez a közös változó gyakran @q{global} néven szerepel.
@lilypond[quote,verbatim]
TimeKey = { \time 4/4 \partial 4 \key c \major}
}
@end lilypond
-@cindex verse and refrain
+@cindex versszakok és refrének
-We end with an example to show how we might code a solo verse which
-continues into a two-part refrain in two staves. The positioning
-of the sequential and simultaneous sections to achieve this within
-a single score is quite tricky, so follow the explanation carefully!
+A példát azzal fejezzük be, hogy megmutatjuk hogyan lehet egy olyan versszakot,
+ami kétféle refrénnel folytatódik, két ötvonalas kottában leírni.
+Az egymást követő (szekvenciális) és egyidejű (szimultán) részek leírása
+egy kottán belül elég trükkös, úgyhogy a magyarázatot óvatosan kövessük!
-Let's start with a score block containing a @code{ChoirStaff}, as
-we would like the brace to appear at the start of the chorus.
-Normally you would need angle brackets after @code{\new ChoirStaff}
-to bring in all the staves in parallel, but here we want to
-defer the parallelism during the solo so we use braces, although
-angle brackets here wouldn't hurt. Inside the @code{ChoirStaff} we
-want first the staff which will contain the verse. This must
-contain notes and lyrics in parallel, so here we need angle
-brackets around the @code{\new Voice} and @code{\new Lyrics} to
-start them at the same time:
+Kezdjük egy score blokkal, ami tartalmaz egy @code{ChoirStaff}-ot,
+úgy beágyazva, ahogy szeretnénk, hogy látszódjon a kórusrész kezdetén.
+Alapesetben szükség lenne hegyes zárójelekre ( << és >> ) a @code{\new ChoirStaff} után,
+hogy minden kottasor párhuzamos legyen, de most itt el szeretnénk kerülni a
+párhuzamosságot a szóló résznél, ezért zárójeleket használunk - bár a
+hegyes zárójelek nem árthatnak. A @code{ChoirStaff}-on belül először szerepeljen az
+a kottasor, ami a versszakot tartalmazni fogja. Hangokat és dalszöveget kell párhuzamosan tartalmaznia,
+tehát szükség lesz hegyes zárójelre a @code{\new Voice} és @code{\new Lyrics} esetén, hogy egy időben kezdődjenek:
@lilypond[quote,verbatim,ragged-right]
-versenotes = \relative {
+versszakhangok = \relative {
\clef "treble"
\key g \major
\time 3/4
g' g g | b b b |
}
-versewords = \lyricmode {
+
+szoveg = \lyricmode {
One two three four five six
}
\score {
- \new ChoirStaff {
- \new Staff <<
- \new Voice = "verse" {
- \versenotes \break
- }
- \new Lyrics \lyricsto verse {
- \versewords
- }
- >>
+ \new ChoirStaff {
+ \new Staff <<
+ \new Voice = "versszak" {
+ \versszakhangok \break
+ }
+ \new Lyrics \lyricsto "versszak" {
+ \szoveg
+ }
+ >>
}
}
@end lilypond
-That gives the verse line.
+Ezzel kész a verssor.
-Now we want to continue with refrainA on the same staff while a
-second staff is introduced in parallel with it for refrainB, so
-this is a parallel section which must be positioned immediately
-following the @code{\break} in the verse Voice. Yes, @emph{within}
-the verse Voice! Here's that parallel section. More staves
-could be introduced here in the same way.
+Folytatni szeretnénk a refrenA-val ugyanabban az ötvonalas kottában, míg
+a második ötvonal ezzel párhuzamosan lenne a refrenB-nek, tehát
+ez egy párhuzamos rész, ami rögtön a @code{\break} után jön a "versszak" nevű szólamban.
+Igen, a a "versszak" nevű szólamon @emph{belül}! Íme a párhuzamos rész. Több kottasort
+írhatunk hasonló módon.
@example
<<
- \refrainnotesA
- \new Lyrics \lyricsto verse @{
- \refrainwordsA
+ \refrenhangokA
+ \new Lyrics \lyricsto versszak @{
+ \refrenszovegA
@}
\new Staff <<
- \new Voice = "refrainB" @{
- \refrainnotesB
+ \new Voice = "refrenB" @{
+ \refrenhangokB
@}
- \new Lyrics \lyricsto "refrainB" @{
- \refrainwordsB
+ \new Lyrics \lyricsto "refrenB" @{
+ \refrenszovegB
@}
>>
>>
@end example
-Here's the final result with two staves in the chorus showing
-how the parallel section is positioned within the verse Voice:
+Itt a végső eredmény két kottasorral a kórusban, mutatva a verse Voice-on belül pozicionált
+párhuzamos részt:
@lilypond[quote,verbatim, ragged-right]
-versenotes = \relative {
+versszakhangok = \relative {
\clef "treble"
\key g \major
\time 3/4
g' g g | b b b |
}
-refrainnotesA = \relative {
+refrenhangokA = \relative {
\time 2/4
c'' c | g g \bar "|."
}
-refrainnotesB = \relative {
+refrenhangokB = \relative {
\clef "bass"
\key g \major
c e | d d |
}
-versewords = \lyricmode {
+szoveg = \lyricmode {
One two three four five six
}
-refrainwordsA = \lyricmode {
+refrenszovegA = \lyricmode {
la la la la
}
-refrainwordsB = \lyricmode {
+refrenszovegB = \lyricmode {
dum dum dum dum
}
\score {
\new ChoirStaff {
\new Staff <<
- \new Voice = "verse" {
- \versenotes \break
+ \new Voice = "versszak" {
+ \versszakhangok \break
<<
- \refrainnotesA
- \new Lyrics \lyricsto "verse" {
- \refrainwordsA
+ \refrenhangokA
+ \new Lyrics \lyricsto "versszak" {
+ \refrenszovegA
}
\new Staff <<
- \new Voice = "refrainB" {
- \refrainnotesB
+ \new Voice = "refrenB" {
+ \refrenhangokB
}
- \new Lyrics \lyricsto "refrainB" {
- \refrainwordsB
+ \new Lyrics \lyricsto "refrenB" {
+ \refrenszovegB
}
>>
>>
}
- \new Lyrics \lyricsto "verse" {
- \versewords
+ \new Lyrics \lyricsto "versszak" {
+ \szoveg
}
>>
}
@funindex \book
@funindex book
-However, although this is an interesting and useful exercise to
-help you to understand how sequential and simultaneous blocks work,
-in practice one would perhaps choose to code this as two
-@code{\score} blocks within an implicit @code{\book} block, as
-follows:
+Habár ez egy érdekes és hasznos példa arra, hogy megértsük, hogyan működnek
+az egymásutáni és egyidejű blokkok, gyakorlatban valószínűleg a többség ezt két
+@code{\score} blokként írná meg egy implicit @code{\book} blokkon belül, valahogy így:
+
@lilypond[quote,verbatim,ragged-right]
versenotes = \relative {
@translationof Contexts and engravers
-Kontextusok és ábrázolók have been mentioned informally
-in earlier sections; we now must look at
-these concepts in more detail, as they are important
-in the fine-tuning of LilyPond output.
+Kontextusok és ábrázolók korábban említésre kerültek; viszont most részletesebben
+foglalkozunk a fogalommal, mivel ezeket használhatjuk a LilyPond kimeneti eredményének finomhangolására.
@menu
@lilypond[quote,verbatim,ragged-right]
<<
- \new Staff \relative c'' {
+ \new Staff \relative {
\set Staff.instrumentName = #"Soprano"
- c4 c
+ c''4 c
}
- \new Staff \relative c' {
+ \new Staff \relative {
\set instrumentName = #"Alto" % Wrong!
- d4 d
+ d'4 d
}
>>
@end lilypond
\new Staff \relative {
ais'4 aes
}
- \new Staff \relative c'' {
+ \new Staff \relative {
\set Staff.extraNatural = ##f
- ais4 aes
+ ais'4 aes
}
>>
@end lilypond
\new Staff \relative {
ais'4 aes
}
- \new Staff \relative c'' {
+ \new Staff \relative {
\set Score.extraNatural = ##f
- ais4 aes
+ ais'4 aes
}
>>
@end lilypond
\new Voice \with {
\consists "Ambitus_engraver"
}
- \relative c'' {
+ \relative {
\voiceOne
- c a b g
+ c'' a b g
}
\new Voice
- \relative c' {
+ \relative {
\voiceTwo
- c e d f
+ c' e d f
}
>>
@end lilypond
}
<<
\new Voice
- \relative c'' {
+ \relative {
\voiceOne
- c a b g
+ c'' a b g
}
\new Voice
- \relative c' {
+ \relative {
\voiceTwo
- c e d f
+ c' e d f
}
>>
@end lilypond
r4 d'2 cis4 | b4. b8 fis2 | e4 d a'2 |
}
bassWords = \sopranoWords
-upper = \relative a' {
+upper = \relative {
\clef "treble"
\global
- r4 <a d fis>2 <a e' a>4
+ r4 <a' d fis>2 <a e' a>4
<d fis d'>4. <d fis d'>8 <a d a'>2
<g cis g'>4 <a d fis> <a cis e>2
}
-lower = \relative c, {
+lower = \relative {
\clef "bass"
\global
- <d d'>4 <d d'>2 <cis cis'>4
+ <d, d'>4 <d d'>2 <cis cis'>4
<b b'>4. <b' b'>8 <fis fis'>2
<e e'>4 <d d'> <a' a'>2
}
r4 d'2 cis4 | b4. b8 fis2 | e4 d a'2 |
}
bassWords = \sopranoWords
-upper = \relative a' {
+upper = \relative {
\clef "treble"
\global
- r4 <a d fis>2 <a e' a>4
+ r4 <a' d fis>2 <a e' a>4
<d fis d'>4. <d fis d'>8 <a d a'>2
<g cis g'>4 <a d fis> <a cis e>2
}
-lower = \relative c, {
+lower = \relative {
\clef "bass"
\global
- <d d'>4 <d d'>2 <cis cis'>4
+ <d, d'>4 <d d'>2 <cis cis'>4
<b b'>4. <b' b'>8 <fis fis'>2
<e e'>4 <d d'> <a' a'>2
}
dolce = \markup { \italic \bold dolce }
padText = { \once \override TextScript.padding = #5.0 }
fthenp=_\markup { \dynamic f \italic \small { 2nd } \hspace #0.1 \dynamic p }
-violin = \relative c'' {
+violin = \relative {
\repeat volta 2 {
- c4._\dolce b8 a8 g a b
+ c''4._\dolce b8 a8 g a b
\padText
c4.^"hi there!" d8 e' f g d
c,4.\fthenp b8 c4 c-.
the last line.
@example
-violin = \relative c'' @{
+violin = \relative @{
\repeat volta 2 @{
- c4._\markup @{ \italic \bold dolce @} b8 a8 g a b
+ c''4._\markup @{ \italic \bold dolce @} b8 a8 g a b
\once \override TextScript.padding = #5.0
c4.^"hi there!" d8 e' f g d
c,4.\markup @{ \dynamic f \italic \small @{ 2nd @}
@lilypond[quote,verbatim,ragged-right]
padText =
-#(define-music-function (parser location padding) (number?)
+#(define-music-function (padding) (number?)
#{
\once \override TextScript.padding = #padding
#})
this option to the music above, leads to the following result
@lilypond[quote,ragged-right]
-\transpose f c' \relative c {
+\transpose f c' \relative {
\time 2/4
\set Score.skipBars = ##t
R2*3