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: 3 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 (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-09-05T10:11:39.000Z (over 1 year ago)
- Last Synced: 2024-11-02T03:23:08.044Z (4 months ago)
- Language: TypeScript
- Homepage:
- Size: 374 KB
- Stars: 36
- 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.
[](https://github.com/littledivy/deno_audio/stargazers)
[](https://github.com/littledivy/deno_audio/issues)
## 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.