DSDPlus

Status
Not open for further replies.

frazpo

Member
Joined
Jan 14, 2007
Messages
1,489
Reaction score
185
Location
SW Mo
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

that was the problem. using ESC works fine. thanks a lot
 

mtindor

FMP24 PRO USER
Database Admin
Joined
Dec 5, 2006
Messages
11,683
Reaction score
2,953
Location
Carroll Co OH / EN90LN
Mike,
Thanks for pointing out the -x options

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?

Hmm, well, I guess there wasn't any public download with dsdplus.exe as the binary. What I see on Mega is "DSD.ZIP" and there is a dsdplus.txt readme and a DSD.exe executable. I'd bet a dollar to donuts that DSD.EXE was not the original name of that EXE and that it was renamed prior to being uploaded -- VirusTotal confirms - VirusTotal

So I guess 99.9% of the population would have downloaded DSDPlus from Mega, and so they do indeed have dsd.exe. Thus dsdtune would work with it just fine by default.

For some reason my DSDPlus binary is called dsdplus.exe :)

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.

The batch file will be a nice addition. dsdtune itself really took the monotony out of doing the advanced tuning -- thanks for making it. I had a fairly convoluted Windows batch file setup that I modified and re-ran after each advanced tuning switch was done. It was faster than default, but still plenty cumbersome and slow compared to dsdtune.

Also the error messages do need some work.

I wouldn't even bother with that, since by default everyone who has downloaded DSD+ has a dsd.exe binary.

Mike
 
Last edited:

br0adband

Member
Joined
Apr 8, 2005
Messages
1,567
Reaction score
7
Location
Springfield MO
First to deboe: congrats on this great addition for DSDPlus, I'm sure it will come in very useful for some folks. I've done some testing with it using a few snippets of P25 traffic I've been able to snag here and there and they do seem to sound a bit better with tuning.

What I've noted, at least for myself however, is that the tuning process has little to no effect on either DMR/MOTOTRBO or NXDN traffic whatsoever. I finally was able to snag some NXDN traffic from the Luxor last night (with it being Saturday night in Vegas I figured all casino security would be on the ball and I was right). I just did the tuning thing with a sample of NXDN traffic and when I play the original wav file vs playing the tuned version I can't hear any difference at all - same thing with some DMR/MOTOTRBO recordings.

But the P25 stuff reacts (in terms of the audio quality) to most any alteration of the tuning parameters at all.

Could just be my ears, I have no idea. ;)

And yes, the Esc method of closing out DSDPlus seems to resolve the issue of corrupt wav files due to the appending process, hadn't considered that before but just tested it with 3 different recordings - Control-C (which was by go-to method) is what's causing it since it's a nasty break to the end of the recording and wav files, when closed properly, add a bit of metadata to the end with the length of the actual data itself; Control-C causes that "footer" info to not get added properly hence the corrupt nature. Some playback tools ignore that and just read the content from the start without issues (like MPC-HC does) while other apps (like Audacity and Sound Forge, for example) are looking for that footer metadata to know what they're dealing with.

All in all, another nice surprise to wake up to this morning, so thanks again, deboe! And yep, my "request" was going to be potentially allowing dsdtune to either a) create a batch file to run for that particular system to auto-tune it when you start up DSDPlus, or b) provide the actual line to copy-paste to a batch file if needed. I mean it's not that difficult to see the tuning parameters and create a batch file myself/ourselves, but hey, if you're gonna go this far... :D

mtindor: Yeah, I renamed mine to dsdplus.exe too but the original distribution archive for DSDPlus contains a dsd.exe - I renamed it to differentiate it from the original DSD like you and probably others too.
 

mmisk

Member
Joined
Jul 4, 2003
Messages
810
Reaction score
200
Location
Ottawa Canada
GARYS:
Thank you for your suggestions re the sound card selection,
DSD+ should have worked because the first DSD version was working 100%, so I decided to try it on another computer that I use for provoice only, and DSD+ works fine! It is an old Celeron running Win2000, only used for local provoice comms.

So it seems that it does not like something on my three core XP computer. Strange but true!
Now I can have some fun with DSD+

Thanks, Mike
 
Last edited:

deboe

Member
Joined
Dec 19, 2002
Messages
142
Reaction score
3
Location
0x045C
Glad some people find it helpful, I wrote in perl first for myself. But figured most people dont have perl instaled on their windows machines, so an exe seemed it would be better for others. So I re wote it last night.

my "request" was going to be potentially allowing dsdtune to either a) create a batch file to run for that particular system to auto-tune it when you start up DSDPlus, or b) provide the actual line to copy-paste to a batch file if needed.

Yes, the batch file is in the works , sould get some time in the next few hours to do it.
Adding a line you can cut and paste to the end of the output is also good.

