Asked — Edited

Streaming Audio From Other Program Through ARC

Hi all,

Has anyone been able to Stream audio triggered from other programs through ARC over wifi to an EZB? I know the PC soundboard will play sound files located on your laptop. But what I want to do is play audio on an EZB that would normally play through my PC's speaker. For example maybe an internet radio show, a youtube video audio track, sound files triggered and used by another program on the laptop other then ARC.

Thanks in advance. :)



Related Hardware (view all EZB hardware)
EZ-B V4 by EZ-Robot
EZ-B v4/2 robot controller: dual Cortex ARM, Wi-Fi, audio/video, 24 servo/digital ports, I2C/UART, camera and Synthiam ARC control for custom robots
Wi-Fi / USB
Servos 24
Camera
Audio
UART 3
I2C
ADC 8
Digital 24

ARC Pro

Upgrade to ARC Pro

Get access to the latest features and updates before they're released. You'll have everything that's needed to unleash your robot's potential!

Author Avatar
PRO
Synthiam
#1  

Hi Dave - that may be a feature request or plugin. The WASAPI can be used as input for something like the microphone control. I'll think on it.

#2  

Thanks DJ. Wish I knew how to write plug in or even what would need to be used to make this work.

Author Avatar
PRO
USA
#3  

I just finished publishing a plugin to relay sound to EZB.

@DJ: it's my first plugin i think i missed some point, the zip contains the DLL but ARC can't load the plugin, do you know if there are logs to help troubleshoot the issue ?

Thanks

Author Avatar
PRO
USA
#4  

I solved the issue, compilation issue (Debug vs Release).

Please let me know if it works for you.

Author Avatar
PRO
Synthiam
#5  

Oooh:) fancy! I'm excited to try it out.

#6  

I just messed with this plugin. Really cool PTP, and useful!

Author Avatar
PRO
USA
#7  

@DJ,

Please try, there is a glitch every time (red light) between the PlayData actions, i tried different methods, but no success, i think i'll need an aditional PlayData method to allow adding data to the current EZB .NET Stack PlayData Buffer.

If you have time i can open & share the code in Github to improve the Plugin.

@David does it work ?

I trusted some old code from an old project (Broadcasting music to multiple wifi ARM/Arduino Clones), then i spent a couple nights porting to an ARC skill plugin, and then i crossed the fingers:)

#8  

It worked well. There was some lag issues where the audio cut out for a few seconds but nothing too annoying. Played youtube audio from a web browser through the EZ-B V4 speaker.