[prev in list] [next in list] [prev in thread] [next in thread]
List: lilypond-user
Subject: Re: convert relative to absolute...
From: Julian Peterson <julianpeterson () mac ! com>
Date: 2006-10-31 19:16:42
Message-ID: 4547A11A.9000807 () mac ! com
[Download RAW message or body]
Perfect, that is exactly what I needed.
Thanks for your help,
JP
Nicolas Sceaux wrote:
> Julian Peterson <julianpeterson@mac.com> writes:
>
>
>> I have a project in which I am training a computer to improvise in the
>> same style as an example piece of music.
>> I wrote a little program in supercollider to take a sequence of
>> lilypond notes, learn patterns from them and then generate
>> output for lilypond to render into a score.
>> The material I would like to feed it is written using /relative , but
>> for my script to work I need it to be in absolute pitches. Is there a
>> script or method for doing this?
>>
>> In other words, I would like to convert:
>>
>> /relative c'' { c d e f g f e d c g c g c}
>> to
>> {c'' d'' e'' f'' g'' f'' e'' d'' c'' g' c'' g' c''}
>>
>> Any ideas?
>>
>
> Try \displayLilyMusic or a text editor capable of doing such a
> conversion (eg. Emacs). If the output of \displayLilyMusic is
> incorrect, please file a bug report.
>
> nicolas
>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic