[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
OO and MIDI support
From: |
Hans Aberg |
Subject: |
OO and MIDI support |
Date: |
Fri, 5 Oct 2007 16:22:12 +0200 |
On 5 Oct 2007, at 01:20, Graham Percival wrote:
Midi support in lilypond is quite limited, and this is not likely
to change in the near future.
Might it possible to handle this by OO (object orientation)? The idea
is that if objects can be defined (in pseudocode)
turn := default: ...
midi: ...
short: ...
quintuplet: ...
;
And one then is able to write code like
d8^\turn[staff->short,midi->quintuplet]
if one in this position wants the turn to not be the defaults, but
then the staff to be written in the "short" form, and MIDI be written
as a quintuplets.
The principle is quite general. So it might be useful for handing a
number of problems. The enhanced MIDI support would emerge as a
byproduct of this OO support.
Hans Ã…berg