Title: Theory / Unimportant / CS / Descriptive / LaTeX / Lilypond / Language
Tags: computer_to_instruction FromInstruction hasNotNewEffectReturnsMeaning comment fromCommandLine

Extension: ly
Means: lilyponds
Other fields (not shown on cards):
Page: http://lilypond.org/doc/v2.18/Documentation/learning/command_002dline.html

Instruction: lilyponds foo.ly
Page: http://lilypond.org/doc/v2.18/Documentation/learning/command_002dline.html
Effect: Compile lilypond file foo and output in file foo.pdf (or other file, depending of the configuration in the file)
Context: latex

Instruction: \relative foo {bar}
Page: http://lilypond.org/doc/v2.18/Documentation/learning/command_002dline.html
Effect: Each note in bar is chosen so that it is the note, with the indicated name, closest to the preceding note. The reference note is foo
Language: latex
Context: lilypond

Instruction: foo'
Page: http://lilypond.org/doc/v2.18/Documentation/learning/command_002dline.html
Effect: The note, an octave above foo
Language: latex
Context: lilypond
Variables: foo a note

Instruction: foo,
Page: http://lilypond.org/doc/v2.18/Documentation/learning/command_002dline.html
Effect: The note, an octave below foo
Language: latex
Context: lilypond
Variables: foo a note

Instruction: foobar
Page: http://lilypond.org/doc/v2.18/Documentation/learning/command_002dline.html
Effect: The note foo with duration 1/bar
Language: latex
Context: lilypond
Variables: foo a note
bar a power of 2

Question: If no time is indicated, the default one is:
Answer: the time of last note, or black if there is no previous note
Page: http://lilypond.org/doc/v2.18/Documentation/learning/command_002dline.html
Context: lilypond

Instruction: r
Page: http://lilypond.org/doc/v2.18/Documentation/learning/command_002dline.html
Effect: A rest
Language: latex
Context: lilypond

Instruction: \time foo/bar
Page: http://lilypond.org/doc/v2.18/Documentation/learning/command_002dline.html
Effect: Change time signature to foo/bar
Language: latex
Context: lilypond

Instruction: .
Page: http://lilypond.org/doc/v2.18/Documentation/learning/command_002dline.html
Effect: Add a dot after the note
Language: latex
Context: lilypond

Instruction: \tempo "foo" bar=plop
Page: http://lilypond.org/doc/v2.18/Documentation/learning/command_002dline.html
Effect: Add a tempo indication foo above to the partition.
Indicates that there are plop note of duration bar by minute
Language: latex
Context: lilypond

Instruction: \clef "foo"
Page: http://lilypond.org/doc/v2.18/Documentation/learning/command_002dline.html
Effect: Draw clef foo and adapt the way to draw note in consequence
Language: latex
Context: lilypond

Instruction: \version "foo"
Page: http://lilypond.org/doc/v2.18/Documentation/learning/working-on-input-files.html
Effect: State that the current file is created for lilypond version foo
Language: latex
Context: lilypond

Question: Why version should be indicated in lilypond's file
Answer: it allows automatic updating of the input file as LilyPond syntax changes.
Page: http://lilypond.org/doc/v2.18/Documentation/learning/working-on-input-files.html
Context: lilypond
Answer2: it describes the version of LilyPond needed to compile the file.

Question: Is lilypond case sensitive ?
Answer: yes
Page: http://lilypond.org/doc/v2.18/Documentation/learning/working-on-input-files.html
Context: lilypond

Question: Is lilypond whitespace sensitive ?
Answer: no
Page: http://lilypond.org/doc/v2.18/Documentation/learning/working-on-input-files.html
Context: lilypond

Instruction: {foo}
Page: http://lilypond.org/doc/v2.18/Documentation/learning/working-on-input-files.html
http://lilypond.org/doc/v2.18/Documentation/learning/music-expressions-explained.html
Effect: Add a pickup/anacrusis whose length is foo.
Language: latex
Context: lilypond
Chapter: , 2
Section: , 2.1
Name: compound music expression.

