DSD 1.4 and mbelib 1.2.3 released

Status
Not open for further replies.
D

DaveNF2G

Guest
Go to your other post, click on the Report button (the exclamation point within a red and white triangle) in the upper right corner, and put your request for deletion in the comment box.
 

jcardani

Member
Premium Subscriber
Joined
Jan 16, 2002
Messages
1,392
Location
Orlando, FL
Code question to invert NXDN48 voice in DSD 1.4.X Linux version

Hi All,

I normally use my ICOM radio discriminator for input to the soundcard but today I decided to try my PSR-800 and found that its discriminator yielded a better error rate with DMR voice and also with the DMRdecode Java program. However the PSR-800's discriminator is inverted vs. the ICOM. I used the -xr switch for DMR.

However there is no invert switch in DSD for NXDN. Where in the code would be the best place to invert the data so I can build my own invert switch. There's many places to do this but where would be the best (symbol, sample, dibit?) Can I do a simple value = ~value somewhere to invert? But it's probably more complicated.

thanks
 

slicerwizard

Member
Joined
Sep 19, 2002
Messages
7,768
Location
Toronto, Ontario
However there is no invert switch in DSD for NXDN.
Because one isn't needed?


Where in the code would be the best place to invert the data so I can build my own invert switch. There's many places to do this but where would be the best (symbol, sample, dibit?)
Right here:
Code:
 result = read (opts->audio_in_fd, &sample, 2);

 sample = -sample; // invert (don't ask...)


Can I do a simple value = ~value somewhere to invert?
Well, bitwise inversion wouldn't be my first choice...
 

jcardani

Member
Premium Subscriber
Joined
Jan 16, 2002
Messages
1,392
Location
Orlando, FL
Hi Andy,

I actually used result = ~result and now the PSR800 is working with DSD for NXDN48! Thanks for the correct location! Audio is much better using the PSR800 discriminator vs. ICOM R-7000 or 8500.

So it was:
result = read (opts->audio_in_fd, &sample, 2);
result = -result; // invert


Joe
 

hatzolahCW

Member
Premium Subscriber
Joined
Sep 28, 2012
Messages
14
Location
NY
nxdn trunking

Is their any software to decode NXDN trunking system with encryption?
 
Status
Not open for further replies.
Top