DSD FME

radioopperator

Member
Feed Provider
Joined
Apr 15, 2019
Messages
346
I was told to come here and ask? How I use virtual cable on a windows system to decode a wav file or decode frames?
if I'm saying this correct?
You can PM me if needed.
Thanks.
 

RaleighGuy

Member
Premium Subscriber
Joined
Jul 15, 2014
Messages
16,567
Location
Raleigh, NC
I was told to come here and ask? How I use virtual cable on a windows system to decode a wav file or decode frames?
if I'm saying this correct?
You can PM me if needed.
Thanks.

Are you trying to use DSD FME as the decode program? If you are not using DSD FME as the decode program then this is the wrong thread.

What is your source of the signal? Virtual Cables do not decode a signal it only transfers it fro the source to the decoding software.
 

radioopperator

Member
Feed Provider
Joined
Apr 15, 2019
Messages
346
Ok for you guys that understand this better than I do? Someone it telling me to run an audio file through DSD FME and if configured right it will play?
The file name is: P25_Trunked.wav they say only use this code in the program! and I'm putting it in CYGWIN64 to play but I think my string is misconfigured? And they mention using Virtual audio Cable? Do I need VAC?
dsd-fme -N -Z -f1 2>log.ans What am I doing wrong or misunderstanding.

Thanks
 

ki4hyf

Ridin' Dirty
Premium Subscriber
Joined
Mar 2, 2005
Messages
252
Location
Jackson, TN
Try:
dsd-fme -f1 -i \path\to\P25_Trunked.wav -Z -N 2>log.ans
You don't need VAC to playback files or if you use SDR++. So, if you want to listen to a trunked P25 system, then you will need something like:
RTL:
dsd-fme -f1 -i rtl:0:775.6875M:0 -T -Z -N 2>log.ans
SDR++:
dsd-fme -f1 -U4532 -i tcp -T -Z -N 2>log.ans
You will likely need to change some things to match your system.

Be sure to read the pertinent files in the examples directory.
 

radioopperator

Member
Feed Provider
Joined
Apr 15, 2019
Messages
346
Ok I'm back trying to learn more? Need some help with the portable version.

