https://github.com/chrontax/audyo
Audio decode/encode library for rust
https://github.com/chrontax/audyo
Last synced: 5 months ago
JSON representation
Audio decode/encode library for rust
- Host: GitHub
- URL: https://github.com/chrontax/audyo
- Owner: chrontax
- License: apache-2.0
- Created: 2024-10-02T11:34:54.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-10-02T11:34:57.000Z (over 1 year ago)
- Last Synced: 2025-10-26T04:28:09.362Z (8 months ago)
- Language: Rust
- Size: 6.84 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# Audyo
Audio decoding/encoding library with a simple api.
## Features
- audio decoding (currently supports all formats supported by [symphonia](https://crates.io/crates/symphonia))
- audio encoding (currently only supports ogg vorbis)
## Usage
```none
cargo add audyo
```
```rust
let decoded = audyo::decode::(File::open("uwu.mp3").unwrap()).unwrap();
let vorbis_encoded = audyo::encode_vorbis(&decoded.1, 320000).unwrap();
```