Looking for Music Notation Staff / Grand Staff Canvas

Has anyone developed (or know of) a staff or grand staff canvas control that’s available for use? Looking for a control that can be used to initially place, manipulate via dragging (in half-steps), and display common musical elements such as notes (whole note thru 1/64), chords, rests, meter and measure markings, clefs, velocity changes, etc.

No point in reinventing the wheel if someone already has one available.

You will need a musical notation font to begin. Searching under “musical notation fonts free” produced a variety of possible candidates. I would think producing a canvas with 5 equally spaced parallel lines would be somewhat trivial. Placing your font symbols on that canvas at precisely the right height and with correct spacing for the allotted time will be decidedly non-trivial.
Sorry I can’t offer more. Good luck.

I have not seen anything that does that for Xojo. However, I did a quick search in old VB6 projects at Planet Source Code and found this http://planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=44340&lngWId=1. No idea how well it’s coded or what it’s doing behind the scenes but it’s worth looking at it and seeing if makes sense to you.

Bravura Font

Developed by Steinberg no less and they know a thing or two about music software - I’ve been using their products for 25 years!

Thanks all! I downloaded the Bravura font and the standard it is based on along with the VB6 staff code mentioned by Bob. These should make for a great start in developing a staff canvas in Xojo. :slight_smile:

There’s a c# one here:
http://www.c-sharpcorner.com/UploadFile/mgold/musicmaker09242005015433AM/musicmaker.aspx
Its old but it does convert fine
looks interesting, I might have a go and see if I can do guitar tabs