Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "ddsp/ddsp"

Index

Functions

convertFrameToSecs

  • convertFrameToSecs(frameLength: number): number

convertSecsToFrame

  • convertSecsToFrame(secs: number): number

getModel

  • getModel(url: string): 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>

Generated using TypeDoc