Audio playback library for Deno.
import { play } from "https://deno.land/x/audio@0.2.0/mod.ts";
// supports mp3, wav, vorbis, flac
await play("music.mp3");
- deno
- rust
- deno_bindgen
- libasound2-dev -
apt-get install libasound2-dev
$ deno_bindgen --release
$ deno run --unstable -A example.ts
Pull request, issues and feedback are very welcome. Code style is formatted with
deno fmt
and commit messages are done following
Conventional Commits spec.
Logo by @carazmatic at picsart.com (cute, isn't it?)
deno_audio is licensed under the MIT license. Please see the LICENSE file.