Skip to content

Commit

Permalink
best analog yet...
Browse files Browse the repository at this point in the history
  • Loading branch information
robotastic committed Jun 14, 2024
1 parent 1bfc702 commit e629210
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion trunk-recorder/gr_blocks/xlat_channelizer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ xlat_channelizer::xlat_channelizer(double input_rate, int samples_per_symbol, do
channel_lpf = gr::filter::fft_filter_ccf::make(decim, channel_lpf_taps);

// BOOST_LOG_TRIVIAL(info) << "\t Xlating Channelizer single-stage decimator - Decim: " << decimation << " Resampled Rate: " << resampled_rate << " Lowpass Taps: " << if_coeffs.size();
BOOST_LOG_TRIVIAL(info) << "\t Xlating Channelizer single-stage decimator - if_coeffs: " << if_coeffs.size() << " Decim: " << decim << " Resampled Rate: " << resampled_rate << " Lowpass Taps: " << channel_lpf_taps.size();
BOOST_LOG_TRIVIAL(info) << "\t Xlating Channelizer decimator - freq_xlating taps: " << if_coeffs.size() << " Decim: " << decim << " Resampled Rate: " << resampled_rate << " Lowpass Taps: " << channel_lpf_taps.size();
// ARB Resampler
double arb_rate = channel_rate / resampled_rate;

Expand Down
13 changes: 7 additions & 6 deletions trunk-recorder/recorders/analog_recorder.cc
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ analog_recorder::analog_recorder(Source *src, Recorder_Type type, float tone_fre

int samp_per_sym = 2;
double bandwidth = 8000;
system_channel_rate = 16000; // 4800 * samp_per_sym;
system_channel_rate = 96000; // 4800 * samp_per_sym;
wav_sample_rate = 16000; // Must be an integer decimation of system_channel_rate

// The Prefilter provides the initial squelch for the channel
Expand Down Expand Up @@ -188,15 +188,16 @@ analog_recorder::analog_recorder(Source *src, Recorder_Type type, float tone_fre
connect(demod, 0, deemph, 0);
if (use_tone_squelch) {
connect(deemph, 0, tone_squelch, 0);
connect(tone_squelch, 0, squelch_two, 0);
connect(tone_squelch, 0, decim_audio, 0);
} else {
connect(deemph, 0, squelch_two, 0);
connect(deemph, 0, decim_audio, 0);
}

connect(squelch_two, 0, decoder_sink, 0);
connect(squelch_two, 0, high_f, 0);
connect(decim_audio, 0, decoder_sink, 0);
connect(decim_audio, 0, high_f, 0);
connect(high_f, 0, low_f, 0);
connect(low_f, 0, levels, 0);
connect(low_f, 0, squelch_two, 0);
connect(squelch_two, 0, levels, 0);
connect(levels, 0, converter, 0);
connect(converter, 0, wav_sink, 0);

Expand Down

0 comments on commit e629210

Please sign in to comment.