DSDPlus

Status
Not open for further replies.

frazpo

Member
Joined
Jan 14, 2007
Messages
1,489
Reaction score
185
Location
SW Mo
dsdplus is creating WAV files but they have no content. This goes for the auto generated file and when I generate one with my own file name. It is creating mp3's. I am losing audio quality with mp3 though. My
real time audio sounds good
but the mp3 recording has a lot of background.

In reference to my earlier post above. So are you guys able to create wav files? I am only able to create mp3.
 

mtindor

FMP24 PRO USER
Database Admin
Joined
Dec 5, 2006
Messages
11,668
Reaction score
2,932
Location
Carroll Co OH / EN90LN
Strange. dsdplus is creating them, they are just empty. Thanks

If you're waiting for filesize to grow in explorer while you're actively recording, refresh the window. If I start recording and I open up explorer (not internet explorer, windows explorer), it shows 0 bytes on the wav, until I refresh.

m
 

br0adband

Member
Joined
Apr 8, 2005
Messages
1,567
Reaction score
7
Location
Springfield MO
The wav/mp3 files will be empty of content unless you're actually decoding something to be recorded. It doesn't just record all the time - say you listen for 60 seconds and hear nothing at all you'd end up with a 0 byte blank wav/mp3 file (and not a 60 second long one). It's basically doing recording when a signal is present so, upon playback all the gaps of silence are automagically removed, actually.

I'm not saying that's what's going on in your situation - if you're getting a decode, if you're hearing actual audio from your speakers/headphones/whatever, and yet that audio isn't being recorded by DSDPlus then yes there's definitely something odd going on.

By default, if you just run dsdplus.exe it'll create and record a wav file (at least for me, that is) called DSDPlus.wav along with the DSDPlus.srt file which is the synced log file so you can see what was going on with what you hear based on the time stamps in the srt log file.

If you want to try and force recording a specific file, the switch is -O filename.wav/mp3 (whichever one you choose). But if there's no decode happening, no audio heard, then you'll end up with an empty wav/mp3 file, definitely.

Seems for some folks just running dsdplus.exe with no switches at all (the basic defaults) it records a wav and for others it records an mp3 according to what people have said. Not sure why it would do that since the switchless default run is what the readme/guide says results in a wav by default, who knows.

And yes to what mtindor just said: Windows Explorer has a habit of not updating file sizes automagically either so do a refresh, maybe that's what's going on. Also, even if it shows a 0 byte file, try loading it into DSDPlus just in case:

dsdplus.exe <filename.wav/mp3

Can't hurt...
 
Last edited:

mtindor

FMP24 PRO USER
Database Admin
Joined
Dec 5, 2006
Messages
11,668
Reaction score
2,932
Location
Carroll Co OH / EN90LN
br0adband's post above is right on target. I hadn't even given it a thought. I forgot about the fact that the only thing it records to output is actual decoded audio. if it sits for 24 hours and doesn't decode a thing, the wav file is empty. [and, btw, that is an awesome feature to allow you to have a nice wav file full of relevant audio and absent any garbage]

Thanks BB for posting that. Didn't cross my mind.

Mike
 

saber2k5

Member
Joined
Jun 28, 2005
Messages
201
Reaction score
44
I was wondering if I could use a BC346XT with the PC/IF data stream output to feed into DSD+, or is a discriminator tap necessary?
 

mtindor

FMP24 PRO USER
Database Admin
Joined
Dec 5, 2006
Messages
11,668
Reaction score
2,932
Location
Carroll Co OH / EN90LN
I was wondering if I could use a BC346XT with the PC/IF data stream output to feed into DSD+, or is a discriminator tap necessary?

PC/IF data will not work. Needs to be an actual audio signal, raw... baseband or whatever the pros want to call it. So discriminator tap or audio from a dongle+SDR# are what you would want.

Mike
 

br0adband

