I'm trying to use the new SKAudioNode in iOS9. I get the sound to play, but can't seemt to access the nodes volume?
Hi helloniklas,
The node's volume can be accesses via the AVAudioNode property and the related APIs or you can use the audio SKActions to set them.
[SKAction
+ play
+ pause
+ stop
+ changePlaybackRateTo:duration:
+ changePlaybackRateBy:duration:
+ changeVolumeTo:duration:
+ changeVolumeBy:duration:
+ changeObstructionTo:duration:
+ changeObstructionBy:duration:
+ changeOcclusionTo:duration:
+ changeOcclusionBy:duration:
+ changeReverbTo:duration:
+ changeReverbBy:duration:
+ stereoPanTo:duration:
]
Note that any action of the form somethingBySomething is a relative action, whereas somethignToSomething is an absolute action.
Cheers