Greetings List,
I'm trying to understand why one syntax results in MIDI output, while
another syntax does not. I'm new to lilypond and clearly missing
something.
Below is the working case:
tagCymbals = \drummode { \voiceOne cymc4 cymc4 cymc4 cymc4 }
tagDrums = \drummode { \voiceTwo s4
On Fri, 2019-08-30 at 14:35 +0200, Michael Gerdau wrote:
> > I did indeed examine your code, but that part certainly wasn't
> > clear.
> > As I understand it what you wrote is no different from:
> >
> > \repeat percent 4 { \enterStrictTime \first \leaveStrictTime }
> AFAIUI it is
> \repeat
Dear list,
I'm trying to control measure width using proportional spacing. And
it's not working as expected.
I created a kind of "into/out of" proportional notation wrapper:
ePUT =
#(define-music-function
(parser location num music)
(number? ly:music?)
#{
\set
On Thu, 2019-08-29 at 21:16 +0100, Timothy Lanfear wrote:
> On 29/08/2019 20:57, Stefano Antonelli wrote:
> > I feel that it should be possible to scale "something" in lilypond
> > to
> > do the same thing, but I haven't figured that out yet.
> >
> Increasi
On Wed, 2019-08-28 at 09:01 +0200, Federico Bruni wrote:
> Il giorno lun 26 ago 2019 alle 20:08, Stefano Antonelli
> ha scritto:
> >
> > That is not always a convenient format for working with drum parts
> > though. I would like to be able to use a syntax mor
On Thu, 2019-08-29 at 12:06 +0200, Michael Gerdau wrote:
> Hi Stefano,
>
> >
> > Ideas on how to fix these issues are greatly appreciated.
> Your pattern does not fit 4 times in a line. That's creating some of
> your problems. To circumvent that you could switch between spacing
> settings inside
On Thu, 2019-08-29 at 09:53 +0200, Mats Bengtsson wrote:
> I can confirm that the problem appears in 2.18.2, but seems to have
> been
> fixed in 2.19, several years ago. As has already been stated many
> times
> on this list, there's no reason whatsoever to avoid the "unstable"
> version
Dear List,
I've been fighting a problem with horizontal spacing for some time now.
I'm new to lilypond, but I've done my best to read the documentation
and I didn't see an obvious answer.
The first issue to tackle was getting 4 bars to each line, but I found
the bars-per-line-engraver which
Dear List,
I've been fighting a problem with horizontal spacing for some time now.
I'm new to lilypond, but I've done my best to read the documentation
and I didn't see an obvious answer.
The first issue to tackle was getting 4 bars to each line, but I found
the bars-per-line-engraver which
On Sun, 2019-09-15 at 10:51 +1000, Andrew Bernard wrote:
> engrave. I disagree with one of his major concepts, which is that
> the
> bars should be 3.0 cm wide and represent one second of music. He's
> really insistent on this. Personally I don't believe this helps the
> musicians at all, and
is going on in the
line in which it appears.
Is that possible in lilypond?
At present I have to tweak each line, and even then I can't make the
bar width the same every time.
Thanks,
Stef
On Fri, 2019-08-30 at 22:51 -0700, Stefano Antonelli wrote:
> Dear list,
>
> I'm trying to control meas
Hello list,
I'm presently trying to transcribe a piece of music that has both
accented and ghost notes on the snare drum. And I've run into a few
issues:
1. Ghost notes are not particularly user friendly requiring the use
of \parenthesize. Does anyone know of a more concise way?
2. Is there
On Fri, 2019-10-04 at 14:23 +0200, list_lilyp...@infopower.nl wrote:
> If those 3 standards are all acceptable, wouldn't it be better if a
> Lilipond engraver were able to choose which standard to use in his
> piece?
I am not an expert, but what I noticed is that lilypond's percussion
On Tue, 2020-04-28 at 20:53 +0200, Gilles Thibault wrote:
> >
> > I appreciate the suggestion, but I don't think that helps. I can
> > see
> > that you are replacing whole bars of music, which is kinda cool in
> > fact. However, it doesn't help me with my goal which is to not
> > have to
> >
Hello list,
This might be a tall ask, but is there any way to take a complicated
music expression and after it's fully evaluated replace a note?
It's very typical to have a drum groove that lasts for many bars, but
the very first bar starts with a crash cymbal. What I would like to do
is
On Tue, 2020-04-28 at 02:14 +0200, Gilles Thibault wrote:
> >
> > groove = \drummode {
> > <<
> > \voiceOne { \repeat unfold 8 {hh8}}
> > \\
> > \voiceOne { s4 sn4 s4 sn4 }
> > \\
> > \voiceTwo { bd8 bd8 r4 bd8 bd8 bd8 bd8 }
> > >>
> > }
> >
> Hello Stafano.
Salut
On Tue, 2023-12-12 at 14:46 -0800, Stefano Antonelli wrote:
> #(define (add-midi-to-score score)
>(define (has-midi? score)
> (any (lambda (x) (ly:output-def-lookup x 'is-midi))
> (ly:score-output-defs score)))
>(if (has-midi? score) score
> #{ \sc
On Wed, 2023-12-13 at 21:29 +0100, Jean Abou Samra wrote:
> The quick fix here is to change
>
> (let* ((default-name (ly:grob-property grob 'text)))
> to
>
> (let* ((default-name (markup->string (ly:grob-property grob 'text
>
> in order to first get an approximate string representation of
On Tue, 2023-12-12 at 16:10 -0800, Stefano Antonelli wrote:
> I'm producing muliple pngs with a single staff each. When I 'flip'
> through these pngs, the staff appears to move up and down on the
> page.
>
> I can set
>
> top-system-spacing.basic-distance = #7
It turns out
On Tue, 2023-12-19 at 19:28 -0500, Kieren MacMillan wrote:
> It would really help if you provided a minimal working example (MWE),
> so those of us with an impulse to try to assist you don’t have to try
> to invent one ourselves…
Many apologies. I didn't think an MWE was required to address the
Hello list,
I'd like to encode bar lines and line breaks into the midi output.
There are some general purpose midi control change messages that could
be abused for this purpose. These general purpose control change
messages have id's of 80-84. I don't see a way to use them in the
lilypond
e playback
based on the speed of the music and the distance (difference in x
positions) between the last note, the bar line, and the next note.
I need a different approach.
On Tue, 2023-12-19 at 21:14 -0800, Stefano Antonelli wrote:
> Hello list,
>
> I'd like to encode bar li
On Tue, 2023-12-12 at 02:31 -0800, Aaron Hill wrote:
> Would this not work?
>
>
> #(define (add-midi-to-score score)
>#{ \score { $score \midi {} } #})
>
> toplevel-score-handler =
> #(lambda (score)
>(collect-scores-for-book (add-midi-to-score score)))
>
Indeed it does!
Hello List,
I'm producing muliple pngs with a single staff each. When I 'flip'
through these pngs, the staff appears to move up and down on the page.
I can set
top-system-spacing.basic-distance = #7
in my \paper block and that seems to work for the one piece I'm playing
with, but it depends
On Tue, 2023-12-12 at 12:40 -0800, Aaron Hill wrote:
> Any better?
>
>
> #(define (add-midi-to-score score)
>(define (has-midi? score)
> (any (lambda (x) (ly:output-def-lookup x 'is-midi))
> (ly:score-output-defs score)))
>(if (has-midi? score) score
> #{ \score {
On Tue, 2023-12-12 at 21:48 +0100, K. Blum wrote:
> Am 10.12.2023 um 20:17 schrieb lilypond-user-requ...@gnu.org:
> > Is there any way to produce png output without --png in the
> > command?
> Did I get you right that you don't want to add anything to the
> command line, but you don't mind
On Sun, 2023-12-10 at 13:13 -0600, David Wright wrote:
> On Sun 10 Dec 2023 at 17:24:46 (+), Stefano Antonelli wrote:
> > Is there any way to produce png output without --png in the
> > command?
>
> Postprocess with:
>
> $ convert a.pdf a.png
> $ gm conver
On Sun, 2023-12-10 at 08:46 -0500, Michael Werner wrote:
> And then I would have anotherFile.ly containing something like:
>
> \include "song.ly"
>
> \book {
> \myHeaders
> \score {
> \theMusic
> }
> }
Thanks for the suggestion Michael. I like that idea, but it doesn't
help with the
On Sun, 2023-12-10 at 10:56 +0100, Jean Abou Samra wrote:
> It would be better for ly2video not to modify the input file.
Technically, it modifies a copy of the input file. The scraping is
clunky and I don't like it though it seems necessary. The idea, I
suppose, is to make it easy for the
On Tue, 2023-12-12 at 11:00 +0100, Jean Abou Samra wrote:
> > cat first.ly second.ly third.ly > out.ly
> > lilypond out.ly
> > But it's not portable. I'd have to do the equivalent in python if
> > there's no way to do it with lilypond.
>
> Not sure I understand the need, why do you need to
On Fri, 2023-12-08 at 22:55 +0100, Jean Abou Samra wrote:
> Yes, but it was not called for System specifically until
>
> commit 782f5528e014cc3c7f705298a83f777306541e89
> Author: Jean Abou Samra
> Date: Mon Mar 21 21:21:28 2022 +0100
>
> Also call
On Mon, 2023-12-11 at 03:49 -0800, Aaron Hill wrote:
> Why should ly2video need any such smarts at all? Since there are
> myriad
> ways an end user can structure their input files, let LilyPond do its
> job and have ly2video ask it for all the information needed. It
> sounds
> like ly2video is
On Mon, 2023-12-11 at 19:41 +0100, Jean Abou Samra wrote:
> Put
>
> break = {}
> pageBreak = {}
> in the -dinclude-settings file?
Wow. That's deceptively simple!
> You can put
>
> #(set! toplevel-music-functions (cons unfoldRepeats toplevel-music-
> functions))
> in -dinclude-settings.
This
Hello list,
The issue I'm facing is that I might have a song.ly that contains:
\header {
% author and stuff
}
\theMusic = new DrumStaff {
% the music
}
ly2video can't work with this file. It needs to see a \score block so
it can add unfold repeats, layout, and midi. ly2video actually
Hello list,
If I add this line to my ly file:
#(ly:set-option 'backend 'png)
on 2.20.0 (linux), I get this warning:
warning: program option -dprint-pages not supported by backend `png'
on 2.24.3 (wine and linux), same file, I get this failure:
On Mon, 2023-12-11 at 17:22 +0100, Jean Abou Samra wrote:
> > We need a copy so we can introduce the space time dumper code which
> > boils down to a simple /include statement at the very top of the
> > file.
>
> You can do that via the -dinclude-settings option instead.
Good to know, thanks.
>
On Sat, 2023-12-09 at 17:34 +0100, Jean Abou Samra wrote:
> > The line breaks come out before the rest of the measure does. I
> > would
> > expect the first line break print to appear after the third
> > ly2videoBar.
>
> Are you relying on the order in which after-line-breaking callbacks
> are
On Mon, 2023-12-11 at 17:22 +0100, Jean Abou Samra wrote:
> ly2video or not, you need to unfold repeats as soon as you want
> correct MIDI output. I agree that requiring to do it explicitly is
> not very user-friendly, but auto-adding \unfoldRepeats sounds like
> solving the problem at the wrong
On Wed, 2023-12-13 at 11:12 +0100, Sebastian Käppler wrote:
> Any help on this would be appreciated, I'm a bit lost now where to
> start.
A good place to start is a minimum working example. I can't help debug
this, but I put together a minimum working example that shows the
problem. Maybe
On Sun, 2023-12-10 at 09:30 +0100, Jean Abou Samra wrote:
> There is simply not "png" backend. The three available backends are
> "ps" (generates PostScript, and PDF or PNG by conversion through
> Ghostscript), "svg" (generates SVG only), and, in more recent
> versions, "cairo" (generates
Hello list,
ly2video generates a horizontal scrolling video from one large png. I
am trying to modify ly2video to produce a different kind of video that
looks like this:
https://www.youtube.com/watch?v=Jb5qj6rQv14
It involves multiple 'snippets' of sheet music that are all the same
width. To
On Fri, 2023-12-01 at 12:21 -0800, Stefano Antonelli wrote:
> The second issue is that the space-time-dumper in ly2video produces
> what I need, but there are no page transitions indicated. I can
> probably work out the transitions from when the x coordinate wraps,
> but
> i
On Sat, 2023-12-02 at 22:56 -0800, Stefano Antonelli wrote:
I wanted to mention that for some reason none of this stuff works
unless it appears before the score block. Both dump-spacetime-info.ly
and event-listener.ly must be included at the top of the file. If they
are located at the bottom
On Mon, 2023-12-04 at 14:48 -0600, Karlin High wrote:
> On 12/1/2023 2:21 PM, Stefano Antonelli wrote:
> > trying to modify ly2video to produce a different kind of video
>
> Have you seen Knut Petersen's MKVIDEO project?
I have, but thanks for the suggestion. MKVIDEO is not nic
On Thu, 2023-12-07 at 12:37 -0600, Karlin High wrote:
> On 12/7/2023 12:30 PM, Stefano Antonelli wrote:
> > It's the same deal for fluidsynth which doesn't come with sound
> > fonts.
> > What's the windows way to convert midi to wav?
>
> FluidSynth can do it. I u
On Thu, 2023-12-07 at 02:43 +, Chris Korda wrote:
> Doesn’t LilyPond already contain python? There’s a python.exe in the
> bin folder, and it appears to run the python scripts that come with
> LilyPond, can I just use that to run ly2video? I’m guessing not
> because that would be too easy.
Hello list,
I don't know if this is of use to anyone, but please let me know if it
is. I'm going to see if I can get github to produce this zip file
through a github action.
This is a modified version of ly2video.git. The modifications are not
hosted anywhere yet.
Python is not required on
On Tue, 2023-12-05 at 11:23 +0100, Jean Abou Samra wrote:
> Is this the sort of thing you're looking for?
>
> #(define (dump-system-info sys)
>(let* ((right (ly:spanner-bound sys RIGHT))
> (time (ly:grob-property right 'when 0)))
> (format #t "\nline break at ~f"
On Wed, 2023-12-06 at 17:21 +, Chris Korda wrote:
> I spent much of the last week converting my compositions from MIDI
> files to Lily format. I tried midi2ly first, but found it lacking,
> and decided to roll my own in C++. I gather there are other
> converters around, as I saw at least one
On Thu, 2023-12-07 at 02:43 +, Chris Korda wrote:
> Doesn’t LilyPond already contain python? There’s a python.exe in the
> bin folder, and it appears to run the python scripts that come with
> LilyPond, can I just use that to run ly2video? I’m guessing not
> because that would be too easy.
50 matches
Mail list logo