From 682fef5ba976509eb46b456ed85bf6f775ade71e Mon Sep 17 00:00:00 2001 From: Graham Percival Date: Fri, 30 Oct 2009 23:47:38 +0000 Subject: [PATCH] Web: add link to Frescobaldi, add new tab example. --- .../general/examples/bach-tab-example.ly | 50 ----------- Documentation/general/examples/tab-example.ly | 84 +++++++++++++++++++ Documentation/general/introduction.itexi | 25 ++++-- 3 files changed, 101 insertions(+), 58 deletions(-) delete mode 100644 Documentation/general/examples/bach-tab-example.ly create mode 100644 Documentation/general/examples/tab-example.ly diff --git a/Documentation/general/examples/bach-tab-example.ly b/Documentation/general/examples/bach-tab-example.ly deleted file mode 100644 index e2ea18a93f..0000000000 --- a/Documentation/general/examples/bach-tab-example.ly +++ /dev/null @@ -1,50 +0,0 @@ -\version "2.11.62" -\include "example-header.ily" - -% Example of Tab Polyphony from Bach Lute Suite in E Minor - - - -%#(define (fret-letter-tablature-format string tuning pitch) -%(make-string 1 (integer->char -%(+ (char->integer #\a) -%(- (pitch-semitones pitch) -%(list-ref tuning (- string 1))))))) - -global = { - \time 12/8 - \key e \minor - \set Staff.midiInstrument = "acoustic guitar (nylon)" -% \set TabStaff.tablatureFormat = #fret-letter-tablature-format -} - -upper = \relative c' { - \global - \voiceOne - r4. r8 e, fis g16 b g e e' b c b a g fis e -} - -lower = \relative c { - \global - \voiceTwo - r16 e d c b a g4 fis8 e fis g a b c | -} - -\score { - << - \new StaffGroup = "tab with traditional" << - \new Staff = "guitar" << - \clef "treble_8" - \context Voice = "upper" \upper - \context Voice = "lower" \lower - >> - \new TabStaff = "guitar" << - \context TabVoice = "upper" \upper - \context TabVoice = "lower" \lower - >> - >> - >> - \layout {} - %\midi {} -} - diff --git a/Documentation/general/examples/tab-example.ly b/Documentation/general/examples/tab-example.ly new file mode 100644 index 0000000000..58ade5e96e --- /dev/null +++ b/Documentation/general/examples/tab-example.ly @@ -0,0 +1,84 @@ +\version "2.13.6" + +#(set-global-staff-size 22.45) + +% TODO +%{ +- you might want to add a custom #'gap = #0.5 and #'extra-offset to + glissandi that go to an accidental'd note. You might want to + do a similar thing, because I see collisions. + +- the fermata seems awfully high +- why are there so many clashing notehead warnings? +%} + +%% Hide fret number: useful to draw slide into/from a casual point of +%% the fretboard. +hideFretNumber = { \once \override TabNoteHead #'transparent = ##t + \once \override NoteHead #'transparent = ##t + \once \override Stem #'transparent = ##t + \once \override NoteHead #'no-ledgers = ##t +} + +\paper { + indent= #0 + line-width= #180 +} + +upper= \relative c' { + \time 4/4 + \key e \major + \set Staff.midiInstrument = #"acoustic guitar (steel)" + \set fingeringOrientations = #'(left) + + %\override Staff.Glissando #'extra-offset = #' (0.0 . 1.0) + \partial 4. \acciaccatura c16 \glissando cis8 e4 + < cis-1 g'-3 >2 s8 \grace a16 ( \glissando 8\3 ) ( b ) | + \2 ( b ) \grace 16 ( \glissando a8 g ) s4. | + s4. < d'\3 g\2 >8 < gis,\4 d'\3 fis\2 >2\arpeggio ~ | + + < gis\4 d'\3 fis\2 >2 < b'\2\harmonic e\harmonic >2^\markup { \musicglyph #"scripts.ufermata" } | + +} + +lower= \relative c { + \set fingeringOrientations = #'(left) + + \partial 4. s4. | + s4 e,4 s2 | + s2 s8 4. ~ | + e4 \hideFretNumber \grace { b8 \glissando s4 } 4\5 e,2 ~ | + + e2 < e'\6\harmonic > | +} + +\score { + \new StaffGroup << + \new Staff = "guitar" << + \context Voice = "upper guitar" { \clef "G_8" \voiceOne \upper } + \context Voice = "lower guitar" { \clef "G_8" \voiceTwo \lower } + >> + \new TabStaff = "tab" << + \context TabVoice = "upper tab" { \clef "moderntab" \voiceOne \upper } + \context TabVoice = "lower tab" { \clef "moderntab" \voiceTwo \lower } + >> + >> + + \midi { + \context { + \Score tempoWholesPerMinute = #(ly:make-moment 120 4) + } + } + + \layout { + \context { + \Staff + \override StringNumber #'transparent = ##t + } + + \context { + \TabStaff + \revert Arpeggio #'stencil + } + } +} diff --git a/Documentation/general/introduction.itexi b/Documentation/general/introduction.itexi index e357739859..7008cd2f5a 100644 --- a/Documentation/general/introduction.itexi +++ b/Documentation/general/introduction.itexi @@ -276,11 +276,11 @@ full score, piano-vocal reduction, and a violin part. @subsubheading Tablature Lilypond supports tablature notation, which can be customized to -suit any instrument that reads from tablature. Here is a passage -from a Bach Lute Suite, with tablature generated automatically -from the notes entered for the traditional staff. +suit any instrument that reads from tablature. The tablature +staff is generated automatically from notes entered for the 5-line +staff. -@exampleImage{bach-tab-example} +@exampleImage{tab-example} @newsEnd @newsItem @@ -821,6 +821,8 @@ convinced? Read about easier editing environments in (click to enlarge),screenshot-denemo,png,right} @sourceimage{logo-linux,,,} +@uref{http://FIXME} + Denemo is graphical editor which generates Lilypond source code and also allows audio playback. It is currently in development and generates code for older versions of Lilypond (V2.8.7). It @@ -840,14 +842,14 @@ graphical view. @sourceimage{logo-macosx,,,} @sourceimage{logo-windows,,,} +@uref{http://lilypondtool@/.organum@/.hu} + Created as a plugin for the @uref{http://@/www@/.jedit@/.org@/,jEdit} text editor, LilyPondTool is one of the most feature-rich text-based tool for editing LilyPond scores. Its features include a Document Wizard with lyrics support to set up documents easier, and embedded PDF -viewer with advanced point-and-click support. For screenshots, -demos, and installation instructions, visit -@uref{http://lilypondtool@/.organum@/.hu} +viewer with advanced point-and-click support. @divEnd @@ -859,6 +861,8 @@ demos, and installation instructions, visit @sourceimage{logo-macosx,,,} @sourceimage{logo-windows,,,} +@uref{http://FIXME} + Emacs is a text editor with language-sensitive capabilities for many different computer languages. Emacs is a highly extensible editor and can be used as an Integrated Development Environment. @@ -881,11 +885,14 @@ writing LilyPond input files. @subsubheading Frescobaldi -@imageFloat{frescobaldi-lilypond-editor-small,png,right} +@imageClickable{frescobaldi-lilypond-editor-small,png, + (click to enlarge),frescobaldi-lilypond-editor,png,right} @sourceimage{logo-linux,,,} @sourceimage{logo-freebsd,,,} +@uref{http://www.frescobaldi.org} + Frescobaldi is a dedicated LilyPond music and text editor with built-in PDF previewer, a powerful score wizard and many editing features. It is built on top of the KDE4 libraries and runs @@ -897,6 +904,8 @@ systems. @sourceimage{logo-macosx,,,} +@uref{http://FIXME} + The @uref{http://@/www@/.uoregon@/.edu/~koch/texshop/index@/.html,TexShop} editor for MacOS@tie{}X can be extended to run LilyPond, -- 2.39.5