Member
Joined
Apr 8, 2005
Messages
1,567
Reaction score
7
Location
Springfield MO
Just as an add-on to what's been mentioned, I just did a fairly long sequence of recording several sessions in a row, each one being appended to the previous DSDPlus.wav file and when I play it with my primary media player (Media Player Classic Home Cinema) it plays just fine, no issues at all. However, when I try to load it into Sound Forge or Audacity, both apps report it as a null file, basically the right length, but having no samples at all so that could be what frazpo is referring to: not that the files are blank, but that they basically show nothing at all.

Could be something to do with how DSDPlus is appending the wav files, could cause some kind of corruption someplace. I tried to load the same file into foobar2000 and it immediately chokes upon the attempted playback with a warning saying it's corrupt.

MP3 files are far more resilient (dare I say robust since I saw that word used here recently) to playback as appended files than WAV files are. Wouldn't hurt to have reports on this from other users of DSDPlus with appended DSDPlus.wav files (what gets recorded by default unless you instruct it not to save the direct output).
 

SCPD

QRT
Joined
Feb 24, 2001
Messages
0
Reaction score
105
Location
Virginia
Manually:

dsd -fr -O e:\recording.mp3

Note that flag is an 'oh' not a zero.

Okay that's what I thought. My point is that the author stated on the Reddedit page that DSD+ would create (by default) a MP3 recording. Apparently it was a typo and it only records a WAV by default. By default, I mean I can just double click on the application (or run dsd.exe with no switches)
 

deboe

Member
Joined
Dec 19, 2002
Messages
142
Reaction score
3
Location
0x045C
DSDPlus Advanced decoder options

I created a simple program dsdtune that will walk through the advanced decoder options and let you know which combo gives you the best results.
You can download the exe from github https://github.com/dreinhold/dsdtune/releases select the dsdtune.exe.

* Put the exe in the same folder as dsdplus
* Record a 30 to 60 second raw audio file in dsdplus (press r then r to stop)
* Run the dsdtune with -i audiofile.wav and then you can pass the deocder option like -f1 for p25

Sample run from a p25 phase 1 system
Code:
E:\sdr\dsd\dsdplus>dsdtune -i DSDPlus-Raw-Input_2013-12-28@140307.wav -f1
Checking option -dr
Running dsd < DSDPlus-Raw-Input_2013-12-28@140307.wav -o0 -O NUL -f1 -drXXX
best value of 40867 with -dr5
Checking option -dh
Running dsd < DSDPlus-Raw-Input_2013-12-28@140307.wav -o0 -O NUL -f1 -dr5 -dhXXX
best value of 41952 with -dh5
Checking option -ds
Running dsd < DSDPlus-Raw-Input_2013-12-28@140307.wav -o0 -O NUL -f1 -dr5 -dh5 -dsXXX
best value of 41958 with -ds62
Checking option -dd
Running dsd < DSDPlus-Raw-Input_2013-12-28@140307.wav -o0 -O NUL -f1 -dr5 -dh5 -ds62 -ddXXX
best value of 41991 with -dd74
Checking option -dv
Running dsd < DSDPlus-Raw-Input_2013-12-28@140307.wav -o0 -O NUL -f1 -dr5 -dh5 -ds62 -dd74 -dvX
XX
best value of 41991 with -dv20
+------ RESULTS -----+
Switches you want to use :
  -dr5
  -dh5
  -ds62
  -dd74
  -dv20
 

IC301

Member
Joined
Mar 2, 2011
Messages
26
Reaction score
0
... Basically, the DSDPlus' 0Hz - 500Hz audio spectrum needs addressing and a programmable LPF that allows users to set the point at which the high frequency roll-off begins, would be nice. ...

... I prefer natural/analogue sounding audio, whereas others prefer squeaky/tinny audio that sounds like it's coming out of a 1" speaker in a $2 transistor radio :) ... Whatever turns your dial :)

The low freqs. can be useful since many tones and background sounds fall within that range; identification of background noise (for some of us) is a part of the fun of Scanning.


