soundplayer Questions

5

I have some problems with relative paths and reproduction of wav files. I have this simple code which works perfectly: SoundPlayer player = new SoundPlayer(); player.SoundLocation = @"C:\Users\Adm...
Shear asked 17/4, 2013 at 16:58

3

Solved

I'm writing a Console application on C# and I want to play a sound when I display texts continuously. This is what I've done : static SoundPlayer typewriter = new SoundPlayer("typewriter"); static...
Worthy asked 25/2, 2014 at 23:42

1

Solved

I am using the following code to dynamically create a frequency tone in memory and play the tone asynchronously: public static void PlayTone(UInt16 frequency, int msDuration, UInt16 volume = 16383...
Folio asked 10/12, 2014 at 2:30

2

Solved

I'm trying to play a specific sound. However I can't seem to reach the file that I added in my Solution Explorer. (I have this folder called "Sounds/" with several .wav-soundeffects in it) When I ...
Pagel asked 28/2, 2014 at 9:33

8

Solved

I'm writing a basic writing app in C# and I wanted to have the program make typewriter sounds as you typed. I've hooked the KeyPress event on my RichTextBox to a function that uses a SoundPlayer to...
Dorrie asked 5/11, 2010 at 16:27

1

Solved

I play mp3/wav from file to create a push effect. However on an Atom CPU based tablet PC, there is a delay when I touch the button. I'll try to play wav/mp3 from memory instead of file system. Ca...
Administer asked 14/6, 2011 at 8:28
1

© 2022 - 2024 — McMap. All rights reserved.