-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cross-platform replacement for SoundPlayer for playing audio across devices/paltforms #27450
Comments
@jjgriff93 what are the scenarios where it is needed? What kind of apps would benefit from the APIs? |
@karelz I wish to create a "digital assistent" in a windows console app (perhaps later hosted on a raspberry pi). That uses Azure services for text-to-speech for the responses. Currently I can't do this in netcore. |
is this going to be in .net core 3? |
No, it is in Future milestone. Also note that there is fairly small interest from community (4 people so far). |
Would be very helpfull to get something like the SoundPlayer provides for windows but universal for other platforms like linux using alsa. |
cc @joperezr since this has IOT implications. |
in dotnet/iot repo we have this issue which has some overlap: dotnet/iot#287 |
This issue is now almost 6 years old. As I've seen, there is now System.Media.SoundPlayer in dotnet 8 (don't know when it was introduced)... However it's Windows-only (System.Windows.Extensions). That's very sad. Are there still plans, to create a cross-platform equivalent (or to make the namespaces with its classes truly cross-platform) or is the idea already dead? It would be great to have sound support for some projects and the old mono framework had a working implementation based on Alsa(?), even with SystemSounds implementation. |
Is there any replacement for System.Media.SoundPlayer? |
@jjgriff93 commented on Thu Sep 20 2018
Cannot play sound files as part of .net core console apps in windows and running on windows IoT Core on Raspberry Pi due to lack of audio support. Third party libraries don't offer any simple solution for playing wav or mp3 streams like the .NET Framework SoundPlayer does.
The text was updated successfully, but these errors were encountered: