XSound - v4.1.3
    Preparing search index...

    Interface Channel

    This class is entity for recording channel.

    interface Channel {
        append(frame: Frame): Channel;
        gain(): number;
        gain(param: number): void;
        get(frameNumber: number): Frame;
        get(): Frame[];
        length(): number;
        toString(): string;
    }
    Index

    Methods

    • This method gets or sets channel gain. This method is overloaded for type interface and type check.

      Returns number

      Return value is channel gain.

    • This method gets or sets channel gain. This method is overloaded for type interface and type check.

      Parameters

      • param: number

        This argument is channel gain.

      Returns void

      Return value is channel gain.

    • This method gets designated frame or array that contains the all of frames. This method is overloaded for type interface and type check.

      Parameters

      • frameNumber: number

        This argument is target frame number.

      Returns Frame

    • This method gets designated frame or array that contains the all of frames. This method is overloaded for type interface and type check.

      Returns Frame[]