SoundTransform

public struct SoundTransform : Equatable, Sendable
extension SoundTransform: CustomDebugStringConvertible

A structure represents the volume value controller.

  • The default volume.

    Declaration

    Swift

    public static let defaultVolume: Float
  • The default panning of the sound.

    Declaration

    Swift

    public static let defaultPan: Float
  • The volume, ranging from 0 (silent) to 1 (full volume)

    Declaration

    Swift

    public var volume: Float
  • pan

    The panning of the sound

    Declaration

    Swift

    public var pan: Float
  • Creates a new instance.

    Declaration

    Swift

    public init(volume: Float = SoundTransform.defaultVolume, pan: Float = SoundTransform.defaultPan)

CustomDebugStringConvertible

  • Declaration

    Swift

    public var debugDescription: String { get }