External module "ddsp/ddsp"
Functions
convertFrameToSecs
- convertFrameToSecs(frameLength: number): number
-
Parameters
Returns number
convertSecsToFrame
- convertSecsToFrame(secs: number): number
-
Parameters
Returns number
getModel
- getModel(url: string): Promise<GraphModel>
-
Parameters
Returns Promise<GraphModel>
memCheck
- memCheck(): Promise<boolean>
normalizeAudioFeatures
- normalizeAudioFeatures(af: AudioFeatures, model: ModelValues): Promise<{ f0_hz: number[]; loudness_db: number[] }>
-
Parameters
-
af: AudioFeatures
-
model: ModelValues
Returns Promise<{ f0_hz: number[]; loudness_db: number[] }>
resizeAudioFeatures
- resizeAudioFeatures(audioFeatures: AudioFeatures, startingFrame: number, endingFrame: number, isLastChunks: boolean, resizedLength: number): Promise<AudioFeatures>
-
Parameters
-
audioFeatures: AudioFeatures
-
startingFrame: number
-
endingFrame: number
-
isLastChunks: boolean
-
resizedLength: number
Returns Promise<AudioFeatures>