opensheetmusicdisplay / osme

Open Sheet Music Education: A configurable generator for sight reading practice sheets, using OSMD
https://opensheetmusiceducation.org/
BSD 3-Clause "New" or "Revised" License
14 stars 4 forks source link

Embedding #13

Closed matt-uib closed 4 years ago

matt-uib commented 4 years ago

OSME Webserver zeigt Controls und erzeugt lokal am Client ein XML mit einem Hashcode oder UUID als Namen. Dieses kann ich dann downloaden.

Am All-Incl Server osmeducation.org läuft eine Wordpress Instanz (/wp) und die OSMD bibliothek ist über /osmd-viewer abrufbar. Auf /wp/upload kann man per drag'n'drop musicxmls raufladen. Die Url zu einem raufgeladenen xml-file kann nun als Parameter beim Aufruf von /osmd-viewer angegeben werden.

FloHin commented 4 years ago

osme-server is done so far

POST /sheet/generate generates a file see /sheet/generate/example/1 GET /sheet/ ... list all generated files GET /sheet/:id returns file

matt-uib commented 4 years ago

https://opensheetmusiceducation.org/wp-content/uploads/osme/?embedded=1&openUrl=https://opensheetmusiceducation.org/wp-content/uploads/osme/Beethoven_AnDieFerneGeliebte.xml

sschmidTU commented 4 years ago

done https://opensheetmusiceducation.org/generate-sight-reading-practice/ https://opensheetmusiceducation.org/embedding/

<iframe src="https://opensheetmusiceducation.org/wp-content/uploads/viewer/?embedded=1&showHeader=0&showZoomControl=1&zoom=1.0&openUrl=https://opensheetmusiceducation.org/index.php?gf-download=2020%2F03%2Fosme_sightreading_practice_c_major_16.musicxml&form-id=1&field-id=4&hash=ed3c4a4661dd629157882d7bffc4468b4fb6b5f635017ba551459ffafb8b8259&endUrl" height="1200" width="2000">

https://opensheetmusiceducation.org/wp-content/uploads/viewer/?embedded=1&showHeader=0&showZoomControl=1&zoom=1.0&openUrl=https://opensheetmusiceducation.org/index.php?gf-download=2020%2F03%2Fosme_sightreading_practice_c_major_16.musicxml&form-id=1&field-id=4&hash=ed3c4a4661dd629157882d7bffc4468b4fb6b5f635017ba551459ffafb8b8259&endUrl