Next: Music Sheet, Previous: ("dir"), Up: ("dirTop")
Wave-landscape
[file-code; "ly,texi,sh are UTF-8"]
Normally; Windows & Linux "[Prompt] lilypond --png --pdf name.ly[Enter]"
And---- Only;
Linux(Prompt) $ ./run--lily.sh name[Enter](need makeinfo) ----
wave-landscape.midi(//The one below is mp3//)
wave-landscape.pdf
All files (wave-landscape.tar.gz;<3,050bytes)
Next: wave-landscape.texi, Previous: Music Sheet, Up: Top
%% 3:28 AM Tuesday, April 18, 2023 %% Yukio Yoshida \version "2.24.0" #(set-default-paper-size "letter") #(set-global-staff-size 16) \header { dedication = \markup { \column { " " " " "Wordless Poem" " " } } title = "The wave in Landscape" subtitle = "Wind, Twing and Surf" subsubtitle = "Landscape of C major" instrument = \markup \center-column { "soprano; C clef on 1st line, alto; C clef on 3st line." " tenor; C clef on 4th line, bass; F clef on 4th line." } composer = \markup { \italic "yukio yoshida" } arranger = \markup{\tiny "No.28(Apr. 30, 2008)"} copyright = "public Domain" %% tagline = " " } upper = { \autoBeamOff %%1-4 \clef soprano r8 a'2 b'8 a' g' d'2 | g'8 a' b'2. c''2 | b'8 a' g' d'2 r8 a'2 | \repeat volta 2 { b'8 c'' d'' e''4. d''2. | } \break %%5-9 c''2. e''~ | e''8 d'' c'' b' a'2 g'8 f' e'4 | f'2. g' | a'1. | b'8 a' g' r8 c''1 | \break %%10-14 g'8 a' b' r8 c''1 | r8 a'2 b'8 a' g' f'2~ | f'2 r8. a'8. g' f' e'4~ | e'2. d'2. | \repeat volta 2 { e''8 d'' c'' b' r4 a'2. | } \break %%15-19 b'1. | c'' 1. | \clef tenor \repeat volta2 { g'1 f'8 e' d' c' | b1 c'16 d' e' f' g'4 ~ | g'4 f'16 e' d' c' c'2 d'4 e' | } \break %%20- \repeat volta 2 { c'16 d' e' f' g'4 \repeat volta2 { b16 c' d' e' f'4 g'16 f' e' d' c'4 | b16 r32 c'16 r32 d'16 r32 e'16 r32 f'4. g'16 r32 f'16 r32 e'16 r32 d'16 r32 c'4. | f'16 e' d' c'16 c'4 } d'1 | } e'2. f'2. | \break b'8 a' g' f' g'4 a' g'2 | \clef soprano r8 a'2 b'8 a' g' f'2~ | f'2 r8. a'8. g' f' e'4~ | e'2. d'2. | e''8 d'' c'' b' r4 a'2. | b'1.^\fermata | c'' 1.^\fermata \bar "|." } lower = { \autoBeamOff %%1-4 \clef alto r8 d'2 e'8 d' c' g2 | c'8 d' e'2. f'2 | e'8 d' c' g2 r8 d'2 | \repeat volta 2 { e'8 f' g' a'4. g'2. | } \break %%5-9 f'2. a'~ | a'8 g' f' e' d'2 c'8 b a4 | b2. c' | d'1. | e'8 d' c' r8 f'1 | \break %%10-14 c'8 d' e' r8 f'1 | r8 d'2 e'8 f' g' a'2~ | a'2 r8. d'8. e' f' g'4~ | g'2. a'2. | \repeat volta 2 { \stemDown b8 c' d' e' r4 d'2. | } \break %%15-19 e'1. | f'1. | \clef bass \repeat volta 2 { c'1 b8 a g f | e1 c'16 b a g f4 ~ | f4 g16 a b c' c'2 b4 a | } \break %%20- \repeat volta 2 { c'16 b a g f4 \repeat volta 2 { d'16 c' b a g4 f16 g a b c'4 | d'16 r32 c'16 r32 b16 r32 a16 r32 g4. f16 r32 g16 r32 a16 r32 b16 r32 c'4. | g16 a b c' c'4 } b1 | } a2. g2. | \break g8 f e d e4 f d2 | \clef alto r8 d'2 e'8 f' g' a'2~ | a'2 r8. d'8. e' f' g'4~ | g'2. a'2. | \stemDown b8 c' d' e' r4 d'2. | e'1.^\fermata | f'1.^\fermata \bar "|." } %% get sheet music -------------------------------------------------------- \score { << \context ChoirStaff = "FourPartStaffaddchorus" << \new Voice = "soprano" { \key c\major \time 3/2 %%\set Staff.instrumentName = "soprano" \upper } %% \new Lyrics \lyricsto "soprano" { \sopranoL } \new Voice = "alto" { \key c\major \time 3/2 %%\set Staff.instrumentName = "alto " \lower } %% \new Lyrics \lyricsto "alto" { \altoL } %%\new Voice = "tenor" { \clef tenore \key c\major \time 4/4 %% \set Staff.instrumentName = "tenor " \tenor } %% \new Lyrics \lyricsto "tenore" { \tenorL } %%\new Voice = "bass" { \clef bass \key c\major \time 3/2 %% \set Staff.instrumentName = "bass " \bass } %% \new Lyrics \lyricsto "bass" { \bassL } >> %%\context PianoStaff = "PianoStaff" << %%\new Voice = "piano" { \clef treble \key c\major \time 4/4 %% \set Staff.instrumentName = "piano " \pianoUP } %%\new Voice = "piano" { \clef bass \key c\major \time 4/4 %% \set Staff.instrumentName = "piano " \pianoDown } %% >> >> \layout {} } %% get midi music --------------------------------------------------------- \score { << \new Staff { \key c\major \time 3/2 \tempo 4 = 68 \set Staff.midiInstrument = "pad 4 (choir)" \unfoldRepeats \upper } \new Staff { \key c\major \time 3/2 \tempo 4 = 68 \set Staff.midiInstrument = "pad 4 (choir)" \unfoldRepeats \lower } %%\new Staff { \clef tenor \key c\major \time 4/4 \tempo 4 = 68 %% \set Staff.midiInstrument = "pad 4 (choir)" %% \unfoldRepeats \tenorm } %%\new Staff { \clef bass \key c\major \time 3/2 \tempo 4 = 68 %% \set Staff.midiInstrument = "pad 4 (choir)" %% \unfoldRepeats \bass } %%\new Staff { \clef treble \key c\major \time 4/4 \tempo 4 = 68 %% \set Staff.midiInstrument = "acoustic grand" %% \unfoldRepeats \pianoUPm } %%\new Staff { \clef bass \key c\major \time 4/4 \tempo 4 = 68 %% \set Staff.instrumentName = "acoustic grand" %% \unfoldRepeats \pianoDownm } >> \midi { tempoWholesPerMinute = #(ly:make-moment 68 4) } } %% %%End %%
Next: run–makeinfo, Previous: wave-landscape.ly, Up: Top
%% 10:29 PM Friday, January 19, 2024 %% Yukio Yoshida %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \input colordvi.tex \input texinfo @c %**start of header @setfilename wave-landscape.info @c @settitle wave-landscape @documentlanguage en @documentencoding utf-8 @setchapternewpage odd @c %**end of header @c *********** Body start ****************** @node Top, Music Sheet, ("dir"), ("dirTop") @comment node-name, next, previous, up @c @node Top @ifhtml @html <p align = "center"> <span style="font-size: 40px;"><b>Wave-landscape</b></spam> </p> <code> [file-code; "ly,texi,sh are UTF-8"]<br /> <span style="font-size: 16px;"> <b>Normally; Windows & Linux "[Prompt] <kbd> lilypond --png --pdf name.ly</kbd>[Enter]"</b><br /> <b>And---- Only; <i>Linux(Prompt)<kbd> <span style="color: red;">$ ./run--lily.sh name</span></kbd>[Enter]</i>(need makeinfo) ----</b><br /> </span> </code> <br /> @end html @end ifhtml @c @top @c @ignore ------------------------------------------------------------------------ @ifhtml @menu * wave-landscape:: --- Music Sheet: Music Sheet. * wave-landscape.ly:: --- Source code framework: wave-landscape.ly. * wave-landscape.texi:: --- Source code document: wave-landscape.texi. * run--makeinfo:: --- Source code run-file: run--makeinfo. @end menu @end ifhtml @c @ignore ------------------------------------------------------------------------ @html <p align = "center">       <a href="earth.mid">wave-landscape.midi</a>(//The one below is mp3//)         <a href="wave-landscape.pdf">wave-landscape.pdf</a>          • <a href="wave-landscape.tar.gz">All files</a> (wave-landscape.tar.gz;<3,050bytes)<br /> <audio src="wave-landscape.mp3" controls> Download <a href="earth.mp3">episode 42 Learnung to love HTML5</a> </audio></p> @end html @ifnottex @node Music Sheet, wave-landscape.ly, Top, Top @comment node-name, next, previous, up @c @top @end ifnottex @unnumbered Music Sheet @ifhtml @html <p align = "center"> <img src="wave-landscape.svg" alt="[picture of music]" /><!-- --> <hr style="width:68%; height:4px;" /> </a></p> <br /> @end html @end ifhtml @html </div> @end html @ifnottex @node wave-landscape.ly, wave-landscape.texi, Music Sheet, Top @comment node-name, next, previous, up @end ifnottex @unnumbered wave-landscape.ly @html <blockquote><blockquote> @end html @verbatiminclude wave-landscape.ly @html </blockquote></blockquote> @end html @ifnottex @node wave-landscape.texi, run--makeinfo, wave-landscape.ly, Top @comment node-name, next, previous, up @end ifnottex @unnumbered wave-landscape.texi @html <blockquote><blockquote> @end html @verbatiminclude wave-landscape.texi @html </blockquote></blockquote> @end html @ifnottex @node run--makeinfo, , wave-landscape.texi, Top @comment node-name, next, previous, up @end ifnottex @unnumbered run--makeinfo @html <blockquote><blockquote> <b><i>Only; running is on Linux(on WSL).</i></b><br /> @end html @ifhtml @html <span style="font: 16px;"> <table> <td>    <b><i>run--lily.sh</i></b><br /> <span style="color: red;"> @verbatiminclude run--lily.sh </span> </td> </table> @end html @end ifhtml @ @ @ @ This is under the following environment.@* @ @ @ @ Linux[on WSL(windows11)]@ ---(GNU/Linux 4.4.0-19041-Microsoft x86_64) or (GNU/Linux 5.10.16.3-microsoft-standard-WSL2 x86_64)---@* @html </blockquote></blockquote> <br /> <br /> @end html @c *********** End Body ********************* @bye
Previous: wave-landscape.texi, Up: Top
Only; running is on Linux(on WSL).
run--lily.sh
#!/usr/bin/bash # rm -r html lilypond --pdf --png $1.ly lilypond --svg $1.ly makeinfo --no-split --force --html $1.texi mkdir html mv *.svg html/ mv *.pdf html/ mv *.midi html/ mv *.html html/ cd html xdg-open $1.pdf | xdg-open $1.midi | explorer.exe $1.html cd ../ rm *.eps *.png ls -lXThis is under the following environment.
Linux[on WSL(windows11)] —(GNU/Linux 4.4.0-19041-Microsoft x86_64) or (GNU/Linux 5.10.16.3-microsoft-standard-WSL2 x86_64)—