Audio changes in iOS 8
Posted: Mon Oct 13, 2014 10:26 pm
I have a app that helps students identify musical rhythms. Here is an example of how I have been playing two 8th notes:
Of course there are other variations, but you can see that the idea is very simple. The sound sample is about four seconds long, so it sustains during the "wait" code and then as you see it is re-triggered.
This has been working very well on iOS 7, but now with iOS 8 two things have taken place:
1. My app plays the audio noticeably slower
2. The audio is very staccato, meaning that in iOS 7 the sound was sustaining nicely until the next sound began, but now the sounds are truncated.
Since I currently have some iPads running one OS or the other, it is easy to compare, and clearly Apple has changed something. I mean, it could just be that iOS 8 is more taxing on the processor (clearly, it is) but it would seem to me that the samples should still behave properly, albeit slower.
Any thoughts appreciated.
Code: Select all
iphonePlaySoundOnChannel tSound ,1,"now"
wait tHalf milliseconds with messages
iphonePlaySoundOnChannel tSound ,1,"now"
wait tHalf milliseconds with messages
This has been working very well on iOS 7, but now with iOS 8 two things have taken place:
1. My app plays the audio noticeably slower
2. The audio is very staccato, meaning that in iOS 7 the sound was sustaining nicely until the next sound began, but now the sounds are truncated.
Since I currently have some iPads running one OS or the other, it is easy to compare, and clearly Apple has changed something. I mean, it could just be that iOS 8 is more taxing on the processor (clearly, it is) but it would seem to me that the samples should still behave properly, albeit slower.
Any thoughts appreciated.