lilypond-user
[Top][All Lists]
Advanced

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

Re: command line lilypond, midi to stdout


From: Graham Percival
Subject: Re: command line lilypond, midi to stdout
Date: Wed, 27 Dec 2006 03:54:42 -0800
User-agent: Thunderbird 1.5.0.9 (Macintosh/20061207)

Bob Harris wrote:
I was hoping to combine lilypond with this on the command
line like this:
   cat mysong.ly | lilypond - | velchanger | mysong.midi

Anybody have any ideas how I can accomplish that in a single
command?  My cycle is
edit,convert-to-midi,listen-in-garage-band, and I'm trying
to get it down to as few steps as possible to go from the
edit to hearing it

Write a shell script:

----- songtomidi.sh
#!/bin/sh
FILE="$(basename -s ly $1 )"

lilypond ${FILE}.ly
velchanger ${FILE}.midi
... etc

(untested, but you get the idea)


Cheers,
- Graham




reply via email to

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