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

Clipping/Popping sound during playback on device #2

Open
Voqera opened this issue Jun 7, 2024 · 1 comment
Open

Clipping/Popping sound during playback on device #2

Voqera opened this issue Jun 7, 2024 · 1 comment

Comments

@Voqera
Copy link

Voqera commented Jun 7, 2024

When testing on a device (iPhone 14 Pro) I'm getting audible clipping or popping sounds. This makes the playback a poor experience.

This doesn't appear to be an issue when playing back on the simulator.

I've tried passing a reduced volume into the player and using a proxy API for OpenAI, adjusting those variables doesn't impact the issue when played back on the device.

Playback example on device (Clipping)
https://github.com/mihai8804858/swift-chunked-audio-player/assets/167458842/30ef3119-5678-47df-898d-be36b8386cc9

Playback on simulator (Smooth)
https://github.com/mihai8804858/swift-chunked-audio-player/assets/167458842/699feacf-423d-4595-b162-828471db13a3

Anecdotally, the overall volume does seem to be louder than I would expect for the device volume and the player volume levels

@stefanteulon
Copy link

Appears to be localized to the .aac format. Using .mp3 does not have this issue.

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