SmartSDR v4.1.5 | SmartSDR v4.1.5 Release Notes
SmartSDR v3.10.15 | SmartSDR v3.10.15 Release Notes
The latest 4O3A Genius Product Software:
The latest 4O3A Genius Product Software and Firmware
If you are needing assistance with FlexRadio products, please refer to the product documentation or check the Help Center for known solutions. Need technical support from FlexRadio? It's as simple as creating a HelpDesk ticket.
controlling dax without control panel
I have a standalone application for controlling the Flex 6000 series. I have been unable to figure out how to control the audio output from the radio such that it plays through the PC's audio device without having the DAX control panel running. Obviously there's some fundamentals here I don't understand. Can anyone help?
Answers
-
Remote button top right in Smart SDR will play audio through pc0
-
As mentioned, I'm using a standalone application, not SmartSDR. I want to control playing audio from my standalone app.0
-
Hi Jim,
The radio has a number of different kinds of "audio" that can be sent out.
The first and probably the simplest is the regular receiver audio that Steven mentions can be turned on using the "Remote" button in SSDR. The way this works is you send the TCP command "
remote_audio rx_on 1".
Sending this command over the TCP control channel to the radio will have it start sending OPUS audio packets over UDP. You'll need to decode these opus packets and send them to an audio device.
It is not a trivial task but it could be done.1 -
I changed the category to an API issue to get better visibility by SmartSDR developers.1
-
DAX audio is for digital mode applications. There is also remote audio which is what I think you want. It is a different protocol and is compressed for best LAN/WAN bandwidth usage. It requires the use of the open source Opus codec software to function. If you agree that this is what you are trying to do, we should be able to point you in the direction of documentation that will help you get started.1
-
Steve, yes, that's what I want to do.
0 -
I guess what I need to do is to convert an opus stream to a wav format stream. Then I could just send it to the SoundPlayer facility. Has anyone successfully built code to decode an opus stream in Visual Studio? If so, how'd you do it? I've tried various things, none of which have worked.0
-
Jim - DAX does not use the Opus codec; only Remote audio uses Opus. DAX is sent in an uncompressed format so that it is lossless.0
-
Ok, I understood that. I think we need to put this to rest. What I want to do is to provide remote audio capability with my standalone app, so I was incorrect to associate that with DAX in the first place. I am interested in remote audio.0
-
Decoding Opus data isa PITA. You'll need libopus, but you probably know that. I haven't done it my myself... Though I briefly looked at the Opus API and decided that I didn't want to write a program to retrieve the remote audio,all that badly, There's a "si,ple" example at http://git.xiph.org/?p=opus.git;a=blob;f=doc/trivial_example.c Hope that helps some... Peter K1PGV0
-
I recommend sending an e-mail to devhelp@flexradio.com to ask how to get started.0
-
Ok. I'm getting back to this. I decided to use the opusfile functions documented at https://opus-codec.org/docs/opusfile_api-0.7/index.html. I downloaded opusfile-v0.9-win32 package and included them in my project. However, when I reference a function in libopusfile, I get the error 0x8007000B, SystemBadImageFormatException. It doesn't matter whether I build for x86 or any cpu.
I'm clueless at this point. Has anyone been able to use opus, especially opusfile?
0 -
Usually the BadImageFormat exception does indeed relate to the Platform Target setting (x86, x64, Any CPU, etc). We use x86 in FlexLib and SmartSDR due to compatibility issues with various libraries. Note that all of your libraries need to match format.0
Leave a Comment
Categories
- All Categories
- 391 Community Topics
- 2.2K New Ideas
- 664 The Flea Market
- 8.4K Software
- 157 SmartSDR+
- 6.5K SmartSDR for Windows
- 186 SmartSDR for Maestro and M models
- 441 SmartSDR for Mac
- 275 SmartSDR for iOS
- 265 SmartSDR CAT
- 206 DAX
- 386 SmartSDR API
- 9.5K Radios and Accessories
- 61 Aurora
- 299 FLEX-8000 Signature Series
- 7.2K FLEX-6000 Signature Series
- 974 Maestro
- 58 FlexControl
- 867 FLEX Series (Legacy) Radios
- 948 Genius Products
- 473 Power Genius XL Amplifier
- 348 Tuner Genius XL
- 127 Antenna Genius
- 308 Shack Infrastructure
- 216 Networking
- 471 Remote Operation (SmartLink)
- 143 Contesting
- 816 Peripherals & Station Integration
- 144 Amateur Radio Interests
- 1.1K Third-Party Software



