-
Notifications
You must be signed in to change notification settings - Fork 7
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 AbcPlay and soundfonts #50
Comments
Are you sure that you have chosen an instrument which is available? the 'undefined' in the url indicates that your instrument is not in the list of midi instruments which you find in play-1.js. http://127.0.0.1:3000//undefined-0/C0.0 you also have to set url and type. And you need to copy the files to a folder in your webserver. |
How do you set the instrument? Ex a grand piano? Wheres the function? |
I see the instr_tb array and load_instr function in audio5 but i searched the repo and dont see it called anywhere. |
From your code, you have nothing to play! |
I do I just left that out because its in another code block
I added a breakpoint to double check 'get_abcmodel' was being called and it is. |
im still having issues getting this to work. any more suggestions? |
Start from a working piece of software as abcemb.js and adapt it step by step to your needs. |
i already did that... also abcemb.js doesn't help because im generating it from a var not inline abc. could you help by answering questions i asked in my first post about the errors relating to the soundfonts. |
The soundfont may be loaded by two means:
|
if the default is set to gleitz.github.io should it still play? why is the code looking for the fonts on your server even though I didnt set them? why is the instrument undefined? is there not a default instrument? also when i try and run the example au_clair.xhtml it throws cross-origin errors too. how can i that the examlple locally? could you direct to a soundfont or file i can use to test. thanks! |
also http://gleitz.github.io/ is a broken link |
|
Just 2 quick notes. |
I'm trying to use AbcPlay. When I call play it throws this
Heres my code:
I think this is related to the soundfont url but isn't there a default? When I try:
it throws these errors:
And now I think its the instrument but can't find the func to set the instrument. It'd be great if there were documentation for this.
The text was updated successfully, but these errors were encountered: