From 06343f84ba102868bdd73e6c5a1f7c97d10590ac Mon Sep 17 00:00:00 2001 From: TerraMaster85 Date: Sun, 22 Dec 2024 00:58:35 -0500 Subject: [PATCH] it started working?? --- src/audio_transmitter/mod.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/audio_transmitter/mod.rs b/src/audio_transmitter/mod.rs index 5b5aa9a..ebc7bd7 100644 --- a/src/audio_transmitter/mod.rs +++ b/src/audio_transmitter/mod.rs @@ -51,10 +51,10 @@ pub fn audio_transmitter_main( // TODO: from cli let mut carrier = TwoStateCarrier::new( - 320, // freq_low - 340, // freq_high + 2400, // freq_low + 2800, // freq_high cpal_output_config.sample_rate().0, // sample_rate - 20, // symbol_rate + 1200, // symbol_rate ); let mut leftovers: VecDeque = vec![].into(); @@ -196,7 +196,7 @@ fn give_output_pcm( while let Ok(byte) = rx_for_mod.try_recv() { let samps = carrier.byte_into_fsk_samples(&byte); - trace!("new ether samps {:?}", samps); + //trace!("new ether samps {:?}", samps); let mut samps_iter = samps.iter().cloned(); while let Some(samp) = samps_iter.next() { if let Some(sample_to_write) = output.next() {