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 EZ-B v4

ARC Pro

Upgrade to ARC Pro

Subscribe to ARC Pro, and your robot will become a canvas for your imagination, limited only by your creativity.

#9  

Take that logo you used and include it in the zip file calling it title.jpg and you will have a nice graphic to find the plugin by.

PRO
USA
#10  

now i understand why there was a title.jpg in one of the DJ's projects.

If DJ's is reading this, he will say there is a "Tutorial...."

i know it's my fault:)

I do the same thing with books, I look the Index, i browse some chapters, and then i tell everyone i read the book:)

#11  

I'm overwhelmed with grateatude and excitement. Thanks so very much. I've been hoping for this function useing ez robot for years now. If I don't end up working another long day today at the day job I'll give this a test run tonight.

I'll be useing the remote mouse plug in to trigger a button in another program to play current time and date phrases. Ive already been able to do this. I expect with this new plug in the answer will now be played through the ezb on the robot instead of the computer speaker.

Thanks again and I'll keep you posted. :D

PRO
Synthiam
#12  

I'm flying today and will land in a few more hours. I'll take a look at it then.

Also, yeah it's in the Tutorial for the title:) didn't want to disappoint you by not saying it hahah. I recommend using PNG files over JPG. Because png also has transparent background and the compression is lossless so you don't get those big blurry pixels.

#13  

I must be doing something wrong. Cant get audio to stream to my EZB from anything playing on the computer after installing the plugin. Perhaps I don't understand how to script properly to get this to work.

I installed successfully and am using the latest ARC.

Added the plugin into a new project and connected to a V4 EZB. I opened the settings and configured it by clicking on the only audio choice in the drop down (my default audio out driver)

I then wrote two scripts with EZ Script manager by copying your example scripts and making sure they pointed to the proper device number. I added a sleep command to the end of each because without it the scrip wouldn't stay actave while I played the pc's audio. One is the capture audio:

ControlCommand("AudioToolbox  plugin", "StartCapture", 1)
Sleep(10000)  

Second is the EZB Listen:

ControlCommand("AudioToolbox  plugin", "StartEZBListen", 0, 1, 75)
Sleep(10000)

Then I triggered either one or both scripts and played various audio sources like youtube and sound files on my computer. All I heard was the laptop speakers play the audio.

Am I missing something here. I can get the EZ v4 Soundboard to work with the EZB in the same project. Do I need to do something else to get EZB to play the sounds? Do I need to use both of these commands at the same time to get this to work? It kinda seems like I would. Will the computer's speakers continue to also play the sound? That's all I'm hearing now. Nothing out of the EZB.

I've tried this on two Windows 10 computers. One old Dell that was upgraded and a newer HP that was upgraded.

PRO
USA
#14  

@Dave,

When you open the configuration, there are 3 dropdowns #0, #1, #2, did you select the device "Out" for the 2 dropdown #1 ?

PRO
USA
#15  

the following command starts the capture on device #1, the second dropdown:


ControlCommand("AudioToolbox   plugin", "StartCapture", 1) 

#16  

Hi ptp, First I want to say thanks for the hard work on this and being willing to hold my hand here.

Anyway, I'm pertty sure I have the correct drop down's selected and matched in the script. In fact I even tried choosing the same device in each of the three dropdowns. I'll post my simple project for you to see if you wish.