bliss-rs 0.1.4

A song analysis library for making playlists
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use bliss_audio::Song;
use std::env;

/**
 * Simple utility to print the result of an Analysis.
 *
 * Takes a list of files to analyse an the result of the corresponding Analysis.
 */
fn main() {
    let args: Vec<String> = env::args().skip(1).collect();
    for path in &args {
        match Song::new(&path) {
            Ok(song) => println!("{}: {:?}", path, song.analysis,),
            Err(e) => println!("{}: {}", path, e),
        }
    }
}