DSDPlus How to write .amb

Sphex

Newbie
Joined
Jan 10, 2025
Messages
4
Hello everyone. I'm still a beginner, maybe my question will seem stupid to you, but I'm asking for help. I need to write an .amb file during dmr transfer, but no software I have (SDRsharp, dsd fl 2.71, sdrtrunk) can do it. Please help the newcomer to figure it out.

P.S I have windows 10 x64 and RTL-SDR v3

Thanks ❤️
 

Sphex

Newbie
Joined
Jan 10, 2025
Messages
4
Explain more on what you want because I'm lost.
You can use dsdplus fastlane to record raw audio but no idea what you're actually looking for
I need an .amb file recorded during transmission with encrypted voice on frequency. So that I could see all the metadata (xor) that was transmitted. Sorry for my English, I use a translator
 

Reconrider

Inside the Galaxy
Joined
Sep 26, 2017
Messages
1,947
Location
Radio Galaxy
I need an .amb file recorded during transmission with encrypted voice on frequency. So that I could see all the metadata (xor) that was transmitted. Sorry for my English, I use a translator
Ahh. You can use DSDPLUS and dsd-fme.
You MUSTT record the audio as RAW RECORDING and then you can use dsd-fme to see the AMBE frame information.
 

lwvmobile

DSD-FME
Joined
Apr 26, 2020
Messages
1,301
Location
Lafayette County, FL
If it were me, and I just had to write some .amb files for DMR into a folder called mbe in the current directory, and wanted to use an RTL dongle as input I'd do it like this:

dsd-fme -fs -i rtl:0:154.9875:0:0:12 -d mbe/

If you were wanting to fine tune the parameters on the RTL Dongle, like frequency, PPM or gain, this would be the legend for that:

Code:
RTL-SDR options:
 Usage: rtl:dev:freq:gain:ppm:bw:sq:vol
  NOTE: all arguments after rtl are optional now for trunking, but user configuration is recommended
  dev  <num>    RTL-SDR Device Index Number or 8 Digit Serial Number, no strings! (default 0)
  freq <num>    RTL-SDR Frequency (851800000 or 851.8M)
  gain <num>    RTL-SDR Device Gain (0-49)(default = 0; Hardware AGC recommended)
  ppm  <num>    RTL-SDR PPM Error (default = 0)
  bw   <num>    RTL-SDR Bandwidth kHz (default = 12)(4, 6, 8, 12, 16, 24) 
  sq   <num>    RTL-SDR Squelch Level vs RMS Value (Optional)
  vol  <num>    RTL-SDR Sample 'Volume' Multiplier (default = 2)(1,2,3)
 Example: dsd-fme -fs -i rtl -C cap_plus_channel.csv -T
 Example: dsd-fme -fp -i rtl:0:851.375M:22:-2:24:0:2

When in doubt, just look at the myriad of example usage, or check the help with dsd-fme -h

Of course, if all you want to see is the AMBE payload, just run with the -Z option.

If you don't specifically need the .amb file, then I'd just run something like:

dsd-fme -fs -Z -i rtl:0:154.9875:0:0:12/
 

Sphex

Newbie
Joined
Jan 10, 2025
Messages
4
If it were me, and I just had to write some .amb files for DMR into a folder called mbe in the current directory, and wanted to use an RTL dongle as input I'd do it like this:

dsd-fme -fs -i rtl:0:154.9875:0:0:12 -d mbe/

If you were wanting to fine tune the parameters on the RTL Dongle, like frequency, PPM or gain, this would be the legend for that:

Code:
RTL-SDR options:
 Usage: rtl:dev:freq:gain:ppm:bw:sq:vol
  NOTE: all arguments after rtl are optional now for trunking, but user configuration is recommended
  dev  <num>    RTL-SDR Device Index Number or 8 Digit Serial Number, no strings! (default 0)
  freq <num>    RTL-SDR Frequency (851800000 or 851.8M)
  gain <num>    RTL-SDR Device Gain (0-49)(default = 0; Hardware AGC recommended)
  ppm  <num>    RTL-SDR PPM Error (default = 0)
  bw   <num>    RTL-SDR Bandwidth kHz (default = 12)(4, 6, 8, 12, 16, 24)
  sq   <num>    RTL-SDR Squelch Level vs RMS Value (Optional)
  vol  <num>    RTL-SDR Sample 'Volume' Multiplier (default = 2)(1,2,3)
 Example: dsd-fme -fs -i rtl -C cap_plus_channel.csv -T
 Example: dsd-fme -fp -i rtl:0:851.375M:22:-2:24:0:2

When in doubt, just look at the myriad of example usage, or check the help with dsd-fme -h

Of course, if all you want to see is the AMBE payload, just run with the -Z option.

If you don't specifically need the .amb file, then I'd just run something like:

dsd-fme -fs -Z -i rtl:0:154.9875:0:0:12/
Great, thank you very much for the detailed answer. The other day I'll sit down with a cup of coffee and figure everything out, I'll dive in) thank you
 
Top