-
-
Notifications
You must be signed in to change notification settings - Fork 290
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using abcjs in moodle with "generico" plugin #726
Comments
What CDN are you using? It must not be updated to use the latest. |
I'm using cdnjs. I have tried with 3.1.1 (seem the last), but in none I find the ABCJS.synth method |
I'm not sure where that came from. I didn't submit anything to it. Can you try https://cdn.jsdelivr.net/npm/[email protected]/dist/abcjs-basic-min.js ? That reflects the npm package. |
Thank you very much Paul. Now the sound works perfectly !! However, our idea was to simultaneously enable not only playback of the score, but also editing, so we also needed "ABCJS.Editor". Cannot be found in "abcjs-basic-min.js". In order to achieve the goal of simultaneous editing plus playback, the ideal would be to get "ABCJS.Editor" and "ABCJS.Synth" on a single CDN. |
The editor is already included. Here is a complete example (modified from the editor.html example):
|
Indeed, it works with any compiler such as codepen.io rendering, editing and playback. Therefore, the orientations that you indicated to me are correct. Thanks!! I thought that version 6.0.0-beta33 would work with the "Generic" moodle plugin. However it does not work and it does with version 3.1.1. Therefore it is not a failure of the abcjs library, but of the conversion that the moodle plugin performs. I have opened an issue in Justin Hunt's project to see if he can offer any solutions. |
It is impossible to play the audio importing the library through the usual CDNs since "abcjs_basic-min.js" or "abcjs_editor-min.js" do not include the "ABCJS.synth" method.
The text was updated successfully, but these errors were encountered: