Skip to content
This repository has been archived by the owner on Mar 18, 2023. It is now read-only.

Latest commit

 

History

History
26 lines (18 loc) · 331 Bytes

README.md

File metadata and controls

26 lines (18 loc) · 331 Bytes

Auph for NodeJS

Platforms

  • macOS
  • Windows
  • Linux

Example

const auph = require("auph");

auph.init();
auph.resume();

const clap = auph.load("clap.mp3", 0);
const music = auph.load("music.ogg", 0);

auph.play(clap);
auph.play(music);

setTimeout(() => {
    auph.shutdown();
}, 2000);