3 unstable releases
0.2.1 | May 31, 2024 |
---|---|
0.2.0 | May 31, 2024 |
0.1.0 | Mar 22, 2024 |
#930 in Audio
140 downloads per month
Used in musix_player
21MB
583K
SLoC
Contains (autotools obfuscated code, 170KB) src/plugins/ayflyplugin/ayfly/configure, (autotools obfuscated code, 91KB) configure, (WOFF font, 24KB) glyphicons-halflings-regular.woff, (ELF exe/lib, 32KB) compareresample, (ELF exe/lib, 31KB) testresample, (obscure autoconf code, 1KB) configure.ac and 4 more.
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()]);
lib.rs
:
musix
A rust music player library for esoteric formats
Used libsidplay, UADE, GME, Openmpt etc to play a multitude of music formats from old computers and consoles.