summaryrefslogtreecommitdiff
path: root/klangfarbrs/src/instrument.rs
diff options
context:
space:
mode:
authorJacob Lee <jacob@unabridgedsoftware.com>2021-12-03 14:24:36 -0500
committerJacob Lee <jacob@unabridgedsoftware.com>2021-12-03 14:24:36 -0500
commitbb833fe84ac4c3b89c8f8cc00f5fc4ac8c5b6d9f (patch)
tree12fda9b601b6aa7a2be6c03e48c074342e852fb3 /klangfarbrs/src/instrument.rs
parenta014949e2c7fa4c8bc02e3a54a74ae3727924076 (diff)
Additive synthesis works! Clean up needed
Diffstat (limited to 'klangfarbrs/src/instrument.rs')
-rw-r--r--klangfarbrs/src/instrument.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/klangfarbrs/src/instrument.rs b/klangfarbrs/src/instrument.rs
index 65da6b6..3a381dc 100644
--- a/klangfarbrs/src/instrument.rs
+++ b/klangfarbrs/src/instrument.rs
@@ -1,8 +1,8 @@
use super::{ Osc, Envelope, Sample };
-struct Instrument {
- osc_bank: Vec<Osc>,
- envelope: Envelope,
+pub struct Instrument {
+ pub osc_bank: Vec<Osc>,
+ pub envelope: Envelope,
}
impl Instrument {