From the first glance, it looked like SKAudioNode would deliver all the sound functionaliy I need for a simple game-like app.
But it seems to be making life difficult.
I wanted to create an AudioNode, and have it start with zero volume, and then fade up to an audio level.
After a few attempts, I now have this.
//create audio in paused state
amb.runAction(SKAction.pause())
amb.runAction(SKAction.changeVolumeTo(0.0, duration: 0.0))
//and then after a delay - unpause and fade in
amb.runAction(SKAction.play())
amb.runAction(SKAction.changeVolumeTo(0.2, duration: 20))
But the duration parameter seems to be ignored.
Also finding that scene transitions don't like scenes with audio. I am occasionally seeing crashes.
XCode itself crashes when previewing a scene with looping audio.
And (just a little) worried that Demo Bots example code does not include any sound at all.
I am puzzled about how best to proceed.