Thanks Marcus, I appreciate your approach and i guess i will need goertzel transform over these frequencies.
On Wed, Nov 2, 2011 at 2:25 AM, Marcus D. Leech <mle...@ripnet.com> wrote: > >> I am working on an application where i receive input at audio_sink and >> check for tone or data. >> Data is FSK modulated at 1k and 3k whereas Tone is of 2k (i.e Tone lies >> in the middle). >> >> I have written a flow graph which consists of two heirarichal flow graphs >> (tone_rx and data_rx). >> Input is received at audio_sink and then forwarded to both sub-graphs. >> >> My code works fine when tone is received but there is a problem when Data >> is received. >> Because Data consists of FSK code and it has 2k components in it which >> also triggers Tone graph. >> >> So i want to ask is there any GnuRadio Block by using which i can avoid >> triggering of tone while receiving Data >> as i need to eliminate 2k component for Data but retain it when input it >> is Tone. OR >> is there any such method by which we identify at the start whether it is >> data or tone. >> i am using laptop sound card (not usrp). >> >> Simple first approximation. Use the short-term-average power calculated > over the data channels (1KHz and 3KHz), to drive a squelch > function on the 2KHz channel. I'll leave the details up to you, but I'd > basically have some logic that said "if energy at 1KHz and energy at 3KHz, > squelch the 2KHz tone channel." > > > > > -- > Marcus Leech > Principal Investigator > Shirleys Bay Radio Astronomy Consortium > http://www.sbrac.org > > > > ______________________________**_________________ > Discuss-gnuradio mailing list > Discuss-gnuradio@gnu.org > https://lists.gnu.org/mailman/**listinfo/discuss-gnuradio<https://lists.gnu.org/mailman/listinfo/discuss-gnuradio> > -- *Niaz Ahmed* “We are always more anxious to be distinguished for a talent which we do not possess, than to be praised for the fifteen which we do possess”* : Mark Twain <http://thinkexist.com/quotes/mark_twain/>* * <http://thinkexist.com/quotes/mark_twain/>*
_______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio