partials and midi
Lilypond is wonderful, wonderful, thank you all very much. Please, v2.12.0, here is my code: %%% \time 3/4 \key g \major \repeat volta 2 { \partial 8*2 g'8 b \bar ||: d4 d8 e d c \bar | b4 g g8 b \bar | } } \score { \unfoldRepeats { \voicedefault } \midi { \context { \Score tempoWholesPerMinute = #(ly:make-moment 72 4) } } } %%% but, timidity plays the partial \partial 8*2 g'8 b as part of the repeat. Surely this is not correct ? Surely the repeat should play from d4 d8 e d c. What am I doing wrong ? -- Thanks Joe Mc Cool Snark, currently LEYC 028 37548074, 07802572441 ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Output would overwrite input file; use --output
v2.12.0 Please, my invocation line is: lilypond-book --output=OUTPUT --pdf -f latex my.latex.file but liypond-book reports: Dissecting... Writing snippets... All snippets are up to date... Compiling /u/lilypond/OUTPUT/boaters.tex... /u/lilypond/OUTPUT/boaters.tex is up to date. Processing include: introduction.tex lilypond-book: error: Output would overwrite input file; use --output AFAIK, I have changed nothing in my set up from 2.11. I have read here: http://lilypond.org/doc/v2.12/Documentation/user/lilypond-program/Invoking-lilypond_002dbook#Invoking-lilypond_002dbook It does not matter what extension I give my.latex.file -- Thanks Joe Mc Cool Snark, currently LEYC 028 37548074, 07802572441 ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: manipulating .ly with bash
On Wed, Nov 26, 2008 at 06:41:24PM +, Rob Canning wrote: Jonathan Kulp wrote: i really need to learn sed properly I scratched around for a good number of years using bash, sed, awk and friends, but now I really prefer perl. It is designed specifically for processing text, like Lilypond source. It is also more fun :-) -- Thanks Joe Mc Cool Snark, currently LEYC 028 37548074, 07802572441 ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: THANK YOU for Lilypond-Book
On Fri, Nov 07, 2008 at 10:00:13PM -0600, Jonathan Kulp wrote: Just a quick note to say Thanks to whoever's responsible for Lilypond Hear, hear. Wonderful. -- Thanks Joe Mc Cool Snark, currently LEYC 028 37548074, 07802572441 ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: .ly to midi
On Sun, Jan 20, 2008 at 03:03:14PM +, Christoph wrote: My question: How can I convert the written notes to a MIDI-file (audio)? I don't know/ understand how it should works. Here's an example of how I do it. It works, but may not be ideal. I am not an expert. %% \version 2.11.33 \header { composer = piece = Thursday Evening dedication = } melody = \relative c' { \clef treble \key g \major \time 6/8 \repeat volta 2 { %TUNE_START \partial 8 d'8 \times 2/3 { g a g } g d b g\bar | c b a b g e \bar | d g d g d g \bar | a b c d4 d8 \times 2/3 { g a g } g d b g \bar | c b a b g e \bar | d g d g d g \bar | a b a g4. \bar :|: } \repeat volta 2 { %2nd part a8 b a g4 a8 g' d b a' f d b d b c4 g'8 a f d c d c a8 b a g4 a8 g' d b a' f d b d b c4 g'8 a f d g4. } % TUNE_END } \score { \new Staff \melody \layout { } } \score { \unfoldRepeats \repeat unfold 2 {\melody} %UNFOLD \midi { } } %% -- Thanks Joe Mc Cool Snark, currently LEYC 028 37548074, 07802572441 ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: midi2ly
On Mon, Jan 21, 2008 at 03:09:36AM +, Christos wrote: could you please give me a brief step by step of this process? on my system, I key: midi2ly test.midi this produces a file test-midi.ly I then run Lily on this file - I assume you know how to do this. If you key: midi2ly -h it will give you some help. But, I am not an expert. -- Thanks Joe Mc Cool Snark, currently LEYC 028 37548074, 07802572441 ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
newbie: bar lines and lead ins
Please, \time 6/8 \key g \major g'8 \bar | \repeat volta 2 { b'8 ^G a'8g'8b'8 a'8g'8 %\bar | b'8 ^Bm a'8b'8b'8c''8d''8%\bar | b'8 ^G a'8g'8b'8a'8g'8 %\bar | a'8 ^D b'8a'8fis'8e'8d'8 %\bar | b'8 ^G a'8 g'8b'8a'8g'8 %\bar | b'8 ^Bm a'8b'8b'8c''8 d''8 %\bar | e''8 ^C g''8e''8d''8 ^G c''8b'8%\bar | a'8 ^D fis'8a'8g'4 ^G %\bar | } I would like this to print as: g|bag bag|bab bcd| .. but Lily shows it with the first bar line missing and remainder in the wrong places. I know I can put the bar lines in manually, but that is a pain. In essence I need print one or two lead-in notes, a bar line and then start counting. My searches of the LM have failed to find this. -- Thanks Joe Mc Cool Snark, currently LEYC 028 37548074, 07802572441 ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Lilypond-book and LaTeX; a few issues
On Fri, Jan 11, 2008 at 10:45:45PM +0100, Nicolas Sceaux wrote: You may get rid off LaTeX and use LilyPond only, for instance with the help of this titling stylesheet: http://lsr.dsi.unimi.it/LSR/Item?id=368 Yes, but what can I do if I want to continue with Latex ? I am already a fair bit down that road. Like the OP, I find that the scores are not positioned properly on the page. There are often large gaps at the top of each snippet. -- Thanks Joe Mc Cool Snark, currently LEYC 028 37548074, 07802572441 ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
prettifier ?
a prettifier for Lilly, might such a thing be possible ? -- Thanks Joe Mc Cool Snark, currently LEYC 028 37548074, 07802572441 ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
latex, newcommand and lilypond-book
Please, in my latex file I have: \newcommand{\lily }[1]{\lilypondfile{#1}{#1}} but, lilypond-book then complains: lilypond-book: error: file not found: #1 Again in my niavete, I had hoped to use blocks of latex code like: \begin{figure}[h] \index{over the ocean} \lily{lilys/over.the.ocean.ly} % current implementation of newcommand \end{figure} I am using a figure environment to ensure that no tune involves a page turn. I have googled and googled and noticed that this issue has come up before, but I do not see a work around. -- Thanks Joe Mc Cool Snark, currently LEYC 028 37548074, 07802572441 ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
from abc a general approach ?
Please, I am trying to put together a collection of (Irish) traditional music and I need some general advice. I have lilypond book working quite well, but I find the abc code is such that the resulting abc2ly files are often unsatisfactory - problems with beaming, abc2ly complains about a variety of things and says HUH ? a lot. Patching up the abc and/or ly is a lot of work. One of the reasons why I tried Lillypond at all is that I perceive a lack of standards in abc files. I have also tried abcm2ps and producing eps files. But here I cannot get latex to position the graphics consistently on the page and the printed output is again not very attractive sometimes. Any tips ? Perhaps I just have to prepare myself for a lot of donkey work and there is nothing I can do about it :-( -- Thanks Joe Mc Cool Snark, currently LEYC 028 37548074, 07802572441 ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Lilypond-book and LaTeX; a few issues
On Fri, Jan 11, 2008 at 10:45:45PM +0100, Nicolas Sceaux wrote: You may get rid off LaTeX and use LilyPond only, for instance with the help of this titling stylesheet: http://lsr.dsi.unimi.it/LSR/Item?id=368 Newbie: Please, I have tried this with the result: GNU LilyPond 2.11.33 Processing `test.ly' Parsing... book-titling.ily:41:1: error: GUILE signaled an error for the expression beginning here # (let ((lower-case-accented-string ??? ???“真) book-titling.ily:41:6: error: syntax error, unexpected '(', expecting '=' #(let ((lower-case-accented-string ??? ???“真) book-titling.ily:126:63: missing '(' in vector or array literal book-titling.ily:333:37: In expression (string-upper-case (*book-title*)): book-titling.ily:333:37: Wrong type to apply: #f Hopefully I have doctored the ily snippet ok, I remove the first %{ and the last %}. If I take this approach, without my beloved latex I will miss: indexing, including graphics, lists of figures, lists of tables, -- Thanks Joe Mc Cool Snark, currently LEYC 028 37548074, 07802572441 ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Lilypond-book and LaTeX; a few issues
On Fri, Jan 11, 2008 at 10:45:45PM +0100, Nicolas Sceaux wrote: You may get rid off LaTeX and use LilyPond only, for instance with the Can you also use Lily to produce graphics (ps, eps, pdf, ...) of the music and then \include them in Latex ? Perhaps this is not elegant. -- Thanks Joe Mc Cool Snark, currently LEYC 028 37548074, 07802572441 ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
rolls in Irish Traditional Music
Please, rolls in Irish traditional music are normally indicated by a ~ over the note. But these are not written to the midi file as rolls, at least, Timidity does not play them. Do I have to articulate the rolls fully in lily, or is there some other short cut way of doing it ? -- Thanks Joe Mc Cool Snark, currently LEYC 028 37548074, 07802572441 ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
alternatives and bars problem
Newbie, sorry. Version 2.11.33 In the final part of this tune, the 1st alternative prints fine, but the second one has the bars all screwed up. The first g4, is on a bar of its own ! How can I stop bar numbers being printed for the partial bars ? Also when I use timidity to play the midi file, it ignores all the repeats. I just plays the tune straight through. \include version.ly \header { composer = by Paddy O'Brien title = The Coming of Spring dedication = tagline = Music engraving by JMcCool using LilyPond %\version } %\define mbreak = {\break} \define mbreak = {} melody = \relative c' { \clef treble \key d \major \time 6/8 \override Score.BarNumber #'break-visibility = #end-of-line-invisible \set Score.currentBarNumber = #0 %\set Staff.midiInstrument = flagelette #(set-global-staff-size 23) \repeat volta 2 { %TUNE_START \partial 8*1 a'8 b8 e,8 e8 b'4 a8%\bar | b8 d8 b8 b8 a8 g8 %\bar | fis8 e8 fis8 d8 fis8 a8 %\bar | d8 fis8 e8 d8 b8 a8%\bar | b8 e,8 e8 b'4 a8%\bar | b8 e8 fis8 g8 fis8 e8 %\bar | d8 b8 g8 fis8 g8 a8 %\bar | b8 g8 e8 e4 %\bar :|: \mbreak } \repeat volta 2 { \partial 8*1 fis8 \set Score.currentBarNumber = #8 g8 e8 fis8 g4 a8%\bar | b4 a8[ b8 e8 cis8] %\bar | d8 a8 a8 b8 a8 g8 %\bar | \times 2/3 {fis8 g8 a8} fis8 d8 e8 fis8 %\bar | g4 e8[ fis8 g8 a8] %\bar | b8 e8 fis8 g8 fis8 e8 %\bar | d8 b8 g8 fis8 g8 a8 %\bar | b8 g8 e8 e4 %\bar :|: } \repeat volta 2 { \partial 8*1 fis'8 \set Score.currentBarNumber = #16 g4 e8[ e8 g8 e8]%\bar | b8 e8 g8 b8 a8 g8 %\bar | fis4 d8[ d8 cis8 d8] %\bar | a8 fis8 a8 d8 e8 fis8 %\bar | g4 e8[ e8 g8 e8]%\bar | } \alternative { { g4 e8[ e g e] %\bar | b e g b a g %\bar | fis e d \times 2/3 {fis8 g8 a8} fis %\bar | g e e e4%\bar | } { g4 e8 fis e d %\bar | b e cis d fis e %\bar | d8 b8 g8 fis8 g8 a8 %\bar | b8 g8 e8 e4 } } } \score { \new Staff \melody \layout{} \midi { } } -- Thanks Joe Mc Cool Snark, currently LEYC 028 37548074, 07802572441 ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
thanks a lot for lilly
Thanks a lot for lilly. I am using it mostly to write simple scores for Irish Traditional music. Joe ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user