musix

Crates.iomusix
lib.rsmusix
version0.2.1
sourcesrc
created_at2024-03-22 18:27:26.633556
updated_at2024-05-31 18:03:55.351036
descriptionMusic player library for esoteric audio formats (music from C64,Amiga etc)
homepagehttps://github.com/sasq64/musicplayer
repository
max_upload_size20000000
id1182858
size46,061,637
Jonas Minnberg (sasq64)

documentation

README

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.


    // 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()]);
Commit count: 0

cargo fmt