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

Latest commit

 

History

History
21 lines (16 loc) · 451 Bytes

README.md

File metadata and controls

21 lines (16 loc) · 451 Bytes

Auph - WebAudio

Auph is simple audio library for games. This package contains draft implementation for WebAudio.

Web Example

Load library:

<script src="https://eliasku.github.io/auph/auph.js" type="text/javascript"></script>

Write some JavaScript

auph.init();
auph.resume();
var data = auph.load("https://eliasku.github.io/auph/assets/wav/HiHat_Closed.wav", 0);
setInterval(()=>{
    auph.play(data);
}, 200);