Embed
Put interactive, playable sheet music in your own site or app.
- Viewer or editor mode
- JavaScript/TypeScript SDK, with usage analytics in the console
Embed interactive sheet music, automate scores over the REST API, turn PDFs into editable music, and plug Flat into your LMS.
<div id="embed"></div>
<script src="https://prod.flat-cdn.com/embed-js/v2.12.1/embed.min.js"></script>
<script>
const embed = new Flat.Embed('embed', {
score: '56ae21579a127715a02901a6',
embedParams: { appId: 'YOUR_APP_ID', mode: 'edit' }
});
embed.play();
</script>Each brick works on its own and shares one account. Embed and OMR are the paid pair, covered by a single Developer plan.
Put interactive, playable sheet music in your own site or app.
Turn PDFs and photos of sheet music into editable scores.
The playground runs in the console; an account is required.
Read and write Flat accounts and scores from your own code.
An "Edit on Flat" link that imports any score into a Flat account.
Connect Flat for Education to your school's LMS.
LTI is included with a Flat for Education subscription.
Authorization header of your requests:curl -H 'Authorization: Bearer <my_api_personal_access_token>' https://api.flat.io/v2/meThat is enough to work with your own account. When you want other Flat or Flat for Education users to connect their account to your app, for example to open their scores or to run the OMR API behind your own product, you will need OAuth2 credentials. Read the authentication guide for the scopes, the OAuth2 flows, and how to request credentials.
Reading these docs with an AI agent? The whole site is available as plain text at llms.txt and llms-full.txt.
Questions, feedback or feature requests? Email developers@flat.io.