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

Is setting the speed of a sound sprite possible? #149

Open
hamoid opened this issue Nov 15, 2020 · 1 comment
Open

Is setting the speed of a sound sprite possible? #149

hamoid opened this issue Nov 15, 2020 · 1 comment

Comments

@hamoid
Copy link

hamoid commented Nov 15, 2020

Hi,

When I do allSounds.play('sound1', { speed: 0.5 }) the pitch doesn't change and I get a Uncaught TypeError: n.complete is not a function. What would be the right approach?

@hamoid
Copy link
Author

hamoid commented Nov 15, 2020

Oh I see I was looking at Sound and not https://pixijs.io/pixi-sound/docs/PIXI.sound.SoundSprite.html

SoundSprite doesn't seem to allow any options on .play(). So maybe this is a feature request? :)

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

1 participant