Skip to content

Instantly share code, notes, and snippets.

View zepadovani's full-sized avatar

Jose Henrique Padovani zepadovani

View GitHub Profile
@mwitmer
mwitmer / vibrato.ly
Created November 16, 2011 16:50
A Lilypond hack for drawing waveforms above the staff
\version "2.12.3"
% vibrato.ly
% Author: Mark Witmer
% Sets the next trill spanner to draw a waveform with the provided wevelength
% and amplitudes. The waveform will go from one amplitude to the next in a
% linear fashion.
vibrato = #(define-music-function (parser location amplitudes wavelength) (list? number?) #{
\once \override TrillSpanner #'after-line-breaking = #(lambda (grob)