-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
60 lines (50 loc) · 1.34 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
[package]
name = "music-tools"
version = "0.2.0"
authors = ["James Scoon <[email protected]>"]
edition = "2021"
description = "A set of tools related to music theory."
readme = "README.md"
repository = "https://github.com/Jamesscn/music-tools"
license = "MIT"
keywords = ["music", "musictheory", "harmony", "audio", "sound"]
[dependencies]
apres = "0.3.4"
rodio = { version = "0.17.3", optional = true}
regex = "1.10.4"
ordered-float = { version = "4.2.0", optional = true}
byteorder = { version = "1.5.0", optional = true}
[features]
audio = ["dep:rodio", "dep:ordered-float", "dep:byteorder"]
[[example]]
name = "midi_in"
path = "examples/midi_in.rs"
required-features = ["audio"]
[[example]]
name = "midi_out"
path = "examples/midi_out.rs"
required-features = []
[[example]]
name = "midi_to_grub"
path = "examples/midi_to_grub.rs"
required-features = []
[[example]]
name = "play_frequencies"
path = "examples/play_frequencies.rs"
required-features = ["audio"]
[[example]]
name = "play_generic"
path = "examples/play_generic.rs"
required-features = ["audio"]
[[example]]
name = "play_melody"
path = "examples/play_melody.rs"
required-features = ["audio"]
[[example]]
name = "play_progression"
path = "examples/play_progression.rs"
required-features = ["audio"]
[[example]]
name = "play_wavetable"
path = "examples/play_wavetable.rs"
required-features = ["audio"]