Language: latex
Abbreviation: %foo
^^A
Instruction: %{
foo
%}
\begin{comment}
foo
\end{comment}
%(space)\iffalse foo %(space)\fi
Other fields (not shown on cards):
Chapter: I, 3, 7  (package documentation tools), 7
Page: http://lilypond.org/doc/v2.18/Documentation/learning/working-on-input-files.html
8, 69, 814 , 814
3, 5.1, 1.1, 1.1
Context: lilypond

Instruction: \bar "||"
Page: http://lilypond.org/doc/v2.18/Documentation/learning/bar-lines-and-bar-checks.html
Effect: Place a double bar
Language: latex
Context: lilypond

Instruction: \bar "|."
Page: http://lilypond.org/doc/v2.18/Documentation/learning/bar-lines-and-bar-checks.html
Effect: Place a bar ending the partition
Language: latex
Context: lilypond

Instruction: |
Page: http://lilypond.org/doc/v2.18/Documentation/learning/bar-lines-and-bar-checks.html
Effect: Place a simple bar
Language: latex
Context: lilypond
Abbreviation: Don't write it, let Lilypond compute it

Instruction: foois
Page: http://lilypond.org/doc/v2.18/Documentation/learning/working-on-input-files.html
Effect: The note foo with a sharp
Language: latex
Context: lilypond
Variables: foo a note

Instruction: fooes
Page: http://lilypond.org/doc/v2.18/Documentation/learning/working-on-input-files.html
Effect: The note foo with a flat pitch
Language: latex
Context: lilypond
Variables: foo a note

Instruction: \key foo \bar
Page: http://lilypond.org/doc/v2.18/Documentation/learning/working-on-input-files.html
Effect: Change key signature to note foo with major or minor being \bar
Language: latex
Context: lilypond
Variables: foo a note

Question: When are accidental printed ?
Answer: When they are not implied, neither by last occurrence of this note in the measure, nor by the key.
Page: http://lilypond.org/doc/v2.18/Documentation/learning/working-on-input-files.html
Context: lilypond

Question: When are natural printed ?
Answer: When some accidental is implied by the key or by the previous occurrence of this note in the current measure
Page: http://lilypond.org/doc/v2.18/Documentation/learning/working-on-input-files.html
Context: lilypond

Question: foo~ bar
Answer: Add a tie between the note foo and bar
Page: http://lilypond.org/doc/v2.18/Documentation/learning/working-on-input-files.html
Variables: foo, bar entire note
Context: lilypond

Question: (foo_1 .. foo_n)
Answer: Add a slur above all notes foo_i
Page: http://lilypond.org/doc/v2.18/Documentation/learning/working-on-input-files.html
Variables: foo_1 ... foo_n, notes
Context: lilypond

Question: \ (foo_1 .. foo_n\ )
Answer: Add a phrasing slur above all notes
Page: http://lilypond.org/doc/v2.18/Documentation/learning/working-on-input-files.html
Variables: foo_1 ... foo_n, bar entire note
Context: lilypond

Question: foo-bar
Answer: Adding symbol bar above or below the note, as appropriate
Page: http://lilypond.org/doc/v2.18/Documentation/learning/articulation-and-dynamics.html
Variables: foo_1 entire note
Context: lilypond

Question: foo_bar
Answer: Adding symbol bar below the note
Page: http://lilypond.org/doc/v2.18/Documentation/learning/articulation-and-dynamics.html
Variables: foo_1 entire note
Context: lilypond

Question: foo^bar
Answer: Adding symbol bar above the note
Page: http://lilypond.org/doc/v2.18/Documentation/learning/articulation-and-dynamics.html
Variables: foo_1 entire note
Context: lilypond

Instruction: foo_1-bar
Page: http://lilypond.org/doc/v2.18/Documentation/learning/articulation-and-dynamics.html
Effect: add bar as fingering indication for foo_1
Language: latex
Context: Lilypond
Variables: foo_1 entire note

Instruction: foo_1\bar
Page: http://lilypond.org/doc/v2.18/Documentation/learning/articulation-and-dynamics.html
Effect: add bar as dynamic for the note foo_1
Language: latex
Context: Lilypond
Variables: foo_1 entire note
bar a dynamic, ff, f, mf, mp, p, pp

