On Mon, Jan 31, 2005 at 11:52:08AM +0100, gerard van dongen wrote: > Is it difficult to write hooks that generate lilypond notation, or that > can read a lilypond notation file and generate OSC and/or MIDI or sounds > from that?
Converting Lilypond to OSC/Midi should be possible. I wouldn't be surprised if such a thing already exists, at least for MIDI. Dreaming on, one could imagine having 'player' apps that read a score, are able to 'hear' each other (by exchanging information on how they interpret their part of the score), and interact like real musicians would. They should also have memory, so they can 'practise' a piece and improve each time they do it. Wonder what such a bunch of 'players' would make of say, a Schubert piano trio. The reverse, parsing an OSC stream and generate Lilypond input would be impossible in most cases I suspect. First, there are no standard messages for e.g. 'note on', everything is allowed as long as the synthesis code will understand it. It also the wrong level: at the point your score is in OSC format, it is already fully interpreted and 'flattened', and the musical structure is no longer visible. Sclang is an object-oriented language, and polymorphism is everywere. As a conposer, you could define classes that represent the elements of your 'musical language' for a particular piece, and those classes could contain code that would allow an automatic conversion to e.g. Lilypond. I guess similar things could be done in LISP with common music. -- FA
