sound

Open source C/C++ Audio to text lib

Turn spoken dialogue into text-based, timecode-accurate, searchable metadata or just into text. What do I need: Open source libs Articles on using them ...

Audio Device, change Speaker setup

Hi Guys, I want to change from my program the speaker setup, which is under speaker settings / advanced... section. I tried to find maybe there is some sort of registry entry but no luck till now :| Any Ideas ? Thanks a lot ! ...

In Java, how can I play the same audio clip multiple times simultaneously?

If I have a java.applet.AudioClip object I can call play on it to play it once. But if I call play multiple times then the clip will simply keep restarting. The only way to get around that seems to be to load multiple instances of the same sound file. That seems wasteful of memory. In a game, if I have 20 explosions occurring then I'd ha...

Accurate BPM event listener in AS3

I'm trying to sync animation to music at a specific BPM. I've tried using the Timer but it isn't accurate when dealing with small intervals in milliseconds. I did some reading and found an alternate method that uses a small silent audio file and the SOUND_COMPLETE event as a Timer. I used 167ms long sound file with this code. package ...

iPhone Application records sounds and saves those sounds

My application will record and store some sounds to play them back later. Right now, I can record the sound which is saved in temporary folder. Where is the best way to store sounds to play back later? Do I need database or just store as files? ...

Is it possible to write a program that extracts a specific melody/beat/rhythm from a specific instument from a mixed wave (or other music format) file?

Is it possible to write a program that can extract a melody/beat/rhythm provided by a specific instument in a wave (or other music format) file made up of multiple instruments? Which algorithms could be used for this and what programming language would be best suited to it? ...

Java Sound API - Distinguish multiple equal USB sound cards

I'm using 4 USB sound cards (ASUS Xonar U1). I want to send to each one of them a different sound (the same text narrated in different languages). For now, what I do to get the sound mixers that I'm interested in, is something like this: Info[] mixerInfo = AudioSystem.getMixerInfo(); int count = 0; for (Info i : mixerInfo) { System....

Button to sound in Interface Builder?

I'm working with the iPhone 3.0 SDK (bit of a novice really), and I have set up an Interface Builder View with several UIButtons in it. I also have several sound files in the Xcode project. I have searched for this and none of the solutions seem to work for me. Does anyone know how to make a short sound play once upon pressing a button?...

playing sound without the need to install media player extension

Hello, I am trying to embed a sound in an auction website. I want that everytime someone's bid, a sound will be played. I tried a simple tag with given ID, and then sound.play() through javascript. The sound is playing, but in IE, a new user is asked to install a media player extension "if he/she trusts the website". Is there a way...

Flash - Making a deep copy of a sound

Hallo, I have my own sound class that is derived from the Flash Sound class. I would very much like to add a Copy function to my extended class. I had it working for a while by using the following code: var newSoundClass : Class = Class(getDeninitionByName(soundName)); var newInstance = new newSoundClass(); I have tried registering t...

iPhone: sync sound and animation

Hi, I am sure this is a very basic question. I would appreciate if someone can point me to the right directions. I want to play a sound (say a song) and then perform an animation based on the beat of the sound. I guess it would be similar to creating visualizations that many media players have. What classes/samples should I be looking...

How to output a frequency 1kHz and power/volume = 60% in Linux (Ubuntu)?

How to output a frequency 1kHz and power/volume = 60% in Linux (Ubuntu)? I need sample code in C/C++. Thanks! ...

NASM accessing sound card directly (No OS)

I'm attempting to write a very simple OS in ASM and C. (NASM assembler) I would like to access the sound card directly, with or without drivers. If I don't need drivers, how could I access and send a sample audio file to the sound card? (An example would be nice) If I do need drivers, is there anyway to interface them and call functions ...

iPhone/iPodTouch. What are my options for syncing movement to a soundtrack?

What are the best strategies for syncing music to object movement? The app I envision would have an underlying soundtrack with characters animating in time to the music. What I'm after is a strategy for having the soundtrack periodic send a message to an object, objects, triggering it to commence it's scripted movement. Thanks, Doug ...

Playing built in sounds on the iPhone

I have an app that has a fake SMS screen, when this is displayed I want to play one of the SMS sounds that are on the phone. How do I do this? ...

How do you loop iPhone sounds?

Im working on a new game and i'm done but i just need to add some looping music, i have the sound file i want to loop, called theme.m4a How would you loop the music to play forever Thank you! ...

Flash Timeline Sound Not Stopping On Navigate Away

I have a Flash piece that has one main timeline that loads different movie clips and different sections of that main timeline. On those embedded movie clips within the main timeline are sounds attached to the embedded movieclips timelines set to "stream". They have to be on the timeline so they sync up correctly (I can't load the sound...

How to play a sound in a JSF web app?

Is it possible to play a sound (.wav or .mp3) in a client's browser using a JSF web app? I have tried using javax.sound.sampled.SourceDataLine and it worked on Windows, but when I deploy the .war on a Linux host I get this exception: "javax.sound.sampled.LineUnavailableException: Audio Device Unavailable" ...

Java problems playing sound clips

I have a problem playing a sound correctly in Java using the Clip interface. Playing the sound works using: clip = (Clip)mixer.getLine(dataLineInfo); clip.open(audioFormat, byteData, 0, byteData.length); clip.start(); However there is a memory leak if clips aren't closed. I have tried adding a line listener before starting the clip,...

simplest way of recording 8 bit signed mono 16khz sound with alsa (in a way it's compatible with pulse)?

I'm totally lost, does anyone have a very simple example of how to record a sound using ALSA with c++? the only thing i need is the raw samples as signed bytes for feeding them to another part of my program. All the examples i found googling seem to have issues with PulseAudio or don't cover what i need. ...