Instruction: \<
Page: http://lilypond.org/doc/v2.18/Documentation/learning/articulation-and-dynamics.html
Effect: Starts a Crescendi until another dynamic symbol, or until \!
Language: latex
Context: Lilypond
Variables: foo_1 entire note

Instruction: \>
Page: http://lilypond.org/doc/v2.18/Documentation/learning/articulation-and-dynamics.html
Effect: Starts a decrescendi until another dynamic symbol, or until \!
Language: latex
Context: Lilypond
Variables: foo_1 entire note

Instruction: \!
Page: http://lilypond.org/doc/v2.18/Documentation/learning/articulation-and-dynamics.html
Effect: Ends the current (de)crescendo
Language: latex
Context: Lilypond
Variables: foo_1 entire note

Instruction: \markup{foo}
Page: http://lilypond.org/doc/v2.18/Documentation/learning/articulation-and-dynamics.html
Effect: Allow to have text foo with markup where ordinary text would have been accepted
Language: latex
Context: Lilypond

Instruction: [foo_1 ... foo_n]
Page: http://lilypond.org/doc/v2.18/Documentation/learning/articulation-and-dynamics.html
Effect: A ligature for the set of notes foo_i
Language: latex
Context: Lilypond
Chapter: 2
Section: 1.6

Instruction: \autoBeamOff
Page: http://lilypond.org/doc/v2.18/Documentation/learning/articulation-and-dynamics.html
Effect: Forbid automatic ligature
Language: latex
Context: Lilypond
Chapter: 2
Section: 1.6

Instruction: \autoBeamOn
Page: http://lilypond.org/doc/v2.18/Documentation/learning/articulation-and-dynamics.html
Effect: Authorize automatic ligature
Language: latex
Context: Lilypond
Chapter: 2
Section: 1.6

Instruction: \partial foo
Page: http://lilypond.org/doc/v2.18/Documentation/learning/advanced-rhythmic-commands
Effect: Add a pickup/anacrusis whose length is foo.
Language: latex
Context: Lilypond
Chapter: 2
Section: 1.7

Instruction: \tuplet n/m {foo_1 ... foo_n}
Page: http://lilypond.org/doc/v2.18/Documentation/learning/advanced-rhythmic-commands
Effect: Add a tuplet with n notes instead of m notes. The notes beeing the foo_i._
Language: latex
Context: Lilypond
Chapter: 2
Section: 1.7

Instruction: \grace {foo_1 ... foo_n} bar
Page: http://lilypond.org/doc/v2.18/Documentation/learning/advanced-rhythmic-commands
Effect: Add grace notes foo_i before the note bar.
Language: latex
Context: Lilypond
Chapter: 2
Section: 1.7

Name: Polyphony
Definition: having more than one voice occurring in a piece of music.
Page: http://lilypond.org/doc/v2.18/Documentation/learning/advanced-rhythmic-commands
Chapter: 2
Section: 1.7
Context: Music theory

Instruction: <<foo_1 ... foo_n>>
Page: http://lilypond.org/doc/v2.18/Documentation/learning/music-expressions-explained.html
Effect: print n stave/voices, one above the other, the i-th scale containing foo_i.
or
Language: latex
Context: Lilypond
Chapter: 2
Section: 2.1

Question: How to determine whether there is one or multiple stave ?
Answer: Looking at whether first expression is a note or a simultaneous expression
Page: http://lilypond.org/doc/v2.18/Documentation/learning/music-expressions-explained.html
Chapter: 2
Section: 2.1
Context: Lilypond

Instruction: \new Staff foo
Page: http://lilypond.org/doc/v2.18/Documentation/learning/music-expressions-explained.html
Language: latex
Context: Lilypond
Chapter: 2
Section: 2.1
Returns: Start a new staff with content foo.

Question: When a staff is created, which rythm does it have
Answer: the rythm of the previous staff
Page: http://lilypond.org/doc/v2.18/Documentation/learning/multiple-staves
Chapter: 2
Section: 2.2
Context: Lilypond

