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.
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