Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • DDSP

Index

Constructors

constructor

  • new DDSP(checkpointUrl: string, settings?: ModelValues): DDSP
  • DDSP constructor.

    Parameters

    • checkpointUrl: string
    • Optional settings: ModelValues

    Returns DDSP

Methods

dispose

  • dispose(): void
  • Disposes of any untracked Tensors to avoid GPU memory leaks.

    Returns void

initialize

  • initialize(): Promise<void>
  • Loads variables from the checkpoint and builds the model graph.

    Returns Promise<void>

isInitialized

  • isInitialized(): boolean

memCheck

  • memCheck(): Promise<boolean>
  • Include memCheck as a member method for API/export.

    Returns Promise<boolean>

    Audio Features of provided audio buffer

synthesize

  • synthesize(audioFeatures: AudioFeatures, settings?: ModelValues): Promise<Float32Array>
  • Synthesizes audio features based on model.

    Parameters

    • audioFeatures: AudioFeatures
    • Optional settings: ModelValues

    Returns Promise<Float32Array>

    Audio Features of provided audio buffer

Generated using TypeDoc