Jump to content

C# play sound from specific audio device

AndrewMKlasen

Hello, so I'm looking into creating a "AI" smart home from scratch for a DIY project. so Linus did a video on the Anker speackers where he paired 100 of them together, now I want to have my Ai speak to me also, I can toi that with System.Speech API on windows, I am using a windows machine to power it. I'm wondering if I can have my program find every speaker paired (around 15 maybe) and what ever room I'm speaking from the speaker in that room with give the ouput instead of all 15 speakers in the house. I also would like to know about multiple mics?

 

This program does work because I've had it in my room before I moved out of my parents.

Link to comment
Share on other sites

Link to post
Share on other sites

I think windows dominates that, but I may be wrong.

 

In the audio settings for windows, you state which output device for each application (if you want to change from the default output device.)

Link to comment
Share on other sites

Link to post
Share on other sites

19 hours ago, fpo said:

I think windows dominates that, but I may be wrong.

 

In the audio settings for windows, you state which output device for each application (if you want to change from the default output device.)

But how would I program that? to change default device based on what room Im in

Link to comment
Share on other sites

Link to post
Share on other sites

5 minutes ago, AndrewMKlasen said:

But how would I program that? to change default device based on what room Im in

You might need to write a script with powershell & interact with that script somehow with your main program. 

 

Or... you might have to do some network linking. 

Link to comment
Share on other sites

Link to post
Share on other sites

Internet of Things may be of interest to you as well..

 

I think Microsoft has a lot of resources for that kind of stuff.

Link to comment
Share on other sites

Link to post
Share on other sites

Personal/Gaming RIG
CPU:
 Intel i9-9900k  | Motherboard: Gigabyte Z390 AORUS PRO WIFI  | RAM: 4x8GB 3200MHz G.Skill Trident Z RGB | GPU: Gigabyte RTX 2080 GamingOC | PSU: EVGA 750w B | Case: Phanteks p400a | Cooler: Corsair H115i AIO | SSD: Samsung 970 Pro 512GB + Crucial mx500 1tb | Keyboard: SteelSeries Apex m750 TKL | Mouse: SteelSeries Rival 650 | Monitor: Dell D2719HGF (x2) 

Work - Asus Zenbook 15 (2017)
CPU:
 Intel i7-7700HQ  | RAM: 16GB DDR4 Dual Channel | GPU: Asus GTX 1050ti
 

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×