Open ranska opened 9 years ago
Hi
Thanks. I did not make any additions to the original XMP functionality and in particular so far I did not add any JavaScript hooks which might allow to handle specific music events.
Supposing there is a place in the original XMP C code where the playback of
different notes can be distinguished, then it would be fairly easy to
there add a respective JavaScript hook. (So far I did not analyze the
original XMP code enough so that I could pin down that place..)
If you fancy adding such a feature, I'd suggest you get in touch with
Claudio Matsuoka (he takes care of the original XMP and seems to be a
very friendly and helpful chap). With his help you should be abel to
identify the relevant code and you should find examples for how to
setup JavaScript hooks in some of my other players (I am using those
in websc68 and in webuade to load files.).
Cheers, Juergen
Zitat von ranska notifications@github.com:
HI thanks for your job it's awesome. I want to know if in your player there is a way to run callback from
javascript when a note is playing ?
Reply to this email directly or view it on GitHub: https://github.com/wothke/libxmp-4.3.0/issues/1
HI thanks for your job it's awesome. I want to know if in your player there is a way to run callback from javascript when a note is playing ?