[LAU] showing piano style double staves in Rosegarden / Lilypond
andy baxter
andy at earthsong.free-online.co.uk
Sat Jan 24 16:48:21 EST 2009
andy baxter wrote:
> Hello,
>
> Does anyone know if there's a way to display recorded midi tracks in
> Rosegarden with a double staff, treble and bass clef, the way piano
> music is usually written?
>
I'm posting this in case anyone else has a similar problem. I've written
a short script (attached) in Python which takes a lilypond file output
by Rosegarden and converts it to piano stave format, then runs lilypond
on the result to make a pdf.
I've only tested it on single track, single segment files so far, so it
may fail with more complex files. To use it just export your rosegarden
session to lilypond format, then run 'pianoconv.py filename.ly'
If you don't want the intermediate files to be cleaned up afterwards,
comment out the lines indicated in the source.
Hope someone finds this useful.
Andy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pianoconv.py
Type: text/x-python
Size: 1221 bytes
Desc: not available
Url : http://lists.linuxaudio.org/pipermail/linux-audio-user/attachments/20090124/075c8921/attachment.py
More information about the Linux-audio-user
mailing list