Registry / Library

library · v0.1.1
Zero Cross Count
Count sign changes in sampled audio, ignoring zero-valued plateaus.
Use Zero Cross Count
use vendor::zero_cross_count::zero_cross_count;
Run the example
nest demo zero_cross_count@0.1.1
blyxc native-run zero_cross_count-demo/main.blyx
Example source and expected output
use vendor::zero_cross_count::zero_cross_count;
fn main() {
println!(zero_cross_count([-1,0,1,0,-1]));
}
Expected output
2
Published versions
| Version | Package | Source commit | SHA-256 |
|---|---|---|---|
| 0.1.1 | Download ZIP · Browse files | b2bf2e8d07 | a045ff1b510a3ebf4dd3588629ea841595b5b4932d813ab0857b4e14b7f6bfc0 |
| 0.1.0 | Download ZIP · Browse files | 6349f23784 | 3e6049ae49ab8fcf8ae884e18050a67249f756e248c7ad8917f0ec9c4633f34e |