Type Method

changeReverbTo:duration:

Creates an action that changes an audio node’s reverb to a new value.

Declaration

+ (SKAction *)changeReverbTo:(float)v duration:(NSTimeInterval)duration;

Parameters

v

The new value for the reverb. The value should be between 0.0 and 1.0, inclusive.

duration

The duration of the animation, in seconds.

Return Value

A new action object.

Discussion

When the action executes, the audio node’s reverb animates from its current value to its new value. For more information, see AVAudio3DMixing.

This action is not reversible.

See Also

Conrolling the Audio of a Node

+ playSoundFileNamed:waitForCompletion:

Creates an action that plays a sound.

+ play

Creates an action that tells an audio node to start playback.

+ pause

Creates an action that tells an audio node to pause playback.

+ stop

Creates an action that tells an audio node to stop playback.

+ changePlaybackRateTo:duration:

Creates an action that changes an audio node’s playback rate to a new value.

+ changePlaybackRateBy:duration:

Creates an action that changes an audio node’s playback rate by a relative amount.

+ changeVolumeTo:duration:

Creates an action that changes an audio node’s volume to a new value.

+ changeVolumeBy:duration:

Creates an action that changes an audio node’s volume by a relative value.

+ changeObstructionTo:duration:

Creates an action that changes an audio node’s obstruction to a new value.

+ changeObstructionBy:duration:

Creates an action that changes an audio node’s obstruction by a relative value.

+ changeOcclusionTo:duration:

Creates an action that changes an audio node’s occlusion to a new value.

+ changeOcclusionBy:duration:

Creates an action that changes an audio node’s occlusion by a relative value.

+ changeReverbBy:duration:

Creates an action that changes an audio node’s reverb by a relative value.

+ stereoPanTo:duration:

Creates an action that changes an audio node’s stereo panning to a new value.

+ stereoPanBy:duration:

Creates an action that changes an audio node’s stereo panning by a relative value.