Wednesday, May 2, 2012

Displaying musical notation in iOS


musical notation on iOS

In case you're wondering, the easiest way I've found to display programmatically generated musical notation on the iPhone is with VexFlow.  It's a javascript library, so this means I have to put it in a UIWebView object through an html document that loads all the relevant files.  To call the javascript functions, I send a stringByEvaluatingJavaScriptFromString:  message to the UIWebView object.  It all works very well, so that takes care of the uninteresting part of that project…  now I get to learn all I can about algorithmic composition!