[package] name = "dsp" version = "0.11.0" authors = ["Krzysztof Langner "] description = "Digital Signal Processing" keywords = ["dsp"] license = "Apache-2.0" repository = "https://github.com/klangner/dsp" homepage = "https://github.com/klangner/dsp" documentation = "https://docs.rs/dsp" edition = "2021" [features] default = ["audio"] audio = ["cpal", "audrey"] random = ["rand", "rand_distr"] [dependencies] anyhow = "1.0" arraydeque = "0.5" byteorder = "1.5" itertools = "0.12" num-complex = "0.4" rustfft = "6.2" cpal = { version = "0.15", optional = true } audrey = { version = "0.3", optional = true } rand = { version = "0.8", optional = true } rand_distr = {version = "0.4", optional = true } [dev-dependencies] assert_approx_eq = "1.1" gnuplot = "0.0.41" clap = { version = "4", features = ["derive"] } lewton = "0.10" criterion = "0.5" matfile = "0.4" transpose = "0.2" pitch_calc = "0.12" crossbeam-deque = "0.8" [[bench]] name = "gen_bench" harness = false [[example]] name = "play" required-features = ["audio"] [[example]] name = "tuner" required-features = ["audio"] [[example]] name = "spectrum" required-features = ["random"] [[example]] name = "plot" required-features = ["random"] [[example]] name = "file_sink" [[example]] name = "file_source" [[example]] name = "udp_sink" [[example]] name = "plot_freq" [[example]] name = "heart_rate"