|
From: | Silvain Dupertuis |
Subject: | Re: Convert chord mode into multi-voice mode |
Date: | Fri, 20 Dec 2024 19:28:57 +0100 |
User-agent: | Mozilla Thunderbird |
I guess this could be programmed with Scheme, But there is a possibility to use regular expressions in a text editor or wordprocessor to extract sequentially the 1st then the 2nd voice.
This regex extract the left part in
<aaa bbb> and output it in the variable 1 (the first part in
parenthesis), extract the duration after the chord (digits and
dots) to add it in variable 2 (second group in parenthesis),
Output string is \1\2 followed by a space. Copy the sequence and select it, then one choses replace all on the selection. Short explanation
An example I tried:
<c, e>4 <d f>4. <e g>8 <c c'>2 is transformed into
c,4 d4. e8 c2 then into e4 f4. g8 c'2 Le 20.12.24 à 16:25, Knute Snortum a
écrit :
--
Silvain Dupertuis Route de Lausanne 335 1293 Bellevue (Switzerland) tél. +41-(0)22-774.20.67 portable +41-(0)79-604.87.52 web: silvain-dupertuis.org |
[Prev in Thread] | Current Thread | [Next in Thread] |