Interface AudioTrack
interface AudioTrack {
_fields: <T extends BaseNode>(
this: T,
) => NodeFieldDef<T, Extract<keyof T, string>>[];
_fieldsByKey: <T extends BaseNode>(
this: T,
) => Partial<Record<string | number | symbol, NodeFieldDef<T>>>;
_insertKeyframeAtTime: (
key: string,
value: unknown,
time: Rational,
index?: number,
) => void;
_is_edit_view?: boolean;
_positionChildAt: (node: AudioClip, index: number) => void;
_toggleKeyframesAt: (keys: string[], time: Rational) => void;
_unlinkChild: (node: AudioClip) => void;
"[dispose]": () => void;
animationMap: Map<string, Animation<unknown>>;
animations: Partial<Record<string, Animation>>;
children: AudioClip[];
color?: string;
count: number;
delete: (deep?: boolean) => void;
dispose: (deep?: boolean) => void;
doc: Document;
duration: Rational;
effects: EffectList;
enabled: boolean;
getLocalTimeOffset: () => Rational;
head?: AudioClip;
id: string;
index: number;
isAudio: () => this is AnyAudioNode;
isClip: () => this is AnyClip;
isDisposed: boolean;
isImageClip: () => this is ImageClip;
isMediaClip: () => this is AnyMediaClip;
isNode: true;
isTextClip: () => this is TextClip;
isTimeline: () => this is Timeline;
isTrack: () => this is AnyTrack;
isTrackChild: () => this is AnyClip;
isVideo: () => this is AnyVideoNode;
link: NodeLink | undefined;
markers?: never[];
metadata?: Record<string, unknown>;
move: (position: ChildNodePosition | undefined) => void;
name?: string;
next: AnyTrack | undefined;
parent?: Timeline;
prev: AnyTrack | undefined;
remove: () => void;
search: (
comparator: (a: AudioClip) => number,
value?: undefined,
from?: number,
to?: number,
) => number;
tail?: AudioClip;
toJSON: () => Schema.AudioTrack;
type: "track:audio";
}
_fields: <T extends BaseNode>(
this: T,
) => NodeFieldDef<T, Extract<keyof T, string>>[];
_fieldsByKey: <T extends BaseNode>(
this: T,
) => Partial<Record<string | number | symbol, NodeFieldDef<T>>>;
_insertKeyframeAtTime: (
key: string,
value: unknown,
time: Rational,
index?: number,
) => void;
_is_edit_view?: boolean;
_positionChildAt: (node: AudioClip, index: number) => void;
_toggleKeyframesAt: (keys: string[], time: Rational) => void;
_unlinkChild: (node: AudioClip) => void;
"[dispose]": () => void;
animationMap: Map<string, Animation<unknown>>;
animations: Partial<Record<string, Animation>>;
children: AudioClip[];
color?: string;
count: number;
delete: (deep?: boolean) => void;
dispose: (deep?: boolean) => void;
doc: Document;
duration: Rational;
effects: EffectList;
enabled: boolean;
getLocalTimeOffset: () => Rational;
head?: AudioClip;
id: string;
index: number;
isAudio: () => this is AnyAudioNode;
isClip: () => this is AnyClip;
isDisposed: boolean;
isImageClip: () => this is ImageClip;
isMediaClip: () => this is AnyMediaClip;
isNode: true;
isTextClip: () => this is TextClip;
isTimeline: () => this is Timeline;
isTrack: () => this is AnyTrack;
isTrackChild: () => this is AnyClip;
isVideo: () => this is AnyVideoNode;
link: NodeLink | undefined;
markers?: never[];
metadata?: Record<string, unknown>;
move: (position: ChildNodePosition | undefined) => void;
name?: string;
next: AnyTrack | undefined;
parent?: Timeline;
prev: AnyTrack | undefined;
remove: () => void;
search: (
comparator: (a: AudioClip) => number,
value?: undefined,
from?: number,
to?: number,
) => number;
tail?: AudioClip;
toJSON: () => Schema.AudioTrack;
type: "track:audio";
}
Hierarchy (View Summary)
- BaseTrack<AnyAudioClip>
- Schema.AudioTrack
- AudioTrack
Index
Properties
_fields
_fieldsByKey
_insertKeyframeAtTime
_is_edit_view?
_positionChildAt
_toggleKeyframesAt
_unlinkChild
[dispose]
animationMap
animations
children
color?
count
delete
dispose
doc
duration
effects
enabled
getLocalTimeOffset
head?
id
index
isAudio
isClip
isDisposed
isImageClip
isMediaClip
isNode
isTextClip
isTimeline
isTrack
isTrackChild
isVideo
link
markers?
metadata?
move
name?
next
parent?
prev
remove
search
tail?
toJSON
type
Properties
Internal_fields
Internal_fieldsByKey
_fieldsByKey: <T extends BaseNode>(
this: T,
) => Partial<Record<string | number | symbol, NodeFieldDef<T>>>
this: T,
) => Partial<Record<string | number | symbol, NodeFieldDef<T>>>
_insertKeyframeAtTime
Optional Readonly_is_edit_view
_is_edit_view?: boolean
Internal_positionChildAt
_toggleKeyframesAt
Internal_unlinkChild
[dispose]
"[dispose]": () => void
ReadonlyanimationMap
Readonlyanimations
Readonlychildren
Optionalcolor
color?: string
Readonlycount
count: number
delete
delete: (deep?: boolean) => void
dispose
dispose: (deep?: boolean) => void
Readonlydoc
Readonlyduration
effects
enabled
enabled: boolean
getLocalTimeOffset
Optional Readonlyhead
id
id: string
Readonlyindex
index: number
isAudio
isClip
isDisposed
isDisposed: boolean
isImageClip
isMediaClip
isNode
isNode: true
isTextClip
isTimeline
isTrack
isTrackChild
isVideo
Readonlylink
Optionalmarkers
markers?: never[]
Optionalmetadata
metadata?: Record<string, unknown>
move
Optionalname
name?: string
next
Optional Readonlyparent
prev
remove
remove: () => void
search
search: (
comparator: (a: AudioClip) => number,
value?: undefined,
from?: number,
to?: number,
) => number
comparator: (a: AudioClip) => number,
value?: undefined,
from?: number,
to?: number,
) => number
Optional Readonlytail
toJSON
type
type: "track:audio"