24 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for BibhutiAlmighty

how can i stop looping sound in c# (visual studio) if (ConditionTrue) { SoundPlayer simpleSound = new SoundPlayer(@"C:\Users\BIB HUTI\Desktop\beep.wav"); simpleSound.Play(); } // it keeps playing and never stops.

Member Avatar for BibhutiAlmighty
0
191
Member Avatar for satnav_8

Here is what I'm trying to do: * Take input with scanf() * Pass input to function * Beep frequency associated with input I have notes defined, e.g `const in C5 = 523.25;` I want the user to be able to input "C5", and have the computer beep at a …

Member Avatar for Ancient Dragon
0
386
Member Avatar for joshl_1995

Hello Community, I was trying to play music throught my iPod dock with my new iPod (5th gen). The sound only comes throught the iPod and not the stereo.

Member Avatar for joshl_1995
0
339
Member Avatar for kedxu

I'm probably doing this wrong, because there has to be a way to do this. Here is my current code: import javax.sound.sampled.*; public class soundHandler{ soundHandler() { } public void newSound(String sound) { new soundThread(sound).start(); } } class soundThread extends Thread { String soundName; Clip clip = null; soundThread(String i_soundName) …

Member Avatar for ~s.o.s~
0
367
Member Avatar for kedxu

**Background**: I have some experience in programming, but it's not a lot and not very good. I'm taking my first Java class this year, but because the pace is so slow I decided to just learn with the aid of the internet. This is how I have learned most of …

Member Avatar for kedxu
0
375
Member Avatar for borchu

Hello everyone, I have question about how AudioTrack instance should be used for streaming applications. Below my code example and some brief explation about code ... /* some work before */ InputStream in = client.getInputStream(); AudioTrack output_stream = new AudioTrack(AudioManager.STREAM_MUSIC, 8000, AudioFormat.CHANNEL_CONFIGURATION_MONO, AudioFormat.ENCODING_PCM_8BIT, 8192, AudioTrack.MODE_STREAM); byte[] buffer = new byte[8192]; …

Member Avatar for borchu
0
520
Member Avatar for borchu

Hello again, I have been posting consecutively in these days nearly same topics, actually I am intern at a sofware company and our company ask to perform the proof of conception about sending voice call -at the beginning- and finally video calls, like walkie talkie application; as you have already …

Member Avatar for borchu
0
245
Member Avatar for Djmann1013

Hi, I am trying to make a sound play on a keypress in php. I want it to sound when the user presses the enter button. But I have been having no luck with JavaScript, among others. I would be glad if you helped. Thanks.

Member Avatar for Djmann1013
0
223
Member Avatar for jarograv

I am working on a java application that will display an image and play a sound. It finds the current month and displays the appropriate information. Below is the code that I have been testing (that's why santa is in april) it will not work when trying to play wav …

0
202
Member Avatar for adi77tjr

Hey, I have a Dell Inspiron 1525. I format my computer and install windows xp (before was installed windows 7). On windows 7 my sound card works with the driver provided by dell.com. Now, when i try to install the driver for my sound card (driver for windows xp from …

Member Avatar for adi77tjr
0
302
Member Avatar for emmas4impact

I am working on a moving object. so I created a menu bar for size and speed, the idea behind it is that each time small, big or medium is clicked it should change the size and same also applies to the speed but when implement the action listener its …

Member Avatar for emmas4impact
0
191
Member Avatar for dupaswim

OK so I am not getting any sound on my computer right now - it is a Dell Latitude D630 and running XP service pack 3 (I believe). Point is, right now my computer does not recognize that I have any sound devices whatsoever. I had been messing with asio4all …

0
183
Member Avatar for chemwiz1

I recently installed the updated Dell Support Center (DSC) onto my Inspiron 1520 with Win XP(SP3) and ran the included PC Checkup (PCC) powered by PC-Doctor. Everything went smoothly; however, a little later, I started to notice a random .wav sound (a click followed by a "bubbling" sound like someone …

Member Avatar for chemwiz1
0
323
Member Avatar for thecoolman5

hi, i have written this code. [CODE]#include<iostream> #include<windows.h> #include<mmsystem.h> #include<stdlib.h> using namespace std; int main (char argc) { PlaySound("TardisTest1.wav", NULL, SND_FILENAME | SND_ASYNC); system("pause"); return 0; } [/CODE] and for some reason, when the program runs, all it does is system("pause); and it doesnt play the sound. I have my …

Member Avatar for m4ster_r0shi
0
3K
Member Avatar for chemwiz1

I've seen earlier posts for this problem, but the solutions don't apply to me, and the earlier posts are a couple of years old. I was hit on 6/5/11 with malware from a legitimate website that I had accessed just the day before with no problems. Malwarebytes (MBAM) identified the …

Member Avatar for steven woodman
0
405
Member Avatar for xxxferraxxx

Hi, Sorry for many questions... I need help for button sound that when i click the button sounds. Thanks

Member Avatar for VBrulez
0
143
Member Avatar for ktsangop

Hi everyone. I have an MFC project in Visual C++ 6 and was wondering in which way can i detect the level of audio output. I want to execute some code only when no sound is sent to the audio output. Could anyone please give me a clue of how …

Member Avatar for ktsangop
0
160
Member Avatar for spage23

HELP ME! I'm a college student and use my computer ALL of the time. All of a sudden this thing called Relevant Knowledge started popping up on my computer. I wanted to get rid of it, so I stupidly clicked the button that said stop receiving these messages or something …

Member Avatar for confusertech
0
593
Member Avatar for flowerzink

Hello, I have a problem, and I'd be grateful if someone could help me solve it. It's divided in two parts: 1. Record a sound using only code (Doesn't have to be in c++) 2. Being able to use the sound of a hanclap and use it to trigger an …

0
91
Member Avatar for theweirdone

I know this is a easy problem to fix normally, but I've had no success yet. I have a Sony Vaio FW with Windows Vista, and a Maxent TV. I've connected the laptop to the tv with an HDMI cable. The image is displayed on the tv with no problem …

Member Avatar for techsheaven
0
227
Member Avatar for W1ND0W5

Me and a friend are making an app which we need to play a sound when Form1 is started. How do we do this? I don't mind code.

Member Avatar for W1ND0W5
0
248
Member Avatar for nsutton

How can you play a sound file that resides in the solutions resources file? Heres what I have..... [CODE] private void whiteKey1_Click(object sender, EventArgs e) { //If clicked System.Media.SoundPlayer player = new System.Media.SoundPlayer("WindowsPiano.Windows_XP_Ding.wav"); player.Play(); } [/CODE] I'm making a virtual piano and when the key is pressed it plays a …

Member Avatar for bbman
0
165
Member Avatar for malog

Hello. I have Sound problems with Win XP-SP2. One of the symptoms is that at the device manager I see TWO "PnP Software Device Enumarator". At properties window none of them allouds me to disable or unistall it. Is there any way to disable or unistall one or both of …

Member Avatar for gerbil
0
181
Member Avatar for Bhram

Hi, I have pinnacle tv tuner card installed in my machine. I have a dual boot machine (win xp & Ubuntu 8.04). Earlier it was working well in both (with tvtime in ubuntu). Recently I have been facing a problem in both OS - in Windows, the sound control is …

Member Avatar for Bhram
0
139

The End.