Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace Audio

Audio命名空间。

Index

References

AudioDistortion

Re-exports AudioDistortion

AudioEcho

Re-exports AudioEcho

AudioHighPassFilter

Re-exports AudioHighPassFilter

AudioListener

Re-exports AudioListener

AudioLowPassFilter

Re-exports AudioLowPassFilter

AudioSource

Re-exports AudioSource

Functions

Const CreateBiquadFilter

  • CreateBiquadFilter(): BiquadFilterNode
  • 创建新的经过封装的WebAudio BiquadFilterNode对象

    Returns BiquadFilterNode

Const CreateBufferSource

  • CreateBufferSource(): AudioBufferSourceNode
  • 创建新的经过封装的WebAudio AudioBufferSourceNode对象

    Returns AudioBufferSourceNode

Const CreateConvolver

  • CreateConvolver(): ConvolverNode
  • 创建新的经过封装的WebAudio ConvolverNode对象

    Returns ConvolverNode

Const CreateDelay

  • CreateDelay(): DelayNode
  • 创建新的经过封装的WebAudio DelayNode对象

    Returns DelayNode

Const CreateDynamicsCompressor

  • CreateDynamicsCompressor(): DynamicsCompressorNode
  • 创建新的经过封装的WebAudio DynamicsCompressorNode对象

    Returns DynamicsCompressorNode

Const CreateGain

  • CreateGain(): GainNode
  • 创建新的经过封装的WebAudio GainNode对象

    Returns GainNode

Const CreateIIRFilter

  • CreateIIRFilter(feedforward: number[], feedback: number[]): IIRFilterNode
  • 创建新的经过封装的WebAudio IIRFilterNode对象

    Parameters

    • feedforward: number[]
    • feedback: number[]

    Returns IIRFilterNode

Const CreatePanner

  • CreatePanner(): PannerNode
  • 创建新的经过封装的WebAudio PannerNode对象

    Returns PannerNode

Const CreateStereoPanner

  • CreateStereoPanner(): StereoPannerNode
  • 创建新的经过封装的WebAudio StereoPannerNode对象

    Returns StereoPannerNode

Const CreateWaveShaper

  • CreateWaveShaper(): WaveShaperNode
  • 创建新的经过封装的WebAudio WaveShaperNode对象

    Returns WaveShaperNode

Const GenId

  • GenId(): string
  • 获取新的节点id

    Returns string

Const GetCtx

  • GetCtx(): AudioContext
  • 获取经过封装的WebAudio上下文

    Returns AudioContext

Const GetDestination

  • GetDestination(): AudioDestinationNode
  • 获取经过封装的WebAudio上下文的AudioDestinationNode对象

    Returns AudioDestinationNode

Const GetDspTime

  • GetDspTime(): number
  • 获取音频系统当前时间

    Returns number

Const GetNativeListener

  • GetNativeListener(): AudioListener
  • 获取经过封装的WebAudio上下文的AudioListener对象

    Returns AudioListener

Const GetNumRealVoices

  • GetNumRealVoices(): number
  • 获取真实音频数量上限

    Returns number

Const IsAudioNode

  • IsAudioNode(node: any): boolean
  • 判断指定node参数是否经过封装后的WebAudio的AudioNode类型

    Parameters

    • node: any

    Returns boolean

Const IsAudioParam

  • IsAudioParam(param: any): boolean
  • 判断指定param参数是否经过封装后的webAudio的AudioParam类型

    Parameters

    • param: any

    Returns boolean

Const SetNumRealVoices

  • SetNumRealVoices(val: number): void
  • 设置真实音频数量上限

    Parameters

    • val: number

    Returns void

Generated using TypeDoc