Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "spice/pitch_utils"

Index

Functions

getPitches

  • getPitches(spiceModel: GraphModel, inputData: AudioData, confidenceThreshold?: number): Promise<{ confidences: number[]; pitches: number[] }>
  • Parameters

    • spiceModel: GraphModel
    • inputData: AudioData
    • Default value confidenceThreshold: number = CONF_THRESHOLD

    Returns Promise<{ confidences: number[]; pitches: number[] }>

shiftF0

  • shiftF0(f0Hz: number[], f0OctaveShift?: number): Tensor<Rank>

upsample_f0

  • upsample_f0(buffer: number[], newSampleRateLength: number, modelMaxFrameLength: number): number[]
  • Parameters

    • buffer: number[]
    • newSampleRateLength: number
    • modelMaxFrameLength: number

    Returns number[]

upsample_linear

  • upsample_linear(buffer: number[], newSampleRateLength: number): number[]

Generated using TypeDoc