Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/littledivy/deno_audio
Audio playback library for Deno
https://github.com/littledivy/deno_audio
Last synced: about 2 months ago
JSON representation
Audio playback library for Deno
- Host: GitHub
- URL: https://github.com/littledivy/deno_audio
- Owner: littledivy
- Created: 2020-11-03T05:18:50.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-09-05T10:11:39.000Z (about 1 year ago)
- Last Synced: 2024-06-02T11:37:45.222Z (4 months ago)
- Language: TypeScript
- Homepage:
- Size: 374 KB
- Stars: 37
- Watchers: 3
- Forks: 9
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
deno_audio
Audio playback library for Deno.
[![stars](https://img.shields.io/github/stars/littledivy/deno_audio)](https://github.com/littledivy/deno_audio/stargazers)
[![issues](https://img.shields.io/github/issues/littledivy/deno_audio)](https://github.com/littledivy/deno_audio/issues)
![deno version](https://img.shields.io/badge/deno-1.19.0-success)## Example
```typescript
import { play } from "https://deno.land/x/[email protected]/mod.ts";// supports mp3, wav, vorbis, flac
await play("music.mp3");
```## Building from source
### Prerequisites
- [deno](https://deno.land/)
- [rust](https://www.rust-lang.org/)
- [deno_bindgen](https://github.com/denoland/deno_bindgen)
- libasound2-dev - `apt-get install libasound2-dev`## Building
```bash
$ deno_bindgen --release
```## Example
```bash
$ deno run --unstable -A example.ts
```### Contribution
Pull request, issues and feedback are very welcome. Code style is formatted with
`deno fmt` and commit messages are done following
[Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) spec.## Copyright
Logo by [@carazmatic](https://picsart.com/i/284157719013211) at picsart.com
(cute, isn't it?)deno_audio is licensed under the MIT license. Please see the [LICENSE](LICENSE)
file.