This pull request adds an additional signal relativeFrequencySelected(). It is similar to frequencySelected() however it returns the frequency relative to the center frequency. This change is implemented in the periodogram and spectrogram blocks.
My intention for this signal is to trigger downstream mixers or frequency-translating filters to operate on one portion of spectrum without re-tuning the entire frontend. This is useful if you are statically processing several channels but would like one "hopping" channel that can be triggered by clicking the spectrum. Or, if your SDR has a bad DC offset and you would like to dynamically select another channel without tuning back to DC.
An example downstream mixer implementation is below.
This pull request adds an additional signal
relativeFrequencySelected()
. It is similar tofrequencySelected()
however it returns the frequency relative to the center frequency. This change is implemented in the periodogram and spectrogram blocks.My intention for this signal is to trigger downstream mixers or frequency-translating filters to operate on one portion of spectrum without re-tuning the entire frontend. This is useful if you are statically processing several channels but would like one "hopping" channel that can be triggered by clicking the spectrum. Or, if your SDR has a bad DC offset and you would like to dynamically select another channel without tuning back to DC.
An example downstream mixer implementation is below.
What do you think?