Open ChrisChan888 opened 1 year ago
Hi Chris, Smoosic is not very sub-project-friendly right now. So you might have the best luck just compiling it in its own git repository, and then including smoosic.js in your program as a library. See the smoosic.html page in the /build/html
directory, and the other html pages that demonstrate different ways to use the library. So see for instance 'asyncPen.html' to see how it can be used just as a music engraving engine.
In your case, since you're using a reactive component library, you can use it in library mode and supply your own UI if you want. This is why I purposefully have not committed to any UI component technology - the UI is all ad-hoc html. See 'custom-menus.html' and 'custom-keybinding.html' for an example of how to customize the UI with your own components. The UI contract is pretty stable.
Smoosic uses vexflow for an engraving engine. I include my own build but you should be able to use any released version >= 4.x. You can also include my version directly from the cdn:
<script type="text/javascript" src="https://aarondavidnewman.github.io/vexflow_smoosic/releases/vexflow-debug.js"></script>
Maybe the next step with Smoosic is to break it up into different sub-repositories that can be included in other packages.