audiowaveform 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/COPYING +674 -0
- data/Cargo.lock +1108 -0
- data/Cargo.toml +28 -0
- data/README.md +255 -0
- data/bindings/ruby/CHANGELOG.md +29 -0
- data/bindings/ruby/Cargo.lock +621 -0
- data/bindings/ruby/Cargo.toml +8 -0
- data/bindings/ruby/README.md +193 -0
- data/bindings/ruby/ext/audiowaveform/Cargo.toml +20 -0
- data/bindings/ruby/ext/audiowaveform/build.rs +4 -0
- data/bindings/ruby/ext/audiowaveform/extconf.rb +6 -0
- data/bindings/ruby/ext/audiowaveform/src/lib.rs +239 -0
- data/bindings/ruby/lib/audiowaveform/version.rb +5 -0
- data/bindings/ruby/lib/audiowaveform.rb +131 -0
- data/crates/audiowaveform/Cargo.toml +73 -0
- data/crates/audiowaveform/examples/generate_from_pcm.rs +25 -0
- data/crates/audiowaveform/examples/generate_waveform.rs +18 -0
- data/crates/audiowaveform/examples/render_waveform.rs +18 -0
- data/crates/audiowaveform/examples/resample_waveform.rs +19 -0
- data/crates/audiowaveform/src/audio.rs +938 -0
- data/crates/audiowaveform/src/color.rs +201 -0
- data/crates/audiowaveform/src/error.rs +89 -0
- data/crates/audiowaveform/src/format.rs +215 -0
- data/crates/audiowaveform/src/lib.rs +79 -0
- data/crates/audiowaveform/src/render.rs +802 -0
- data/crates/audiowaveform/src/wav.rs +95 -0
- data/crates/audiowaveform/src/waveform.rs +790 -0
- data/crates/audiowaveform/tests/formats.rs +223 -0
- data/crates/audiowaveform/tests/generate.rs +233 -0
- data/crates/audiowaveform/tests/render.rs +263 -0
- data/crates/audiowaveform/tests/support/mod.rs +125 -0
- data/crates/audiowaveform/tests/wav.rs +54 -0
- data/crates/audiowaveform/tests/waveform_io.rs +255 -0
- data/crates/audiowaveform-cli/Cargo.toml +43 -0
- data/crates/audiowaveform-cli/src/main.rs +803 -0
- data/crates/audiowaveform-cli/tests/cli.rs +483 -0
- data/crates/audiowaveform-cli/tests/support/mod.rs +111 -0
- data/sig/audiowaveform.rbs +33 -0
- metadata +100 -0
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
[package]
|
|
2
|
+
name = "audiowaveform-cli"
|
|
3
|
+
version.workspace = true
|
|
4
|
+
edition.workspace = true
|
|
5
|
+
license.workspace = true
|
|
6
|
+
repository.workspace = true
|
|
7
|
+
authors.workspace = true
|
|
8
|
+
description = "Command-line interface for the Rust audiowaveform library"
|
|
9
|
+
|
|
10
|
+
[[bin]]
|
|
11
|
+
name = "audiowaveform"
|
|
12
|
+
path = "src/main.rs"
|
|
13
|
+
|
|
14
|
+
[features]
|
|
15
|
+
default = ["all-formats", "render", "wav-output"]
|
|
16
|
+
decode = ["audiowaveform/decode"]
|
|
17
|
+
all-formats = ["format-aac", "format-aiff", "format-caf", "format-flac", "format-m4a", "format-mkv", "format-mp1", "format-mp2", "format-mp3", "format-ogg", "format-wav"]
|
|
18
|
+
format-aac = ["decode", "audiowaveform/format-aac"]
|
|
19
|
+
format-aiff = ["decode", "audiowaveform/format-aiff"]
|
|
20
|
+
format-caf = ["decode", "audiowaveform/format-caf"]
|
|
21
|
+
format-flac = ["decode", "audiowaveform/format-flac"]
|
|
22
|
+
format-m4a = ["decode", "audiowaveform/format-m4a"]
|
|
23
|
+
format-mp4 = ["format-m4a"]
|
|
24
|
+
format-mkv = ["decode", "audiowaveform/format-mkv"]
|
|
25
|
+
format-webm = ["format-mkv"]
|
|
26
|
+
format-mp1 = ["decode", "audiowaveform/format-mp1"]
|
|
27
|
+
format-mp2 = ["decode", "audiowaveform/format-mp2"]
|
|
28
|
+
format-mp3 = ["decode", "audiowaveform/format-mp3"]
|
|
29
|
+
format-ogg = ["decode", "audiowaveform/format-ogg"]
|
|
30
|
+
format-wav = ["decode", "audiowaveform/format-wav"]
|
|
31
|
+
render = ["audiowaveform/render"]
|
|
32
|
+
wav-output = ["audiowaveform/wav-output"]
|
|
33
|
+
|
|
34
|
+
[dependencies]
|
|
35
|
+
audiowaveform = { path = "../audiowaveform", default-features = false }
|
|
36
|
+
clap.workspace = true
|
|
37
|
+
|
|
38
|
+
[dev-dependencies]
|
|
39
|
+
assert_cmd.workspace = true
|
|
40
|
+
hound.workspace = true
|
|
41
|
+
image.workspace = true
|
|
42
|
+
predicates.workspace = true
|
|
43
|
+
tempfile.workspace = true
|