Hierarchy

  • AudioPlayer

Implements

Constructors

Properties

autoPitchShift: boolean = false
buffers: AudioBufferMap = {}
connected: boolean = false
context: AudioContext = ...
nextId: number = 0
output: GainNode
tracked: {} = {}

Type declaration

    Methods

    • Returns the difference in steps between the given midi note and the closest sample Based on logic from tonejs/Tone/instrument/Sampler.ts

      Parameters

      • midi: any

      Returns number | false