Creates an action that changes an audio node’s stereo panning to a new value.
- iOS 9.0+
- macOS 10.11+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
The new value for stereo panning. The value must between
-1(left channel only) and
1(right channel only), inclusive.
The duration of the animation, in seconds.
A new action object.
When the action executes, the audio node’s stereo panning animates from its current value to its new value. For more information, see
This action is not reversible.