sound

Play sounds with managed code

I've been trying to create a sound library as a learning project. I get the reading and parsing, I just don't understand how to actually make sound come out of the speaker. I've looked around for quite some time now, but I could never find something that explains this. It seems to be trivial. Am I missing something here? How do I do this...

Preloading wav/mp3 files in jQuery

I have this code (found from another StackOverflow question: $(document).ready(function() { $.ajax({ url: "soundfile.mp3", success: function() { $("#play_button").show(); } }); }); This code works fine, but how can I amend it to handle multiple sound files? ...

How to restore sounds after YouTube playing ?

After playing youtube video from the webview -- all app music and sounds disappears. I tried to restore audio by AudioSessionInitialize() and AudioSessionSetActive() -- but it's not helps. Only one way I found to restore sounds and music -- completely re-initialize sound system including OpenAL re-initialization and reloading all sounds ...

Recording and saving .wav Files with TMediaPlayer (Delphi 2010)

Hello people, well im really new to the delphi world. Right now im using the TMediaPlayer to record some sound and save those. I made a click event for the record button in the TMediaPlayer which executes a SaveFileDialog. The user should type in some filename he would like to save and then after recording the .wav file he can click on...

A question related to sound of Push Notification

Hi 1>I want to show a sound to user when push notification comes from user What should i do for that? ...

Gating sound level

Im implementing ITU standard based loudness measurement program and as it states i should use some kind of gating to exclude silence regions from affecting measured average sound level - for example - Ill take general integration time of 3 seconds - if, for example the first second of whole sound contains speech and the last 2/3 of it co...

How do you select audio input device in core audio?

I am writing a program that needs to deal with multiple audio inputs. I am currently using AudioQueues to get the input, but this is only from the default input device. Is there any way to either: Select which input device the AudioQueues use. Change the default input device. I know that I can use kAudioHardwarePropertyDevices in C...

in which format i can Store Sound in Database using by C#

I'm using speech recognition but some words are not correct speaking. Therefore, I want mix my voice for some words. I want to play a String in C#, some word I have recorded. I want to mix my recorded word with String and then play it. ...

most efficeient way to play a sound when button is clicked

Right now I have two buttons. Each one needs to produce a different sound. In the future, there will probably be about 8 buttons, but for now just two. public class MyActivity extends Activity { public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); final Button btnDrum1 = (B...

What's a good app to get started making sound effects for my app?

I need a few click and beep-type sound effects for my app I'm developing. Rather than scour Google for free wavs, I'd like to try to develop my own. Are there any (hopefully free) apps that might be tailored to something like this? Any insight is appreciated, Tim ...

What is the easiest way to access a a computers microphone in Python?

I need to get some numbers so I can generate random numbers using ambient sound. I want something on this level pseudo code: import microphone p = pitch.get() print p Edit: This is in Windows 7, BTW ...

Accessing audio samples from linphone

I'm using linphonec (without gtk interface, only command line) in Linux and I want to access incoming and outgoing sound samples, but I don't know what file should I edit to access them. Can anybody give me a clue, please? ...

sound capture using c# issue

I have developed a sound capturing winform application using NAudio 1.3 on c#. The idea is to capture streaming songs through sound card. It is working perfectly fine on windows xp. But On vista and windows7 machine if there is no sound driver installed it also take mic voice with it which is a big issue(i have checked it on dell lapto...

Change the volume of an audio file and save the file using java.sound.sampled

I want to change the volume of an audio file and save the new file using java.sound.sampled. I tried to use the mixer to create a source line from the file given and a target line to the new file. So that I can change the mixer settings to change the volume. But the sound is being played to the system speaker. Am I thinking along cor...

Sound works on HTC Desire but not on T-Mobile G1

I defined the following Sound Class to play Sound in my Pacman Game: public class Sound { private static boolean sound = true; private static MediaPlayer eatSound; private static MediaPlayer shortEatSound; private static MediaPlayer eatCherry; private static MediaPlayer eatGhost; private static MediaPlayer extr...

Javascript/Flash tiny, cross-browser sound player

I was searching for Javascript/Flash tiny, cross-browser sound player (notifier), but every solution I've met was or too big and feature-full, or based on different libraries (not on Jquery I'm using), or with bugs. The only feature I need is 'play'. :) For example, http://flash-mp3-player.net/players/js/download/ - this nice little pla...

howto set audio balance of a soundcard programmatically

How can I set the balance of a soundcard with c#.Net? What would be the most common way? Do I need Interop? ...

Sound format for a Java-based game

I'm developing a Java game and want to bundle and play a number of sampled sound effects. I'm planning to use the standard javax.sound.sampled functionality to play them. What format is best for these kind of samples? I'm looking for a blend of good compression, decent quality and convenience for programmatic use within Java. ...

AS3 Loading a MP3 into a ByteArray and then into a Sound?

Hi guys, I was wondering if there are any good workarounds to load a MP3 file into a Flash app but not via the Sound class but as a ByteArray via URLLoader and then give it to the Sound class play playback/etc.? I know about this workaround http://www.flexiblefactory.co.uk/flexible/?p=46#more-46 ... basically wrapping the loaded MP3 dat...

music website: how to make it work on android/blackberry/iphone/symbian?

Hello, How can I make my simple site, on which the user can choose to play a number of music clips by clicking on little "play" buttons on the page (think of Amazon's "preview" on their product pages for CDs), work on mobile devices? [I originally created the page thinking only of desktop browsers, so currently it works by using Flash...