Bass Clef

39 views
Skip to first unread message

Divine

unread,
Nov 28, 2010, 6:36:38 AM11/28/10
to abc4j
Is it possible to draw the bass clef as I mainly deal with piano
scores ...
Can it be implemented?

iubito

unread,
Nov 28, 2010, 7:08:35 PM11/28/10
to abc4j
Hi !
abc4j handles bass clef in graphical rendering
but not perfectly in the parser (should be enhanced soon, I'm working
on that)
and abc4j doesn't handle multi voice (for piano you have 2 voices). I
plan to do this later, I've just started the notion of voices in music
model, but still a lot of work on rendition... the parser will be the
first step.

Davide

unread,
Jan 12, 2011, 4:53:07 AM1/12/11
to abc4j
Hi...
How can I add the BASS clef in the rendering?
I didn't find anything in the doc neither on google.
Thank you,
Dave

iubito

unread,
Jan 13, 2011, 3:16:52 AM1/13/11
to abc4j
Hi Dave,

if you use ABC and the parser, the short answer until the next version
is: you can't.
if you use the Music model, add objects such as Note, KeySignature,
you can set the clef to KeySignature.setClef(Clef.BASS) (or something
like that).
The rendering knows how to print a bass clef.

I'm working hard on a new ABC parser which understand clef, voices and
a lot of things.
The Music object structure is quite ready for multi voice (e.g. piano
2 staves treble/bass clef), the rendering no.
Reply all
Reply to author
Forward
0 new messages