Use Flat's unique technology to integrate interactive music scores and tabs to any web page. Create a stunning experience for your users and visitors to view, listen and edit sheet music on your own blog, website or application.
Choose an existing music score on Flat or import your sheet music in MusicXML or MIDI
In a few clicks, choose the display options using our generator
Copy the HTML5 code and paste it into your web page or blog post
Use the same JavaScript API as we do through our different products. Control every properties of the embed, edit sheet music and get events of all the users' actions.
Read the docs<div id="embed-container"></div>
<button id="export-xml">Export to MusicXML</button>
<script src="https://prod.flat-cdn.com/embed-js/v1.5.0/embed.min.js"></script>
<script>
var container = document.getElementById('embed-container');
var embed = new Flat.Embed(container, {
// The score hosted on Flat we use here as template.
// You can also use `embed.loadMusicXML(file)` to load your files on the fly
score: '56ae21579a127715a02901a6',
embedParams: {
mode: 'edit',
appId: '59e7684b476cba39490801c2',
// Simple customizations
branding: false,
controlsPosition: 'top',
}
});
// Export the file when we click on the button
document.getElementById('export-xml').addEventListener('click', function () {
embed.getMusicXML({ compressed: true }).then(function (buffer) {
// Exported MusicXML file in `buffer`
});
});
</script>
Start Building
For non-commercial use
Viewer: pages/mo
Editor: active users/mo
Not available, upgrade to a paying plan.
Interactive viewer
Embeddable editor
JavaScript API
1 Flat Free account
Store 15 scores
Viewer: pages/mo
Editor: active users/mo
Viewer: / 1,000 pages
Editor: / active user
Commercial use
Unbranded embed
Customization options
MIDI Output
1 Flat Power account
Unlimited Storage
Viewer: pages/mo
Editor: active users/mo
Viewer: / 1,000 pages
Editor: / active user
Tech support
Volume pricing