ez-audi 0.1.0

A lightweight (to be cross-platform/wasm-compilable(?)) audio library based on cpal
Documentation

Ez-Audi:

A lightweight (to be cross-platform/wasm-compilable(?)) audio library based on cpal

Features (as of now):

  • Read and play LPcm WAVE (.wav) files
  • Apply modifiers to the samples for Volume, Looping, etc..
  • Control over the raw audio samples
  • Get audio file metadata

Supports (as of now):

  • Linux
  • LPcm WAVE files

Get started

use ez_audi::audio_types::WavAudio;
use ez_audi::public_traits::*;

let wav_audio = WavAudio::new("yourfilehere.wav").unwrap();

// Creates an audio player, keep it in scope to keep the audio playing
let player = wav_audio.play_on_default_output().unwrap();

std::thread::sleep(std::time::Duration::from_secs(2));

What is left to do:

  • Pretty much everything, don't use this in any serious projects unless you enjoy relying on unstable, buggy code
  • The documentation is also very much lacking
  • The projet is very much still in development if you are not intersted now, please come back later