[nslider] Just Show Treble Clef?

Joe Kaplan's icon

Is there a way to get [nslider] just to show a single bass or treble staff?

My application has a range of about an octave, I don't need four staves to appear in my presentation. Looking for something nice and compact just to show which note is currently playing.

I can use panels to cover the unwanted sections, but it's still a bit awkward. For example, if I go down to the Bb below middle C, the panel that hides the top of the bass staff cuts off the bottom of the Bb. It's not a huge deal, but it's noticeable that something weird is going on in an otherwise clean looking app.

Just wondering if there's a better way. Thanks!

Jean-Francois Charles's icon

A quick workaround using the stock [nslider] would be to uncheck "display staves" and "display clefs", and draw your own lines (live.line), or staff with treble clef using an ad-hoc png with transparency).