# musix
_musix_ is a library for playing old (esoteric) music formats from home computers and game consoles.
Check the `musix_player` crate for example usage.
```rust
// need to initialize and get access to meta data provided
// in the data/ directory.
musix::init(Path::new("data"))?;
let song_path = PathBuf::from(song_file);
// Try to load a song
let mut player = musix::load_song(&song_path)?;
let mut target: Vec<i16> = vec![0; 32768];
// Generate some audio samples
player.get_samples(&mut target[0..data.len()]);
```