[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Chords and what they mean
From: |
Johan Vromans |
Subject: |
Re: Chords and what they mean |
Date: |
Sat, 19 Sep 2015 13:52:43 +0200 |
On Sat, 19 Sep 2015 01:05:12 +0200
address@hidden wrote:
> This should, by means of a translation table, take my input and
> translate it into LP code. So when I write c:sus this will be changed to
> e.g. c:sus4 (or perhaps c:1.4.5) before it is dealt with by LP, and when
> I write c:5 it is translated into c:1.5.
This can easily be done with small Perl script. Even a one-liner like
perl -pe 's/:sus(?!4)/:sus4/g;' -e 's/:5(?![.\/])/:5.1/g;' myfile.ly |
lilypond -o myout -
A table-driven solution would require a couple of more lines.
If you give me the exact transformations I'll write it for you.
-- Johan
- Re: Chords and what they mean, (continued)
- Re: Chords and what they mean, Thomas Morley, 2015/09/18
- Re: Chords and what they mean, Blöchl Bernhard, 2015/09/18
- Re: Chords and what they mean, Kieren MacMillan, 2015/09/18
- Re: Chords and what they mean, David Kastrup, 2015/09/18
- Re: Chords and what they mean, Vaughan McAlley, 2015/09/18
- Re: Chords and what they mean, Noeck, 2015/09/18
- Re: Chords and what they mean, David Kastrup, 2015/09/18
- Re: Chords and what they mean, 70147persson, 2015/09/18
- Re: Chords and what they mean, Thomas Morley, 2015/09/18
- Re: Chords and what they mean, Thomas Morley, 2015/09/18
- Re: Chords and what they mean,
Johan Vromans <=
- Re: Re: Chords and what they mean, 70147persson, 2015/09/19
- Re: Re: Chords and what they mean, Blöchl Bernhard, 2015/09/20
- Re: Chords and what they mean, David Kastrup, 2015/09/20
- Re: Chords and what they mean, Johan Vromans, 2015/09/20
- Re: Chords and what they mean, David Kastrup, 2015/09/20
- Re: Chords and what they mean, Johan Vromans, 2015/09/20
- Re: Chords and what they mean, David Kastrup, 2015/09/20
- Re: Chords and what they mean, BB, 2015/09/20
- Re: Chords and what they mean, Thomas Morley, 2015/09/20
- Re: Chords and what they mean, BB, 2015/09/20