sound

Bypass system sound setting objective c

Hi. I have an app that Is supposed to play a AudioServicesPlayAlertSound(); but I've noticed on the iPod touch 1G, the sound will only play if the system sound setting is set to speaker or both. Is there a way to bypass this setting, because I know it works when the setting is not set to headphones. Also, if it is not possible, is there ...

Where can I find a high quality music library for python that plays OGG, ACC and/or MP3 which isn't pygame?

I've tried the sound module in Pygame, and I haven't been satisfied with the results. I need to play music and sounds in my game. What can I use that works with OSX, Linux and Windows, and plays sound well? Unfortunately, pyMedia doesn't compile on OSX. ...

What language/API to use for a standalone live-input audio visualizer app?

I develop with Actionscript and was glad to see that AIR 2.0 was going to give access to mic input data. I planned to use this to create a visualizer set to the tempo of the incoming live audio. After doing a few days of google research it seems unlikely that it will be possible to analyze the data of the mic input in Flash/AIR. If anyon...

Capture Sound from Mic/Headphone and trigger action at perticular frequency

I am using .NET 3.5. I need to Capture Sound from Mic/Headphone and trigger action at particular (not exact) frequency (Need to perform some action when player hits ball with stick while playing golf). So, 1. How to capture sound from Mic/Headphone using .NET 3.5? 2. Trigger action at particular (not exact) frequency? Any ideas? ...

touchesEnded Sound?

I'm trying to play a sound on touchesEnded but I'm having a problem. There are multiple objects that get moved around, so if the below code holds true when any object is moved, it constantly plays the sound. How do I only play it once? -(void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event{ if(CGRectContainsRect([image1 ...

AS3 How do I stop sound and video when clicking a menu button to go to another frame?

Hello, I have a problem with my slideshow script. I have embedding a flash video file into my website with this slideshow called monoslideshow, and everything seems to work perfectly. Trouble is, when I am clicking on another menu button that should jump to another frame, it still keeps playing the video and sound while displaying the n...

Get Master Sound Volume in c#

Hi, I need to get the current volume of what that outs to the sound card, for example, this value: Any ideas how? Thank you. ...

Turn Off Sound and screen blink on incoming calls in Android?

Hi, I would like to know whether this is actually possible in Android? When Android phone receives an incoming call from a specific number the phone's ringing should stop and also the screen should not blink. What I mean is the user should not be able to know that there was incoming call, but actually there was. I do not want to del...

Play a wave file in linux

What is the most portable way to play a wave file in Linux? I'd like this to succeed even if the user doesn't have particularly nice sound libraries installed (assume libc is installed and the user has sound configured, but nothing else). Preferably, the method I use to blocks until the sound finishes playing and also avoids the overhe...

Getting frequency of sound on iPhone

Hi Guys, I'm looking for an Objective-C class that allows me to get the frequency of a live input sound on the iPhone. Didn't find anything useful. Before you ask: the frequency will not change for 0.1 seconds. Thanks for answers, Christian ...

Is there a library for ball hitting sound detection

Hi I'm looking for a library to detect when ball hit in a audio of a tennis match. I read this topic but I think there is a suite library for this job. please guide me tanx ...

Stream Ogg File

Does anyone know how to stream Ogg files without fully downloading them first over a Socket(in byte[] format). I am trying to create a music streaming application and I managed to do it with MP3's but I understand there's licensing issues invovled after certain limit hence why I want to use OGG(Vorbis). I maanged to find this C# Vorbis ...

iPhone MPMoviePlayerController lost sound while playing video on a real device.

I am having issue with losing "video" sound while it was playing. I follow all the standard but the Video Audio sometimes got muted or just disappear at the end of the video file. Have no idea why. Does any know what might be an issue? This only happens when running the app on the real device, i can't simulate the issue on the simulator...

Making Noise with Python

I am trying to get python to make noise when certain things happen. Preferably, i would like to play music of some kind, however some kind of distinctive beeping would be sufficient, like an electronic timer going off. I have thus far only been able to make the system speaker chime using pywin32's Beep, however this simply does not have ...

How can I do metering/average peak power level in OpenAL?

I'm in the process of switching from AVAudioPlayer to OpenAL using the Finch sound engine. I need to do metering, i.e. get the average peak levels. Finch sound engine does not provide this, and I'm completely new to OpenAL. How can I do this? Any examples would be really appreciated. ...

Using python to play two sine tones at once

I'm using python to play a sine tone. The tone is based off the computer's internal time in minutes, but I'd like to simultaneously play one based off the second for a harmonized or dualing sound. This is what I have so far; can someone point me in the right direction? from struct import pack from math import sin, pi import time def ...

playing sound files on the iphone/ipod touch

What are the recommended formats to play sound files on the iphone/ipod touch devices. I am am developing an application that should be able to play long sound files on the device. Are there any limitations to the size of the sound file and which would be the best and most optimized file size to play on the iphone/ipod touch ...

Play any audio for given time

I want to play any file for 6 seconds. Also suppose the audio is bigger then 6 sec the application will play only for 6 sec.and if it is less then 6 sec then play continuously. So is there any inbuilt option from any framework? ...

looking for help with Flash sound to play on an iPad

I hope you might be willing to help me. Years ago, when I was designing a game site, it was recommended to me to do what you pretty much suggested in your answer to a question about Flash sound: put my sound effects as Flash elements. This works great on every platform except the iPad. Do you have any idea what I should do? I'd reall...

Android OpenAL?

Has anyone built OpenAL for the Android, or found the shared library for it on the system? This seems like an obvious need for a game of any kind, yet there's no resources out there for it. It seems the Android java sound library can't do pitch changes from what I can tell, so there seems a need for OpenAL. I know OpenAL Soft can be b...