Skip to content
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

setVolume is not a function #19

Closed
drscottlobo opened this issue May 22, 2023 · 2 comments
Closed

setVolume is not a function #19

drscottlobo opened this issue May 22, 2023 · 2 comments

Comments

@drscottlobo
Copy link
Contributor

Hi @danigb, hope all goes well!

Looks like the Soundfont player object is giving the following error: player.setVolume() is not a function.

I had a look at the object in the console and it looks like that function is currently in player.output, so player.output.setVolume() works. Is that the intended functionality, or should the function be moved?

I still want to have a way to buy you a coffee! This library is saving me so much time!

@drscottlobo drscottlobo changed the title setVolume function is not a function setVolume is not a function May 22, 2023
@danigb
Copy link
Owner

danigb commented May 22, 2023

I'm glad this is useful for you @drscottlobo 👍 And you're right, the function is in player.output, we need to fix the documentation (PRs welcomed)

I don't accept donations by now, but thanks ☕

@drscottlobo
Copy link
Contributor Author

Submitted a PR for the update to the docs :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants