svxlink icon indicating copy to clipboard operation
svxlink copied to clipboard

devcal synthesizes wrong frequency for tx calibration

Open DF2HS opened this issue 4 years ago • 2 comments

I usually use the function "devcal" for TX calibration as described on this page here.

So I type devcal -t -f 1000 -m 2500 -d 2500 /etc/svxlink/svxlink.conf Tx1 With the current svx version I cannot use this function anymore. I do not get a 1000Hz sinus wave form out of my soundcard.

I get this instead:

SDS00018

SDS00021

When I use the speaker-test function everything is fine: speaker-test -t sine -f 1000

SDS00020

Can you please fix this. The last picture prooves that this is not a problem of my soundcard.

Thanks alot!

73 Sandy DF2HS

DF2HS avatar Apr 29 '21 09:04 DF2HS

Can you please fix this, the error still occurs.

73 Sandy DF2HS

DF2HS avatar Sep 14 '22 18:09 DF2HS

Hi Sandy,

I cannot reproduce this problem. Are you sure that you are not overdriving the audio chain?

I would not recommend using the maximum deviation (-d 2500 -m 2500) to do the calibration. The reason is that you are very likely to hit some other limit in SvxLink (e.g. if LIMIT_THRESH is set) or the transmitter (anti-splatter filter). As a rule you should always use a calibration deviation (-d) that is lower than the maximum deviation (-m) to not risking overdriving the audio chain during calibration.

My advice is to not use some random instruction found on the Internet but rather use the manual page (man devcal) on your installed system. If you follow that instruction the calibration should work.

Also make sure that you are not using a patched version of SvxLink that may have introduced changes in the audio path that distort the audio.

sm0svx avatar Sep 15 '22 17:09 sm0svx