I'm trying to figure out how to add some sound design elements to my game. For example.. I want an engine sound to change pitch or grow louder as my sprite moves faster. Obviously this is outside the scope of SKAction. I've tried AVAudioPlayer.. this works but it seems to be more suited towards playing music. Even running a short loop using AVAudioPlayer produces popping sounds between each loop.
How can I control things like pitch, volume, playback speed programmatically?
This seems useful.
http://kstenerud.github.io/ObjectAL-for-iPhone/index.html
but is there a swift version.. or can I bridge this over to swift somehow.