sound

In UIKit, how to detect when a UISlider has stopped moving but has not been released

I have a sound effect that I want to only play when the slider is moving. Currently I have the playSound method fire when the UISlider is sending Value Changed events. I need a way to detect when the slider is not being moved, yet hasn't been released. I think I can use the Control Events of it's super class to work out the timing but...

how to create sound from label text in iphone?

i want to play sound according to text of the label.is this possible to generate sound from text.? ...

Python library for playing fixed-frequency sound

Hi, I have a mosquito problem in my house. This wouldn't usually concern a programmers' community; However, I've seen some devices that claim to deter these nasty creatures by playing a 17Khz tone. I would like to do this using my laptop. One method would be creating an MP3 with a a single, fixed-frequency tone (This can easily done by...

Gapless playback of sequential sounds in Flash

I'm making a flash, which is basically a very simple tracker. My question is about sequential playback and more specifically timing problems. The SoundChannel-object conveniently provides a SoundCompleted-event, but relying on that results in tiny gaps between sounds, which (sadly) makes it useless. All I've managed to dig up so far, a...

Clap sound detection in C#

I would like to be able to detect a clapping sound. Being pretty new to any form of sound recognition, is there simple any way to do this? If not, any good resources for C# sound recognition/detection? My goal is to automate a clients media center with some basic clap-based controls. ...

How do you disable the key click sound in windows ce?

Out-of-the-box WinCE (5.0 and 6.0) images with the shell seem to have a key click sound that plays on each keystroke. How can I turn this sound off, while leaving the audio system otherwise alone? (I still need to hear the audio from my application.) It doesn't appear to be a system sound (like window minimize or maximize) that I can se...

Send sound or stream sound over lan

I was wondering if there was a way to stream sound over a LAN. Can I have a client app connect to a server app and then receive a stream of sound from it. I'm sure it can be done, just not sure where to even start. Any suggestions? I was looking to do this with c#. I am not asking anyone to write it for me, just some on ideas or tricks ...

Is there a way to play mp3s in Qt 4.5?

Is there a way to play mp3s in Qt 4.5? Thanks! ...

Best way to integrate sound into website

Hello, I am looking to integrate sound into a website. Basically a chat website where users will hear a sound when a new message arrives. What do you think is the best way to integrate sound? Javascript to play the sound Javascript to call a flash swf which plays the sound Any other method I cant think of? Thank you for your time. ...

How to play a sound when <div> is updated

Hi, I'm writing a simple chat module that will be embedded in a website. It will allow website visitors to chat with the website owner. The website is ruby/rails and I'm using AJAX. One thing I can't figure out how to do is how to play a 'bling' sound when a new message arrives (don't worry, this sound is switchable, and the default ...

Embed YouTube with sound off

How must the code below be changed to embed this YouTube with sound off? <embed src="http://www.youtube.com/v/etnh6_omu0w&amp;hl&amp;rel=1&amp;autoplay=1&amp;sound=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="200"></embed> ...

Audio in Java Applet not playing.

Hi, I am trying to play audio in a Java applet but it is not working. What could be the problem? EDIT: Besides the limited number of files that Java can play, the problem was that I didn't realize that the bin folder (in Eclipse workspace) contains the .class file that is run. So my code referring to the getDocumentBase() couldn't find...

AVAudioPlayer only plays in simulator but not device why?! (iPhone-SDK)

I have the following simple code that plays a sound NSString *soundPath = [[NSBundle mainBundle] pathForResource:@"sound" ofType:@"wav"]; player =[[AVAudioPlayer alloc] initWithContentsOfURL:[NSURL fileURLWithPath: soundPath] error:nil]; player.volume = 1; player.numberOfLoops = 0; [player prepareToPlay]; [player play];...

How do I stop a sound in AS3 to play another sound?

I have the code `if(_snd !=null) { _channel.stop(); } _snd = new SoundBeep(); _channel = new SoundChannel(); _channel = _snd.play();` but if the user clicks a few times fast, flash waits a bit, then beeps them fast. I'm not sure what's going wrong. Any ideas? ...

Override ringer volume in iPhone apps

I have built an app that plays lots of sounds the easy way: AudioServicesPlaySystemSound(someSoundID); When I use the device volume buttons to increase or decrease the volume, the volume I actually change is the phone's ringer volume. So if you decrease it and exit the app then your phone will ring quietly... Is there an easy way to ...

Error converting wav to caf for the iPhone using afconvert

Here's the command I'm typing in a Terminal window: afconvert -f caff -d LEI16@44100 -c 1 buzzer.wav buzzer.caf Error: ExtAudioFileOpenURL failed ('dta?') Notice that buzzer.wav is my sound file. What's wrong? How should I do the conversion? ...

how do i store audio files in sqlite3 database and play them in iphone?

i want to store audio files(any of these formats mp3,wav,and iphone supported) in database and play them in iphone...any idea how to do this? ...

Display sound (.wav/.mp3) as graph in Java

I need to display a graph of a sound file - i.e. a wave form as displayed by audio editors such as Audacity. How should I go about this? Is there anything in the Java Sound API that can help me? ...

Specifying start/stop time in millisecs when playing MP3 using JLayer

I need to play a part of an MP3 file in my java code. I wish to do this via a function which accepts the start and stop time in millisecs. JLayer contains a class called AdvancedPlayer which has a method that accepts the start and stop position in frames: /** * Plays a range of MPEG audio frames * @param start The first frame to play...

Sound format for iPhone app

What kind of audio files are you using in your iPhone games/apps? I have a game with 30MB of sounds in .wav format and I'm thinking of maybe converting to .mp3 to reduce the app size... Is there a major difference in performance? Any other issues? ...