[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Error in scheme-sandbox, LilyPond 2.24.1
From: |
David Kastrup |
Subject: |
Re: Error in scheme-sandbox, LilyPond 2.24.1 |
Date: |
Tue, 06 Jun 2023 20:44:04 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Knute Snortum <ksnortum@gmail.com> writes:
> While going through Jean's Extending LilyPond tutorial...
>
> https://extending-lilypond.gitlab.io/en/scheme/expressions.html
>
> ...I came upon instructions to type this expression into the scheme-sandbox:
>
> (skip-of-length #{ { c'8 d' e' f' e' d' } #})
>
> However, it produced this error:
>
> $1 = #<Prob: Music C++: Music((elements #<Prob: Music C++: Music((duration
> . #<Duration 1*3/4 >))((display-methods #<procedure method (rest)>) (name .
> SkipEvent) (iterator-ctor . #<procedure
> ly:rhythmic-music-iterator::constructor ()>) (types event rhythmic-event
> skip-event)) >
> ))((display-methods #<procedure new-method (expr)> #<procedure new-method
> (expr)> #<procedure new-method (expr)> #<procedure new-method (expr)>
> #<procedure new-method (expr)> #<procedure method (chord)>) (name .
> EventChord) (iterator-ctor . #<procedure
> ly:event-chord-iterator::constructor ()>) (length-callback . #<procedure
> ly:music-sequence::event-chord-length-callback (_)>) (to-relative-callback
> . #<procedure ly:music-sequence::event-chord-relative-callback (_ _)>)
> (types event-chord simultaneous-music)) >
>
> Is this a bug or something I have done?
It is not an error but the standard print-form of the resulting Music
expression. You might want to call displayMusic on it for a better
looking result.
--
David Kastrup