Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/remapper/src/deps.ts>three.AudioLoader

A framework for Beat Saber map scripting.
Go to Latest
class three.AudioLoader
extends Loader
import { three } from "https://deno.land/x/remapper@2.1.0/src/deps.ts";
const { AudioLoader } = three;

Constructors

new
AudioLoader(manager?: LoadingManager)

Methods

load(
url: string,
onLoad: (audioBuffer: AudioBuffer) => void,
onProgress?: (request: ProgressEvent) => void,
onError?: (event: ErrorEvent) => void,
): void
loadAsync(url: string, onProgress?: (event: ProgressEvent) => void): Promise<AudioBuffer>