From 0bdf9c325bdb02d5aab6b2a0f98d25e5b7ae85be Mon Sep 17 00:00:00 2001 From: KubaPro010 Date: Tue, 31 Dec 2024 11:58:50 +0100 Subject: [PATCH] The Onosecond is the second when you can say "oh no" --- sca_mod.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sca_mod.c b/sca_mod.c index 502ad28..b17bc72 100644 --- a/sca_mod.c +++ b/sca_mod.c @@ -232,7 +232,7 @@ int main() { #endif osc.frequency = (FREQUENCY+(current_input*DEVIATION)); - signal[i] = get_next_sample(&osc); + signal[i] = get_next_sample(&osc)*VOLUME; } if (pa_simple_write(output_device, signal, sizeof(signal), NULL) < 0) {