|
From: | Philippe Hezaine |
Subject: | Re: Articulate midi script |
Date: | Mon, 07 Sep 2009 00:11:55 +0200 |
User-agent: | Thunderbird 2.0.0.22 (X11/20090629) |
David Raleigh Arnold a écrit :
On Sun, 06 Sep 2009 20:49:50 +0200 Grammostola Rosea <address@hidden> wrote:David Raleigh Arnold wrote:Could an improved articulate script no be enough? What can Midge add to Lilypond midi?On Sun, 6 Sep 2009 18:53:37 +0100 Graham Percival <address@hidden> wrote:On Sun, Sep 06, 2009 at 12:23:28PM +0200, Grammostola Rosea wrote:@ Valentin, yeah would be nice if we could improve the midi output by default. I can remember I mentioned this before, but one comment (not from you) was that Lilypond was mainly a notation typesetter... And while been busy with the lilywrap script, I was thinking, ok maybe that's right, but what is wrong with having both, e.g. good lay-out and good midi output?Of course there's nothing wrong with having both! However, nobody else wants to work on midi output.Again, why not get in touch with the developer(s) of midge? The syntax is completely different, but it is *text-based* and GNU. It is dedicated to midi, not notation. Why not find a way to use their work, at worst by means of a translation script? Regards, daveA\rEverything lilypond doesn't have. daveA
Hi,I'm also sensitive to this problem mainly because it is in relation with the Drummer's "Gigsaw" project. Thanks to Dominic Sacré and his Mididings which help me to solve the issue of CC7. I wanted to change the way Lilypond encodes it by default to a velocity value. And it works perfectly. For now the Gigsaw is going to succeed in a third incarnation. Again a revolution. And i've been discovering and becoming very curious of midicomp a week ago which is also txt-based and GNU. Unfortunately I have no skills with a language of programmation such awk, sed, python or perl.
For instance I'm wondering how to paste in a chronological way the <val> from a Param line... 027:00:-336 Param ch=10 con=7 val=10 ...to a <vol> for a Note On line: 027:00:-336 On ch=10 note=a4 vol=127It's important to note that this two previous lines shows the same timing because sometimes in the list the Note On line and the Param line are inverted.
You'll see this case at the 4th and 5th line below. And also to note there is a <vol> information for a note Off. Here is an short excerpt of an ascii file from midicomp: (the midi source comes from the Drummer's Gigsaw) 027:00:-192 Param ch=10 con=7 val=31 027:00:-192 On ch=10 note=a4 vol=127 027:00:-144 Off ch=10 note=a4 vol=64 027:00:-144 On ch=10 note=a4 vol=127 027:00:-144 Param ch=10 con=7 val=31 027:00:-96 Off ch=10 note=a4 vol=64 027:00:-96 Param ch=10 con=7 val=31 027:00:-96 On ch=10 note=a4 vol=127 027:00:-48 Off ch=10 note=a4 vol=64 027:00:-48 Param ch=10 con=7 val=49 027:00:-48 On ch=10 note=a4 vol=127 027:00:000 Off ch=10 note=a4 vol=64 028:-2:000 Param ch=10 con=7 val=127 028:-2:000 On ch=10 note=c#4 vol=127 028:-1:-288 Off ch=10 note=c#4 vol=64 028:00:000 Param ch=10 con=7 val=95 028:00:000 On ch=10 note=a4 vol=127 028:00:192 Off ch=10 note=a4 vol=64 034:00:000 On ch=10 note=c#4 vol=127 034:00:000 Param ch=10 con=7 val=105 034:00:080 Off ch=10 note=c#4 vol=64 034:00:080 Param ch=10 con=7 val=95 034:00:080 On ch=10 note=c#4 vol=127 034:00:160 Off ch=10 note=c#4 vol=64 034:00:161 Param ch=10 con=7 val=95 034:00:161 On ch=10 note=c#4 vol=127 034:00:241 Off ch=10 note=c#4 vol=64 I think this excerpt doesn't cover all cases. What happens with chords? I've not such example within reach for now.I send you this example because I think midicomp is the best way to investigate the Lilypond's midi files and also in the hope someone is able to give me some hints to play the game. (smiley)
Cheers. -- Phil.
[Prev in Thread] | Current Thread | [Next in Thread] |