Interface AudioClipOptions

interface AudioClipOptions {
    duration?: number;
    effects?: {
        id: string;
        options: {
            fragmentSrc?: string;
            frameHeight: number;
            frameWidth: number;
            textureHeight: number;
            textureWidth: number;
            uniforms?: Record<string, unknown>;
        };
        sourceId: string;
    }[];
    filters?: { id: string; options: { lutUrl: string }; sourceId: string }[];
    id?: string;
    isVisible?: boolean;
    leftTrim?: number;
    mediaDataId: string;
    muted?: boolean;
    rightTrim?: number;
    startTime?: number;
    style?: Partial<
        {
            alpha: number;
            clipId: string;
            cornerRadius?: [number, number, number, number];
            height?: number;
            mediaDataId?: string;
            position: [number, number];
            relativeCornerRadius: boolean;
            rotation: number;
            scale: [number, number];
            width?: number;
            zIndex: number;
        },
    >;
    subtitlesId?: string;
    subtitlesOffset?: number;
    type?: string;
    volume?: number;
}

Hierarchy (View Summary)

Properties

duration?: number
effects?: {
    id: string;
    options: {
        fragmentSrc?: string;
        frameHeight: number;
        frameWidth: number;
        textureHeight: number;
        textureWidth: number;
        uniforms?: Record<string, unknown>;
    };
    sourceId: string;
}[]
filters?: { id: string; options: { lutUrl: string }; sourceId: string }[]
id?: string
isVisible?: boolean
leftTrim?: number
mediaDataId: string
muted?: boolean
rightTrim?: number
startTime?: number
style?: Partial<
    {
        alpha: number;
        clipId: string;
        cornerRadius?: [number, number, number, number];
        height?: number;
        mediaDataId?: string;
        position: [number, number];
        relativeCornerRadius: boolean;
        rotation: number;
        scale: [number, number];
        width?: number;
        zIndex: number;
    },
>
subtitlesId?: string
subtitlesOffset?: number
type?: string
volume?: number