Problem Description
Audio playback is distorted or pitch is reproduced incorrectly when running on iPad Air 2.
Attach a Capx
h*t*t*p://w*w*w.dropbox.com/s/ia6bebnrrm7eurn/Audio%20Test.capx?dl=0
Description of Capx
Button plays a sample which should be middle C (261Hz), two text displays; current sample rate and sample rate at start of layout.
Steps to Reproduce Bug
- Run the project on an iPad or compile an iOS app
- Press button
Observed Result
Button plays a sample which should be middle C (261Hz), upon repeatedly refreshing the project, it will usually start with a correct sample rate of 44.1kHz, the sound is played back almost (not exactly) an octave lower than it should be. Either that or very distorted. Sometimes (about 10% of the time) the page will load with a sample rate of 22kHz and the sound will play correctly. The audio file is 44.1kHz and works fine on iPhones.
The problem persists after app is compiled with Cordova CLI, XDK or Phonegap. I am finding it impossible to make an iPad app because of this.
Expected Result
Sound should play correctly.
Affected Browsers
- Safari on mobile
- Phonegap
- Cordova CLI
- Intel XDK
Operating System and Service Pack
Windows 10
Construct 2 Version ID
r227