How to insert audio at Microsoft Visual Studio using C# | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to insert audio at Microsoft Visual Studio using C#

i have a assignment about Korea dictionary using C# at Microsoft Visual Studio 2010, so the project like google translate, how can i input the audio like google translate? example : Coding, the audio will say Coding. How can i do it with Korea language? sorry my english not to good..

7th Jun 2017, 3:46 PM
Erika Kristina
1 Answer
+ 3
you need to have the audio files and to import them to the assets folder in your project. You can access and play the files using System.Media.SoundPlayer class https://msdn.microsoft.com/en-us/library/system.media.soundplayer(v=vs.110).aspx
5th Sep 2017, 9:06 AM
Stoyan Todorov
Stoyan Todorov - avatar