RAW DAX Audio Data on Linux

  • 1
  • Praise
  • Updated 7 months ago
Anyone got a good way to capture DAX Audio on Linux? Let me know how. If not - I needed raw DAX audio for processing on Linux directly from the radio and hacked a small script/tool to do simply do that: https://bitbucket.org/wkf/flex6k-dax-audio-grabber/src/87b8eccacb47cbff3bd85e867e1b4c85b765a66c/src/...

It's not perfect, since my hobby time is pretty limited. The tool requests a DAX audio stream (rx!) and then throws the float 32 bit - Big Endian payload from VITA IF_Data out to stdout.

You  can download the pre-build binary files for Linux or Windows directly from the repo: https://bitbucket.org/wkf/flex6k-dax-audio-grabber/src/87b8eccacb47cbff3bd85e867e1b4c85b765a66c/bin/....

The binary in the "/bin" folder is Linux/64bit, all other architectures in sub folders.

Usage examples:

.....to record raw data:
./flex6k-dax-audio-grabber --RADIO=192.168.92.8 --ME=192.168.178.71:7789 --CH=1 > myrecorod.dat

.....directly play to the soundcard:
aplay -c 1 -t raw -f FLOAT_BE -r 48000 myrecorod.dat 

Or the direct way:
./flex6k-dax-audio-grabber --RADIO=192.168.92.8 --ME=192.168.178.71:7789 --CH=1 | aplay -c 1 -t raw -f FLOAT_BE -r 48000 myrecorod.dat -

./flex6k-dax-audio-grabber --RADIO=192.168.92.8 --ME=192.168.178.71:7789 --CH=1 | ffplay -f f32be -ar 48k -ac 1 -
Photo of Frank, HB9FXQ

Frank, HB9FXQ

  • 56 Posts
  • 25 Reply Likes

Posted 7 months ago

  • 1
Photo of Bill -VA3WTB

Bill -VA3WTB

  • 2097 Posts
  • 497 Reply Likes
I use Ardour recording studio in linux for recording,,and I use it to auto ID my call sign every 10 min.
Photo of Bill -VA3WTB

Bill -VA3WTB

  • 2097 Posts
  • 497 Reply Likes
I use Ardour recording studio in linux for recording,,and I use it to auto ID my call sign every 10 min.
Photo of Frank, HB9FXQ

Frank, HB9FXQ

  • 56 Posts
  • 25 Reply Likes
The idea was more about bringing DAX Audio in raw data form to Linux - how did you do that?
Photo of Bill -VA3WTB

Bill -VA3WTB

  • 2097 Posts
  • 497 Reply Likes
Ok we may be talking about to different things,,I just send audio out from the flex to my Linux box and record... I play back over the air going into the ACC plug in the back and pressing the ACC button.
Photo of Frank, HB9FXQ

Frank, HB9FXQ

  • 56 Posts
  • 25 Reply Likes
:-)

Btw. I observed, that there is a few ms delay when running DAX on multiple computers. Not sure if it's due the network connection or due to the fact, that DAX streaming is unicast traffic and the radio can only deliver at a given rate. I mean it's good, that it is unicast but need to experiment a bit and see if that short delay is somehow deterministic.
Photo of Frank, HB9FXQ

Frank, HB9FXQ

  • 56 Posts
  • 25 Reply Likes
All further development  can be tracked here: https://github.com/krippendorf/flexlib-go/blob/master/readme.md