# Problem recording morse with sdr#

I have a problem with recording SWS-morse using SDRSharp and RTL-SDR. I want fixed gain, not audio automatic gain control. The problem is that all signal but the weakest will cause the recorded audio to be saturated with disastrous result.

When recording FM audio there is no problem How do I adjust the recording level manually in SDRSharp?

• Make sure that the AGC in the RTL2832U is turned off (rtl_tcp command 0x08, parameter = 0). It's AGC set-point is much to high for anything except maybe for DTV. Then lower the manual RF gain of the R820T2 (rtl_tcp commands 0x03 & 0x04). – hotpaw2 Mar 24 '19 at 16:09
• Ok thanks for responce. What I don't understand is how to use this rtl_tcp command when I am using rtl-usb. Do I have to switch using rtl_tcp, or what ?? ( jfyi: I am new in this world of SDR ) – enocknitti Mar 25 '19 at 6:49

You're pretty clearly experiencing numerical wraparound: the two numbers produced by the ADC combine to a complex number $$z=I+jQ$$ with $$|z|>1$$, and thus, numerically, you suddenly get a switchover.

Reduce the gain by 3 dB. This should give you enough headroom.

• Yes is numerical wraparound, My problem is that I can't find out how I reduce gain. Btw I am using direct sampling for SW ( not SWS ). I might also add that in most cases the overflow is much worse. I need at least -10 db – enocknitti Mar 23 '19 at 19:19