lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

New (potential) feature: waveform rendering in Lilypond


From: Mike Solomon
Subject: New (potential) feature: waveform rendering in Lilypond
Date: Fri, 02 Jul 2010 16:14:30 +0200
User-agent: Microsoft-Entourage/11.4.0.080122

Hey lilypond users,
    I have recently finished a feature that renders waveforms in Lilypond.
Although I've been using this for a piece where I need to sync audio and
players in real time, I imagine that it may be of use to musicologists as
well who want to prepare scores with audio recordings.  The idea is that
said feature stretches and contracts a waveform as smoothly as possible so
that it hits certain markers in a given score.  It issues a warning message
and fails to draw if there is no possible interpolation that respects the
enumerated constraints, which usually only happens if you try to cram 10
seconds of audio into 2mm of score followed by 2 seconds in 10cm.
    As with my waveform patch (which I am still tinkering away on thanks to
your feedback), your commentary would be very valuable.
    The patch itself is on: http://codereview.appspot.com/1720046 for those
of you who want to brave compiling it into lilypond.
    Minimal examples are posted on:
http://www.apollinemike.com/lilypond/waveform , where wave3.ly and wave6.ly
use a real recording (posted on the site) whereas the other files use a
synthesized wave.
    Please hit me back with any remarks or ideas!

~Mike

P.S. The `potential' in the email's subject exists because it will take a
bit of time before said patch becomes part of lilypond proper due to the
move to 2.14 and some dependency issues.  However, I'm sending this email
out now because:
1) I'd like to see how much community support there is for this idea.
2) I'd like to make it as robust and interesting as possible should there be
enough support.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]