[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How should I convert an existing ".ly" file to a MIDI file containin
From: |
Petr Pařízek |
Subject: |
Re: How should I convert an existing ".ly" file to a MIDI file containing audible arpeggios? |
Date: |
Sat, 5 Dec 2020 13:16:56 +0100 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:84.0) Gecko/20100101 Thunderbird/84.0 |
H. S. Teoh wrote:
> For example:
>
> \midiArpeggio 24 <c e g c>4
>
> divides a quarter note into 24 units, and plays the first c on-beat, the
> e 1/24th of a quarter note past the beat, g 2/24th of a quarter note
> past the beat, and the last c 3/24th of a quarter note past the beat.
Thanks for sharing.
Unfortunately, if I wanted to convert an existing ".ly" file either from
one that uses \arpeggio to one that uses \midiArpeggio or vice versa, I
still couldn't do it with a tool like some sort of "Find and replace".
Unlike \arpeggio which is given after the notes of the chord,
\midiArpeggio needs to be used before them. So I'm afraid I would still
have to rewrite it manually for each single chord. And if I wanted to
avoid doing it all manually, I would have to know how to write code that
would do it for me (which I have no idea which programming language
would be the most appropriate for doing something of that sort).
Petr
--
Tento e-mail byl zkontrolován na viry programem AVG.
http://www.avg.cz