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() {