SmartSDR v3.8.19 and the SmartSDR v3.8.19 Release Notes | SmartSDR v2.12.1 and the SmartSDR v2.12.1 Release Notes
SmartSDR v1.12.1 and the SmartSDR v1.12.1 Release Notes
Power Genius XL Utility v3.8.8 and the Power Genius XL Release Notes v3.8.8
Tuner Genius XL Utility v1.2.11 and the Tuner Genius XL Release Notes v1.2.11
Antenna Genius Utility v4.1.8
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
- 289 Community Topics
- 2.1K New Ideas
- 534 The Flea Market
- 7.5K Software
- 6K SmartSDR for Windows
- 146 SmartSDR for Maestro and M models
- 360 SmartSDR for Mac
- 249 SmartSDR for iOS
- 230 SmartSDR CAT
- 172 DAX
- 352 SmartSDR API
- 8.8K Radios and Accessories
- 7K FLEX-6000 Signature Series
- 26 FLEX-8000 Signature Series
- 850 Maestro
- 44 FlexControl
- 847 FLEX Series (Legacy) Radios
- 796 Genius Products
- 416 Power Genius XL Amplifier
- 277 Tuner Genius XL
- 103 Antenna Genius
- 243 Shack Infrastructure
- 166 Networking
- 404 Remote Operation (SmartLink)
- 130 Contesting
- 631 Peripherals & Station Integration
- 125 Amateur Radio Interests
- 870 Third-Party Software