So for the batch file creation I'm wonder how to deal with other options people would want in the batch.
Say you always run it with
Code:
-O system1.mp3 and -i2
.
I think I would need to add a new option to like -s "<all options you want in batch>"
so you could run
Code:
dsdtune -i test.wav -p1 -s "-O system1.mp3 -i2"
 

slicerwizard

Member
Joined
Sep 19, 2002
Messages
7,799
Reaction score
2,183
Location
Toronto, Ontario
What I've noted, at least for myself however, is that the tuning process has little to no effect on either DMR/MOTOTRBO or NXDN traffic whatsoever.
I hate seeing "wrong" information posted, so here goes...

If you're seeing little effect, I would guess that your DMR/NXDN traffic is already decoding fairly well - which you should be able to see on screen. You can't tune up something that is already working well. Implying that the tuning process won't fix DMR or NXDN - well, not good.


And yes, the Esc method of closing out DSDPlus seems to resolve the issue of corrupt wav files due to the appending process, hadn't considered that before but just tested it with 3 different recordings - Control-C (which was by go-to method) is what's causing it
Seems that several users are making trouble for themselves simply by not reading/following instructions:

Code:
Active keys:
  -           Toggle command line options display
  I           Toggle input audio level display
  R           Start/stop recording of raw input audio to .wav file
  S           Display group/user stats
  Esc         Terminate real time decoding   <---------
  Ctrl-C      Terminate .wav file decoding


since it's a nasty break to the end of the recording and wav files, when closed properly, add a bit of metadata to the end with the length of the actual data itself; Control-C causes that "footer" info to not get added properly hence the corrupt nature.
A minor point, but wav files have no such footer. Audio data has a "data" header block:

https://ccrma.stanford.edu/courses/422/projects/WaveFormat/
 

wx5uif

Member
Premium Subscriber
Joined
Aug 24, 2006
Messages
848
Reaction score
124
Location
Broken Arrow, OK
The dmr settings do work. To test the tuning program above, I took my vxd720 and listened while transmitting in dmr. I then ran the audio file using the tuning program. I used the recommended settings and tried transmitting again. The audio sounded much better.
 

frazpo

Member
Joined
Jan 14, 2007
Messages
1,489
Reaction score
185
Location
SW Mo
Has anyone done much Nxdn with dsdtune? I have trouble grabbing raw voice data from the random bursts. is it vital that its 30 seconds or longer?
 

mtindor

FMP24 PRO USER
Database Admin
Joined
Dec 5, 2006
Messages
11,683
Reaction score
2,953
Location
Carroll Co OH / EN90LN
Has anyone done much Nxdn with dsdtune? I have trouble grabbing raw voice data from the random bursts. is it vital that its 30 seconds or longer?

I could be wrong, but I think the reason there is a 30-60 second recommendation is (a) to have enough raw audio to provide a good sample to tune against and (b) to not have so much audio that each repetition of the advanced tuning would slow down significantly.

Mike
 

deboe

Member
Joined
Dec 19, 2002
Messages
142
Reaction score
3
Location
0x045C
New dsdtune v0.0.3

I just uploaded a new version of dsdtune v0.0.3.
https://github.com/dreinhold/dsdtune/releases/tag/v0.0.3

Added the ability to create a batch file -b <batch_name.bat>.

Example :
Code:
dsdtune -i test.wav -p1 -b run_dsd.bat

To pass other options to dsd in the batch file like audio settings use -o "<dsd settings>"
**make sure you have the double quotes**
Code:
dsdtune -i test.wav -p1 -b run_dsd.bat -o "-i 2 -g 50"
 
D

DaveNF2G

Guest
I have the various decoder utilities in a single directory. Why did the author of dsdplus not name his executable differently from the original dsd.exe? If I want to use both programs, I have to either create a separate directory just for dsdplus, or rename the executable, which then creates the extra work as noted above when using dsdtune.

DSDPlus is not DSD. It is a closed fork and essentially a new application. So, to the author, please rename your executable and correct the code in dsdtune accordingly.
 

mtindor

FMP24 PRO USER
Database Admin
Joined
Dec 5, 2006
Messages
11,683
Reaction score
2,953
Location
Carroll Co OH / EN90LN
I have the various decoder utilities in a single directory. Why did the author of dsdplus not name his executable differently from the original dsd.exe? If I want to use both programs, I have to either create a separate directory just for dsdplus, or rename the executable, which then creates the extra work as noted above when using dsdtune.

DSDPlus is not DSD. It is a closed fork and essentially a new application. So, to the author, please rename your executable and correct the code in dsdtune accordingly.

Dave,

Two things:

a. the author did in fact name the binary "dsdplus.exe"

The author is unknown and the uploader are unknown. the uploader changed the name of the exe to 'dsd.exe' prior to uploading. Nothing can be done about that now. I'm sure it will be so noted in the future.

