Am 15. Mai 2016 17:18:10 GMT+01:00, schrieb Paul :
>On 05/15/2016 09:01 AM, David Wright wrote:
>> On Sun 15 May 2016 at 13:07:31 (+0200), imj-muz...@bluewin.ch wrote:
>>> Would such manipulations be easy in Scheme, using DisplayMusic to
>output the result ?
>Maybe
Le vendredi 13 mai 2016, 23:01:12 Gianmaria Lari a écrit :
> Is there any tool to "unroll" the code. For instance, suppose you have
> something like this...
> music =
> {
> \repeat unfold 3 {\fragment.1}
> \repeat unfold 2 {\fragment.1 \fragment.2}
> }
It is note possible with \repeat
Use
That was my first thought too, but the OP wanted to have something like
\repeat unfold 3 { c d e f }
unfolded into
c d e f
c d e f
c d e f
and \displayLilyMusic doesn't do that. Instead it outputs
\repeat unfold 3 { c d e f }
Am 15/05/16 um 18:18 schrieb Paul:
On 05/15/2016 09:01 AM,
On 05/15/2016 09:01 AM, David Wright wrote:
On Sun 15 May 2016 at 13:07:31 (+0200), imj-muz...@bluewin.ch wrote:
Would such manipulations be easy in Scheme, using DisplayMusic to output the
result ?
Maybe \displayLilyMusic would be useful?
\version "2.18.2"
ab = { c d e f }
cd = { g a b c }
On Sun 15 May 2016 at 13:07:31 (+0200), imj-muz...@bluewin.ch wrote:
> Would such manipulations be easy in Scheme, using DisplayMusic to output the
> result ?
It's still rolled up:
GNU LilyPond 2.19.36
Processing `rol.ly'
Parsing...
(make-music
'SequentialMusic
'elements
(list (make-music
Greetings All,
I am by no means offering up a solution to "unroll" code, but I
certainly was intrigued by the question, because, as a composer, I
have had instances where such an ability would have been immensely
useful. When I felt fluent enough in Lily to use variables (or, for
t
of work after the conversion. In my
> opinion this is to be considered possible only just in theory or for
> simple/short music.
> g.
>
>
>
> --
> View this message in context:
> http://lilypond.1069038.n5.nabble.com/unroll-code-tp190602p190618.html
> Sent from the User mai
n. In my
opinion this is to be considered possible only just in theory or for
simple/short music.
g.
--
View this message in context:
http://lilypond.1069038.n5.nabble.com/unroll-code-tp190602p190618.html
Sent from the User mailing list archive at Nabble.com.
_
On Sat 14 May 2016 at 23:54:17 (+1000), Andrew Bernard wrote:
> Well, despite that I think this is an absolutely terrible hack, exporting to
> midi and importing it back produces more or less what you want, with a lot of
> editing. Works on 2.19.41 on openSUSE Leap 42.1 linux.
>
> Still
Well, despite that I think this is an absolutely terrible hack, exporting to
midi and importing it back produces more or less what you want, with a lot of
editing. Works on 2.19.41 on openSUSE Leap 42.1 linux.
Still interested to know why you want to do this.
Andrew
== snip
Using your input:
Hi Gianmaria,
if you use Frescobaldi, there's a "Import Midi" function in the File
Menu. In principle, if you produce a midi file from your original ly
file, you should be able to reimport the music fully unfolded.
The problem is, I've never used this function, and a quick trial just
now
Hi Gianmaria,
On 14/05/2016, 7:01 AM, "lilypond-user on behalf of Gianmaria Lari"
wrote:
>Is there any tool to "unroll" the code. For instance, suppose you have
>something like this...
That’s a
Is there any tool to "unroll" the code. For instance, suppose you have
something like this...
\version "2.19.40"
fragment.1 =
{
a b c d
}
fragment.2 =
{
e f g a
}
music =
{
\repeat unfold 3 {\fragment.1}
\repeat unfold 2 {\fragment.1 \fragment.2}
}
\score
{
\music
\layout{}
13 matches
Mail list logo