Type Alias: AudioSource
type AudioSource =
| string
| {
headers?: Record<string, string>;
uri: string;
}
| ArrayBuffer;
Defined in: analyzer.ts:36
Where to read audio from:
- an absolute path or
file://URI; - an
http(s)://URL, downloaded and cached with load; { uri, headers }for a URL that needs request headers;- an
ArrayBufferwith the bytes of an encoded file (e.g. a recording).