b. dsdtune is not made by the DSDPlus author.

If you want to use dsdtune on an exe called dsdplus.exe, simply add '-x dsdplus.exe' to tell dsdtune that the the DSDPlus executable's name is dsdplus.exe.

Mike
 

W4UVV

Member
Joined
Nov 9, 2002
Messages
1,634
Reaction score
42
Location
Prince George, Virginia--Central Va.
Is there another DSDPlus download link/site?

I downloaded the RR DSD Plus link at the Reddit site and cannot get the zipped DSD Plus software package to extract files properly on my Win XP OS. I get a "MACOSX cannot open" error message. I also get a "missing lame.enc.DLL" message. Is what I downloaded for a MAC OS? I use Winzip which is very dependable software and have no problem downloading other type of file extensions.

Can someone post a reliable download link for Windows (XP) or post the correct Windows zipped software
package here? Tnx.

John
 

Markb

Member
Premium Subscriber
Joined
Feb 21, 2002
Messages
1,385
Reaction score
223
Location
Planet Earth
You have to download the lame.enc.dll separately. Check the link in the first post of the thread. As for the MACOSX, I don't know. You do have the right download, however. Are you saying that while you are unzipping, you get the MACOSX error?

Sent from my Samsung Galaxy S4 using Tapatalk
 

mtindor

FMP24 PRO USER
Database Admin
Joined
Dec 5, 2006
Messages
11,683
Reaction score
2,953
Location
Carroll Co OH / EN90LN
I downloaded the RR DSD Plus link at the Reddit site and cannot get the zipped DSD Plus software package to extract files properly on my Win XP OS. I get a "MACOSX cannot open" error message. I also get a "missing lame.enc.DLL" message. Is what I downloaded for a MAC OS? I use Winzip which is very dependable software and have no problem downloading other type of file extensions.

Can someone post a reliable download link for Windows (XP) or post the correct Windows zipped software
package here? Tnx.

John

Hi John,

Nobody is going to post a different link to that, I'm pretty sure, because I seriously doubt anyone is going to upload that to another spot. That link is dependable, as is the archive.

That's free software from an unknown author uploaded by an unknown person. Basically, it's there if you can get it -- and if you can't, well, there is no recourse other than to find another method to obtain it and open it.

Simply open it in Winzip and then extract everything but the _MACOSX directory if that is giving you a problem. It unzips fine with my Winzip (v16).

Mike
 

Audiodave1

Member
Database Admin
Joined
Dec 27, 2001
Messages
1,954
Reaction score
236
Location
Chadds Ford, PA
Can someone translate this TRBO output? Is this the basic privacy mode... i.e. encryption on VOICE CHANNEL 4?

+DMR slot2 BS DATA ERR3 CC=2 Idle
+DMR slot1 BS VC4 e:6r6m7r

Just another note on privacy enables conventional channels.

I run DMR Decode in parallel with DSDPlus on my little laptop (Works out well) and for signals that were encrypted on last nights recordings the audio playback (at first listen on the internal speakers) sounded like someone whispering into a mic but was unintelligible when I listened closely on headphones.

Just an FYI that some "audio" is recovered and recorded.
Dave
 

W4UVV

Member
Joined
Nov 9, 2002
Messages
1,634
Reaction score
42
Location
Prince George, Virginia--Central Va.
DSD Plus download/extract problems

You have to download the lame.enc.dll separately. Check the link in the first post of the thread. As for the MACOSX, I don't know. You do have the right download, however. Are you saying that while you are unzipping, you get the MACOSX error?

Sent from my Samsung Galaxy S4 using Tapatalk

I did use the link in the first post of this thread. Yes, while unzipping I first get "cannot open MACOSX" and later a CRC error message regarding "lame.enc.dll". I'll try to find someplace where I can download "lame.enc.dll" It would have been nice if the author had included such in his DSD Plus package. Tnx.

John
 

Markb

Member
Premium Subscriber
Joined
Feb 21, 2002
Messages
1,385
Reaction score
223
Location
Planet Earth
My bad. The link to download the lame encoder is in the 6th post of this thread.......

Sent from my Samsung Galaxy S4 using Tapatalk
 

W4UVV

Member
Joined
Nov 9, 2002
Messages
1,634
Reaction score
42
Location
Prince George, Virginia--Central Va.
No problem I'm used to this sort of thing

My bad. The link to download the lame encoder is in the 6th post of this thread.......
Sent from my Samsung Galaxy S4 using Tapatalk

No problem....I'm used to scavaging the internet for missing files. My problem now is when executing DSD Plus on my WinXP desktop I cannot make any keyboard entries, only press the "ESC" to exit the program.

John
 
Status
Not open for further replies.
Top