@rem Digital Speech Decoder: Florida Man Edition
@rem DSD-FME Cygwin Windows Portable Builds
@rem
@rem The source code of this software can be downloaded here:
@rem GitHub - lwvmobile/dsd-fme: Digital Speech Decoder - Florida Man Edition
@rem
@rem If you paid for, or were otherwise fleeced for this software, DEMAND YOUR MONEY BACK!
@rem
@rem This software is designed to be used with an SDR receiver (like SDR++ or SDR#) with TCP input,
@rem RTL Input, media file playback over virtual cables or null-sinks, or a Discriminator Tap input
@rem
@rem The complete options list can be seen by viewing complete_usage_options.txt
@rem Many examples can be found in example_options.txt
@rem
@rem Enjoy!

@rem Regarding the options string (or any string in .bat files)
@rem If your string may contain spaces, set the first '"' before options, and then an ending '"'
@rem Incorrect: set options="-fs -N -Z"
@rem Correct: set "options=-fs -N -Z"

@rem set options to pass to dsd-fme
set "options= -N -Z "

@rem Set Date Time for log (sourced from: https://stackoverflow.com/questions/1192476/format-date-and-time-in-a-windows-batch-script)
@Echo off
REM "%date: =0%" replaces spaces with zeros
set d=%date: =0%
REM "set yyyy=%d:~-4%" pulls the last 4 characters
set yyyy=%d:~-4%
set mm=%d:~4,2%
set dd=%d:~7,2%
set dow=%d:~0,3%
set d=%yyyy%%mm%%dd%

set t=%TIME: =0%
REM "%t::=%" removes semi-colons
REM Instead of above, you could use "%t::=-%" to
REM replace semi-colons with hyphens (or any
REM non-special character)
set t=%t::=%
set t=%t:.=%

set datetimestr=%d%_%t%
@rem @Echo Long date time str = %datetimestr%

@rem random number is used so that two log files don't share the same name
set rnd=%RANDOM%

@rem set log file relative filepath
set "log=.\logs\log_%datetimestr%_%rnd%.txt"

@rem create the log file now with touch
.\dsd-fme\touch.exe %log%

@rem Launch Tail to display the log in a seperate console window
start .\dsd-fme\tail.exe -n 40 -f %log%

@rem start dsd-fme with options and log
.\dsd-fme\dsd-fme.exe %options% 2> %log%

echo ----------------------------------------------------------------------------------
echo ----------------------------------------------------------------------------------
echo For any errors, see: %log%
echo Forward %log% and Options: "%options%"
echo to developer on Github or Radio Reference for troubleshooting.
echo ----------------------------------------------------------------------------------
echo ----------------------------------------------------------------------------------

@rem Set pause to diplay above message
PAUSE

My goal is to modify this to start with my Frequencie and settings?
I can run this with CYGWIN64, would like to do with the portable version if possible?
dsd-fme -ft -i rtl:0:771.49375M:0:5:12:0 -g40 -T -G group.csv -K multi_key_hex.csv -P -N -Z 2> log.txt

Thanks..
 

lwvmobile

DSD-FME
Joined
Apr 26, 2020
Messages
1,372
Location
Lafayette County, FL
Just fine the set "options= -N -Z " line and change it so it reflects the options you are using with DSD-FME.

set "options= -ft -i rtl:0:771.49375M:0:5:12:0 -g40 -T -G group.csv -K multi_key_hex.csv -P -N -Z "

Don't change anything else in that bat file unless you know what you're doing.
 

radioopperator

Member
Feed Provider
Joined
Apr 15, 2019
Messages
346
Just fine the set "options= -N -Z " line and change it so it reflects the options you are using with DSD-FME.

set "options= -ft -i rtl:0:771.49375M:0:5:12:0 -g40 -T -G group.csv -K multi_key_hex.csv -P -N -Z "

Don't change anything else in that bat file unless you know what you're doing.
Thank you
 

Phillipsc84

Member
Premium Subscriber
Joined
Dec 7, 2004
Messages
336
Location
Fort Mill, SC
Does the cygwin version support SDR++ TCP linking now? I know previously it did not and I have not been able to get it to work for me so far. Going to load Ubuntu and test it that way next.
 

lwvmobile

DSD-FME
Joined
Apr 26, 2020
Messages
1,372
Location
Lafayette County, FL
It should work, I think the only caveat before, if memory serves, was that if IP6 addressing is enabled, localhost would resolve the IP6 address, so you needed to manually specify your IP4 address when connecting with DSD-FME and possibly also using it as the address instead of localhost in SDR++ for both the TCP and RIGCTL hostname. It may require you to check your network settings and use the private IP4 address currently assigned from Automatic DHCP, assuming you don't have a static IP address assignment on your LAN.
 

Phillipsc84

Member
Premium Subscriber
Joined
Dec 7, 2004
Messages
336
Location
Fort Mill, SC
It should work, I think the only caveat before, if memory serves, was that if IP6 addressing is enabled, localhost would resolve the IP6 address, so you needed to manually specify your IP4 address when connecting with DSD-FME and possibly also using it as the address instead of localhost in SDR++ for both the TCP and RIGCTL hostname. It may require you to check your network settings and use the private IP4 address currently assigned from Automatic DHCP, assuming you don't have a static IP address assignment on your LAN.
Neither one seems to work. I have it on an Ubuntu machine and cygwin. In SDR++ it shows the RIGCTL as CONNECTED when it is running but the input side seems to get nothing on 7355. I have SDR++ set to the IPv4 address on the machine running SDR++ and that is what I am entering in DSD-FME at startup. The cygwin will run and do nothing but the Ubuntu install will just hang on trying to start up.
 

lwvmobile

DSD-FME
Joined
Apr 26, 2020
Messages
1,372
Location
Lafayette County, FL
Neither one seems to work. I have it on an Ubuntu machine and cygwin. In SDR++ it shows the RIGCTL as CONNECTED when it is running but the input side seems to get nothing on 7355.

Make sure to have your Radio sink set to Network, TCP, and that you have hit the Start button on it so that is in listening mode. If the RIGCTL connects, then the TCP audio input should also connect, both of them use the exact same host address and the same code to connect to the TCP socket.

Should look like this when ready to accept a connection.

Screenshot from 2025-05-28 10-48-38.png
 

Phillipsc84

Member
Premium Subscriber
Joined
Dec 7, 2004
Messages
336
Location
Fort Mill, SC
P25 P1 here are the settings for both showing the SDR++ settings and the FME signal info. I will just get very small bits of audio. As you can see the signal is strong and pretty centered.
1748446612235.png1748446638243.png1748446740977.png
 

lwvmobile

DSD-FME
Joined
Apr 26, 2020
Messages
1,372
Location
Lafayette County, FL
If its a simulcast system, it may not do so well. I see you have QPSK enabled, try it with C4FM instead, and see if that makes any difference. In SDR++, try to increase the BW to 12000 and turn on the Low Pass Filter, and turn the gain up a bit more. I know you say that's a strong signal, but without seeing the level values, that doesn't look like strong signal. It may be okay ish signal, but I wouldn't consider that strong in my opinion.

This is what I would consider to be a strong signal, without blowing the front end of the SDR out.

Screenshot from 2025-05-28 12-49-18.png
 

Phillipsc84

Member
Premium Subscriber
Joined
Dec 7, 2004
Messages
336
Location
Fort Mill, SC
If its a simulcast system, it may not do so well. I see you have QPSK enabled, try it with C4FM instead, and see if that makes any difference. In SDR++, try to increase the BW to 12000 and turn on the Low Pass Filter, and turn the gain up a bit more. I know you say that's a strong signal, but without seeing the level values, that doesn't look like strong signal. It may be okay ish signal, but I wouldn't consider that strong in my opinion.

This is what I would consider to be a strong signal, without blowing the front end of the SDR out.

View attachment 184365
It is a simulcast. I adjusted accordingly and it got somewhat better and some calls were 100%. will try on a non simulcast as well but it looks like those settings get me workingbetter.
 

radioopperator

Member
Feed Provider
Joined
Apr 15, 2019
Messages
346
Question about RMS what range is best? ive seen from Zero - about 7K
what should we be trying to have every time?

Thanks.
 
Top