Methods
duplicateSamples
- duplicateSamples(): Int16Array
getChannelCount
- getChannelCount(): number
loadFromMemory
- loadFromMemory(buffer: Buffer): boolean
-
Parameters
Returns boolean
loadFromSamples
- loadFromSamples(samples: number[] | Int16Array, channelCount: number, sampleRate: number): boolean
-
Parameters
-
samples: number[] | Int16Array
-
channelCount: number
-
sampleRate: number
Returns boolean
saveToFile
- saveToFile(filename: string): Promise<void>
-
Parameters
Returns Promise<void>