I'm trying to figure out if NAudio might be able to help with my challenge. Basically I want to be able to produce text-to-speech output to the non-default audio device on a PC?
I will have a machine running 24/7 that will be used as my media server, and will have the HDMI output running to a receiver for streaming of audio/video. However I also want to write an additional application that will run on that same machine, that will independently make some voice based announcements triggered by various activity or events.
For that purpose I was wondering if I could get a set of USB speakers (with built in DSP - like the Ricco P26) that are connected to that same machine, and so my TTS output could (hopefully) always be routed out through those speakers. This would allow me to make announcements regardless of whether the AV receiver via HDMI is on/off and also not interfere with whatver might be playing if it was on.
Is this possible at all? Looking at the Microsoft Speech API, it offers methods for outputting to the default audio device (not likely to be useful), or a stream/file. What I need however is a way to output to a non-default audio device, and I recall reading somewhere that NAudio may be able to help with that at least.
Any insights/suggestions would be very much appreciated!