... I'd love to do more experimentation with the P25 and even the X2-TDMA decoding ability of DSDPlus since they ARE used here in my area, but the actual transmissions are so few and far between it's not even funny - the readme/guide says to do a raw recording of 60 seconds of P25 to tune it - I don't think a single transmission I've heard here (when I can FIND them, that is) lasts more than 2-5 seconds at most. The traffic from Nellis AFB is incredibly swift, the people key up the mic and wham, they're done - I feel like I'm a human spread spectrum receiver hopping around with SDR# trying to snatch a snippet here and there. Yes I could set everything up with Unitrunker + both RTL sticks and probably get more to work with but I'm focused on DMR/MOTOTRBO systems for the most almost exclusively. ...

A decent challenge, people (on the talking end) who know how to use a Radio ! :eek:

Round here they used to take call-ins if you missed part of the transmission (joking; they
often did not know if they were clear or not, so most time the call would be unnecessary). :p


Some Channels you can not "scan", you just have to leave them open (like the people who are the intended listeners do), then you catch the quick chatter. Place a low cost Scanner (still able to receive the tranmission) on that Channel to monitor it and let the expensive ones spin.

Perhaps a choice for the Audio (to suit the listener's purpose) would be in order. The highest powered Computers could have an even wider range (and better audio as a result) whereas the old Computer users should be glad to get intelligible squeaks (I would be, look where we were a long time ago (pre-DSD)).
 

frazpo

Member
Joined
Jan 14, 2007
Messages
1,489
Reaction score
185
Location
SW Mo
Just as an add-on to what's been mentioned, I just did a fairly long sequence of recording several sessions in a row, each one being appended to the previous DSDPlus.wav file and when I play it with my primary media player (Media Player Classic Home Cinema) it plays just fine, no issues at all. However, when I try to load it into Sound Forge or Audacity, both apps report it as a null file, basically the right length, but having no samples at all so that could be what frazpo is referring to: not that the files are blank, but that they basically show nothing at all.

Could be something to do with how DSDPlus is appending the wav files, could cause some kind of corruption someplace. I tried to load the same file into foobar2000 and it immediately chokes upon the attempted playback with a warning saying it's corrupt.

MP3 files are far more resilient (dare I say robust since I saw that word used here recently) to playback as appended files than WAV files are. Wouldn't hurt to have reports on this from other users of DSDPlus with appended DSDPlus.wav files (what gets recorded by default unless you instruct it not to save the direct output).

Thanks for the experimenting. The appending issue actually came to me last night while trying to go to sleep (sad I know). I am going to run my files through some other programs and see what happens. I know when I record raw data to a wav it works great. I have audacity loaded, don't know why I didn't try that.
 

mtindor

FMP24 PRO USER
Database Admin
Joined
Dec 5, 2006
Messages
11,668
Reaction score
2,932
Location
Carroll Co OH / EN90LN
For those of you experiencing problems with output .wav files seemingly not playing back, I've got a question.

How are you closing out DSDPlus? Are you using CTRL-C always? Are you clicking on the big X always? Are you hitting ESC always?

Any chance one of you could post a sample of one of the .wav's corrupted ?

Mike
 

frazpo

Member
Joined
Jan 14, 2007
Messages
1,489
Reaction score
185
Location
SW Mo
For those of you experiencing problems with output .wav files seemingly not playing back, I've got a question.

How are you closing out DSDPlus? Are you using CTRL-C always? Are you clicking on the big X always? Are you hitting ESC always?

Any chance one of you could post a sample of one of the .wav's corrupted ?

Mike

I normally use control-c

Here is corrupt wav,,

https://www.dropbox.com/s/i8g5sfa94p35rnv/jpd27.wav
 

mtindor

FMP24 PRO USER
Database Admin
Joined
Dec 5, 2006
Messages
11,668
Reaction score
2,932
Location
Carroll Co OH / EN90LN
I created a simple program dsdtune that will walk through the advanced decoder options and let you know which combo gives you the best results.
You can download the exe from github https://github.com/dreinhold/dsdtune/releases select the dsdtune.exe.

* Put the exe in the same folder as dsdplus
* Record a 30 to 60 second raw audio file in dsdplus (press r then r to stop)
* Run the dsdtune with -i audiofile.wav and then you can pass the deocder option like -f1 for p25

Sample run from a p25 phase 1 system
Code:
E:\sdr\dsd\dsdplus>dsdtune -i DSDPlus-Raw-Input_2013-12-28@140307.wav -f1
Checking option -dr
Running dsd < DSDPlus-Raw-Input_2013-12-28@140307.wav -o0 -O NUL -f1 -drXXX
best value of 40867 with -dr5
Checking option -dh
Running dsd < DSDPlus-Raw-Input_2013-12-28@140307.wav -o0 -O NUL -f1 -dr5 -dhXXX
best value of 41952 with -dh5
Checking option -ds
Running dsd < DSDPlus-Raw-Input_2013-12-28@140307.wav -o0 -O NUL -f1 -dr5 -dh5 -dsXXX
best value of 41958 with -ds62
Checking option -dd
Running dsd < DSDPlus-Raw-Input_2013-12-28@140307.wav -o0 -O NUL -f1 -dr5 -dh5 -ds62 -ddXXX
best value of 41991 with -dd74
Checking option -dv
Running dsd < DSDPlus-Raw-Input_2013-12-28@140307.wav -o0 -O NUL -f1 -dr5 -dh5 -ds62 -dd74 -dvX
XX
best value of 41991 with -dv20
+------ RESULTS -----+
Switches you want to use :
  -dr5
  -dh5
  -ds62
  -dd74
  -dv20

Works well. Thanks for that. Some people might want to know that this utility assumes that the dsdplus.exe file is just called 'dsd', and thus anybody using it will want to add the -x switch if their binary is called something other than dsd.exe.

If your dsd+ executable is called dsdplus.exe (and it most likely is / should be since the application is called DSDPlus and is not based upon DSD code), then add this switch:

Code:
-x dsdplus.exe

If you use dsdtune and if your DSD+ application is not named dsd.exe [why would it be?] and you are not using the '-x dsdplus.exe' switch, then you'll get an error like this:

C:\DSDPlus>dsdtune -i DSDPlus-Raw-Input_2013-12-16@232629.wav
Checking option -dr
Running dsd < DSDPlus-Raw-Input_2013-12-16@232629.wav -o0 -O NUL -drXXX
Could not get decode string

Mike
 

mtindor

FMP24 PRO USER
Database Admin
Joined
Dec 5, 2006
Messages
11,668
Reaction score
2,932
Location
Carroll Co OH / EN90LN
I normally use control-c

Here is corrupt wav,,

https://www.dropbox.com/s/i8g5sfa94p35rnv/jpd27.wav

Thanks for that. Incidentally, I always make sure and exit using ESC, which specifically then gives a final note similar to this:

Code:
1.0 seconds (16,000 bytes) of synthesized audio appended to 'DSDPlus.wav'

So I'm guessing ESC shuts down more gracefully and properly terminates the .wav file, whereas CTRL-C may be more brute force and may not in all cases properly close out the appending of the audio file.

Mike
 

deboe

Member
Joined
Dec 19, 2002
Messages
142
Reaction score
3
Location
0x045C
Mike,
Thanks for pointing out the -x options

If you use dsdtune and if your DSD+ application is not named dsd.exe [why would it be?] and you are not using the '-x dsdplus.exe' switch, then you'll get an error like this:

When I downloaded the dsd.zip, the exe inside was named dsd.exe, that's what I made it the default.

Was there a download where the exe is named dsdplus?

I could add code to look for both if you dont pass -x. I am also going to add the creation of a batch file with the sugested settings. Might be able to add both of these today.

Also the error messages do need some work.
 
Status
Not open for further replies.
Top