Skip to content

Commit f6a0a05

Browse files
committed
Initial commit
0 parents  commit f6a0a05

File tree

6 files changed

+550
-0
lines changed

6 files changed

+550
-0
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/target
2+
3+
*.wav

Cargo.lock

+297
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
[package]
2+
name = "chirp-generator"
3+
version = "0.1.0"
4+
edition = "2021"
5+
description = "Interface to generate linear/exponential frequency sine sweeps (chirps)"
6+
repository = "https://github.com/jahndan/chirp-generator"
7+
readme = "README.md"
8+
license = "MIT OR Apache-2.0"
9+
10+
[dependencies]
11+
clap = { version = "4.5.15", features = ["color", "derive"] }
12+
wavers = "1.4.3"

README.md

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# chirp-generator
2+
3+
Command line interface (about as straightforward as it gets--see below
4+
or run the binary with `-h` to print help)
5+
6+
```
7+
Interface to generate linear/exponential frequency sine sweeps (chirps)
8+
9+
Usage: chirp-generator [OPTIONS] <--seconds <SECONDS>|--samples <SAMPLES>>
10+
11+
Options:
12+
-s, --seconds <SECONDS> Length (in seconds) of the sweep -- conflicts with samples
13+
-n, --samples <SAMPLES> Length (in samples) of the sweep -- conflicts with seconds
14+
-b, --begin <BEGIN> Starting frequency of the sweep [default: 0]
15+
-e, --end <END> Ending frequency of the sweep [default: 22050]
16+
-r, --samplerate <SAMPLERATE> Samplerate of the output file [default: 44100]
17+
-x, --exponential Exponential sweep (defaults to linear otherwise)
18+
-o, --output <OUTPUT> Output file path
19+
-h, --help Print help
20+
-V, --version Print version
21+
```

0 commit comments

Comments
 (0)