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

Audio loop stopped when different audio starts #36

Open
robin-glimp opened this issue Aug 19, 2022 · 0 comments
Open

Audio loop stopped when different audio starts #36

robin-glimp opened this issue Aug 19, 2022 · 0 comments

Comments

@robin-glimp
Copy link

I am working on an app that requires me to layer audio files. Specifically: short audio snippets as well as a background music that can be toggled.

For the main audio snippets I use the audioplayers package. As it uses up to 50 different audio snippets and they have to be played in low latency and using the stayAwake (which is lovely btw)
To get the background music as a seamless loop I came to this package, which works really well on my iOS simulator and my android phone. However when I test this on a physical iOS device the background audio stops as soon as the first audio snippet comes up. I can also get it to stop playing audio snippets and just the background music. However layering these 2 is impossible. One audio seems to duck the other one.

As a solution I'm open to using Ocarina for all sounds, but it seems to be targeted at just looping audio, rather than loading all sorts of different sounds.

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