[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
function to replace notes by rests
From: |
Marc Hohl |
Subject: |
function to replace notes by rests |
Date: |
Mon, 23 Nov 2015 10:46:04 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 |
Hi list,
I have a melody with some spoken passages, written like this:
c4 d e f \xNotes { b b b b } f e d c
Now I need a midi file that contains the "normal" notes only:
c4 d e f r r r r f e d c
As the file is a bit lengthy, I think of a way to just redefine
\xNotes to change every note to its corresponding rest, instead of
rewriting the whole file (or using sed or any other external script).
Has anyone a scheme routine at hand that does exactly this job?
I remember vaguely that there has been something like this on the
archives, but I did not find it again ...
TIA,
Marc
Re: function to replace notes by rests, Robin Bannister, 2015/11/24