Question: When a staff is created, which key does it have
Answer: the default key
Page: http://lilypond.org/doc/v2.18/Documentation/learning/multiple-staves
Chapter: 2
Section: 2.2
Context: Lilypond

Instruction: \new PianoStaff
Page: http://lilypond.org/doc/v2.18/Documentation/learning/multiple-staves
Effect: Introduce a pair of staves, connected by a brace, for piano
Language: latex
Context: Lilypond
Chapter: 2
Section: 2.2

Instruction: \new GrandStaff
Page: http://lilypond.org/doc/v2.18/Documentation/learning/staff-groups.html
Effect: Introduce a set of staves, with a brace on left, for orchestra
Language: latex
Context: Lilypond
Chapter: 2
Section: 2.3

Instruction: \new ChoirStaff
Page: http://lilypond.org/doc/v2.18/Documentation/learning/staff-groups.html
Effect: Introduce a set of staves, with a brace on left, for choir
Language: latex
Context: Lilypond
Chapter: 2
Section: 2.3

Instruction: <foo_1 ... foo_n>
Page: http://lilypond.org/doc/v2.18/Documentation/learning/combining-notes-into-chords.html
Effect: A chord with the notes foo_1 ... foo_n
Language: latex
Context: Lilypond
Chapter: 2
Section: 2.4

Instruction: \addlyrics
Page: http://lilypond.org/doc/v2.18/Documentation/learning/combining-notes-into-chords.html
Effect: Create a line with lyrics.
Language: latex
Context: Lilypond
Chapter: 2
Section: 2.4

Instruction: (foo_1 ... foo_n)
Page: http://lilypond.org/doc/v2.18/Documentation/learning/aligning-lyrics-to-a-melody
Effect: Add beam/slur starting at previous note and on the all list of note.
Language: latex
Context: partition
Chapter: 2
Section: 3.2

Instruction: _
Page: http://lilypond.org/doc/v2.18/Documentation/learning/aligning-lyrics-to-a-melody
Effect: The previous word is played on two notes
Language: latex
Context: Lyrics
Chapter: 2
Section: 3.2

Instruction: __
Page: http://lilypond.org/doc/v2.18/Documentation/learning/aligning-lyrics-to-a-melody
Effect: The previous word is singed during the whole of current slur.
Language: latex
Context: Lyrics
Chapter: 2
Section: 3.2

Instruction: foo_1--...--foo_n
Page: http://lilypond.org/doc/v2.18/Documentation/learning/aligning-lyrics-to-a-melody
Effect: State that the word foo_1...foon is decomposed in n syllables
Language: latex
Context: Lyrics
Chapter: 2
Section: 3.2

Instruction: foo= bar
Page: http://lilypond.org/doc/v2.18/Documentation/learning/lyrics-to-multiple-staves
Effect: Introduce a variable named foo whose content is bar
Language: latex
Context: Lilypond
Chapter: 2
Section: 3.3

Instruction: \foo
Page: http://lilypond.org/doc/v2.18/Documentation/learning/organizing-pieces-with-variables.html
Effect: Replaced by the value assigned to the variable foo
Language: latex
Context: Lilypond
Chapter: 2
Section: 4.1
Variables: foo a variable

Instruction: \header {
foo_1 = bar_1
...
foo_n = bar_n
}
Page: http://lilypond.org/doc/v2.18/Documentation/learning/organizing-pieces-with-variables.html
Effect: state that the header of the document must be created using parameters foo_i with value bar_i
Language: latex
Context: Lilypond
Chapter: 2
Section: 4.1

Question: When is absolute mode usefull
Answer: Note separated by big interval
Page: http://lilypond.org/doc/v2.18/Documentation/learning/absolute-note-names
Chapter: 2
Section: 4.3
Context: Lilypond
Answer2: Partition generated by a program

Name: Polyphony
Definition: having more than one voice on the same staff.
Page: http://lilypond.org/doc/v2.18/Documentation/learning/advanced-rhythmic-commands
Chapter: 2
Section: 1.7
Context: Lilypond