lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 3.0?


From: karl
Subject: Re: 3.0?
Date: Thu, 9 Jan 2014 18:55:50 +0100 (CET)

Carl Peterson:
...
> Now, consider an IDE/GUI setup
> (perhaps an extension of Frescobaldi) that would allow me to define a
> variable for a voice, then pop up a musical staff to enter and play
> back the notes for that variable without dealing with the whole
> compilation process. No manual tweaking of notes, just the entry of
> the entry and playback of the notes, and I don't have to insert the
> notes into the music itself yet or deal with whatever may or may not
> be wrong with the rest of my file. I realize that this would not
> necessarily work for all use cases, but I think for a large number of
> them, this could be beneficial. It would reduce a number of my
> transcription errors without me having to compile, scan for errors,
> potentially figure out where the errors are (depending on workflow),
> correct, recompile, etc.

Sounds like a performance problem, you want to hear (quickly) how the 
things you entered sounds. That can be done with lilypond as is, just
skip the ps/pdf generation, us a test file like:

ma = { your_music }

targetpitch = c
midi_tempo = { \tempo 2 = 100 }
\score {
  \unfoldRepeats \transpose c \targetpitch <<
    \new Staff \ma
  >>
  \midi {
    \midi_tempo
  }
}

///

 As an example take:

http://turkos.aspodata.se/git/musik/ALotti/missa_a3_la_minore/

Compiling it takes 15s on my box.

$ time lilypond 01_kyrie.ly
GNU LilyPond 2.19.0
Processing `01_kyrie.ly'
....

real    0m14.844s
user    0m10.914s
sys     0m0.291s

 Skipping the to-pdf conversion saves me 2s
$ time lilypond --ps 01_kyrie.ly
...
real    0m12.674s
user    0m9.368s
sys     0m0.220s

 And doing only midi is fast, 2.5s:

$ time lilypond 01_kyrie.ly
GNU LilyPond 2.19.0
Processing `01_kyrie.ly'
Parsing...
Interpreting music...
MIDI output to `01_kyrie.midi'...
Success: compilation successfully completed

real    0m2.437s
user    0m1.652s
sys     0m0.140s

 So running 

$ lilypond file.ly && timidity file.midi

would probably solve your stated need.

Regards,
/Karl Hammar

-----------------------------------------------------------------------
Aspö Data
Lilla Aspö 148
S-742 94 Östhammar
Sweden
+46 173 140 57





reply via email to

[Prev in Thread] Current Thread [Next in Thread]