MaxScore or Lilypond

pinar's icon

Hi everyone,

I have a project at hand for which I'll need to analyze audio input and translate pitch, duration, attack etc to usable musical parameters. Those will be used to generate "scores" which will be printed every 1 hour and later will be played by a pianist.

For the scoring part I was planing to use MaxScore, but at first glance I couldn't figure out if one can make a "piano reduction" with MaxScore. So far I see you can change the clef, but it's always single staff?

Am I wrong? Is there a easy way of creating a parallel G & F clef staves for piano reduction?

The other option could be scripting for Lilypond I assume but I couldn't find a way of integrating it yet.

MaxScore solution would be most appreciated for I also need to be able to export/print the material automatically.
But if anyone has experience with either of the tools please let me know.

Kind Regards,
Pinar

keithmanlove's icon

Seems straight forward enough to make a small library that writes what you need to a lilypond format. Run the lilypond script, and you've got a pdf, ps, whatever you want.

Notation in max is a little goofy. It's not for lilypond, and getting max to make information to give to lilypond seems pretty straightforward too.

If you make it modular enough, you can replace lilypond elements with max ones if you find an acceptable solution in max.

andrea agostini's icon

Hi Pinar.

I'll do some advertising here, and suggest you to have a look to the bach library, at www.bachproject.net , and namely to the bach.score and bach.roll objects...

hth!
aa

keithmanlove's icon

Really great! Your shameless promotion is much needed. Thanks! Look forward to looking into these.

hans w. koch's icon

i can only strongly second the advertisment. i used the bach scoring externals in a project this july for the real-time transcription of environmental sounds for a carillon player and not only did they work for a 40+ minutes piece without any hickup, but i got also great support while working on the patch from the bach-developers.
thanks to them again

hans

danieleghisi's icon

Hi Pinar,

If you look at the bach library for your purpose, you might need to know that there's an undocumented "collapse" message for [bach.score], which might do the trick for your case (or which might partly do the trick, depending on what reduction you need to achieve).
To give an example, I attach a patch.

Max Patch
Copy patch and select New From Clipboard in Max.

All the best,
Daniele

Georg Hajdu's icon

Hello Pinar,

You can easily move a bass clef closer to the treble clef so that the appear like a piano grand staff. There is also an example in the MaxScore release called "A better note slider" which demonstrates how to add additional lines and characters to a 5-line staff to create a grand staff.
Let me know if any of these solutions work for you.

Georg