Options
All
  • Public
  • Public/Protected
  • All
Menu

Class WebAudioFontLoader

Hierarchy

  • WebAudioFontLoader

Index

Constructors

Properties

cached: CachedPreset[] = []
choosenInfos: NumPair[] = []
drumKeyArray: string[] = []
drumNamesArray: string[] = []
instrumentKeyArray: string[] = []
instrumentNamesArray: string[] = []
instrumentTitles: () => string[] = ...

Type declaration

    • (): string[]
    • Returns string[]

Methods

  • decodeAfterLoading(audioContext: AudioContext, variableName: string): void
  • Parameters

    • audioContext: AudioContext
    • variableName: string

    Returns void

  • drumKeys(): string[]
  • drumTitles(): string[]
  • findDrum(nn: number): number
  • findInstrument(program: number): number
  • instrumentKeys(): string[]
  • loaded(variableName: string): boolean
  • Parameters

    • variableName: string

    Returns boolean

  • progress(): number
  • startLoad(audioContext: AudioContext, filePath: string, variableName: string): void
  • Parameters

    • audioContext: AudioContext
    • filePath: string
    • variableName: string

    Returns void

  • waitLoad(onFinish: () => void): void
  • Parameters

    • onFinish: () => void
        • (): void
        • Returns void

    Returns void

  • waitOrFinish(variableName: string, onFinish: () => void): void
  • Parameters

    • variableName: string
    • onFinish: () => void
        • (): void
        • Returns void

    Returns void

Generated using TypeDoc