Music Notation

Community Forums/General Help/Music Notation

cps(Posted 2016) [#1]
I'm playing (no pun intended) around with an idea for a music notation program in Blitz Max (sort of Music Time/Finale light).
Has anybody come across a font that contains musical symbols IE semibreve, clef, minim ETC ? Has anybody been down this path before ? (don't want to reinvent the wheel). Have fun cps


AdamStrange(Posted 2016) [#2]
the quickest way would be to use images of the notes


TomToad(Posted 2016) [#3]
Seems to be a bunch here http://www.fontspace.com/category/music,notes


cps(Posted 2016) [#4]
Thanks for the input, looks like canvas/piximaps is the way to go.
I was sort of thinking that a font might provide a shortcut or even a way of making it text based (textarea), which may have made printing easier. Thanks again, have fun cps.
Sorry TomToad but I didn't quite twig that fontspace contained fonts (brain not plugged in) so will try text based as well. Have fun cps


Kryzon(Posted 2016) [#5]
CPS, I would look into using Brucey's cairo module. Cairo is a GPL library (EDIT: it's actually LGPL or MPL-licensed, so proprietary use is fine) for rendering vector graphics, and it supports a PDF output (generating a PDF document with your vector graphics that can then be printed).
The module inherits this feature.

Then you can use something for display on screen (canvas, pixmaps etc.), and when it's time to print you use the PDF output.

Some links:
- https://github.com/maxmods/bah.mod/tree/master/cairo.mod
- https://github.com/maxmods/bah.mod/blob/master/cairo.mod/examples/pdf_output_1.bmx

- https://www.cairographics.org/manual/cairo-PDF-Surfaces.html

- http://www.fontspace.com/robert-allgeyer/musisync


cps(Posted 2016) [#6]
Kryzon, many thanks.
This gives me another option as I was reduced to using copy/paste from a saved image or importing text to a WP for printing as a quick fix. Have fun cps