24 Solved Topics
Remove Filter
|
|
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. |
|
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 … |
|
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. |
|
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) … |
|
**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 … |
|
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]; … |
|
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 … |
|
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. |
|
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 … |
|
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 … |
|
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 … |
|
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 … |
|
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 … |
|
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 … |
|
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 … |
|
Hi, Sorry for many questions... I need help for button sound that when i click the button sounds. Thanks |
|
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 … |
|
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 … |
|
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 … |
|
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 … |
|
|
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. |
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 … |
|
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 … |
|
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 … |
The End.