sound

Where's the sound API in Silverlight? Or, how do I write a music app to run in the browser?

I would like to port a desktop music application to run inside the browser. Cunningham et al proposed using Flash a couple of years ago. I don't think it ever got off the ground though. Probably because Flash isn't really suited for a complex interactive editing application. Aside from simplifying the animation of the caret and scrol...

Getting started with programmatic audio

I'm looking for resources, links, and so on to help get started working programmatically with audio. Specifically, the platform I'm working with exposes APIs to extract audio data from a resource (like an MP3), or to play back arbitrary data as audio. In both cases the actual data is byte arrays of 32bit floats representing 44.1 KHz ste...

Algorithm to mix sound

I have two raw sound streams that I need to add together. For the purposes of this question, we can assume they are the same bitrate and bit depth (say 16 bit sample, 44.1khz sample rate). Obviously if I just add them together I will overflow and underflow my 16 bit space. If I add them together and divide by two, then the volume of e...

Post code that plays a Christmas tune

Is there a way to play a Christmas tune on a PC or Mac without having a pre-recorded sound file? (No .mp3 or .wav or whatever-sound file) I remember on my TI 99/4A and Apple II sounds (resembling music) could be played. Not sure if modern computers have these abilities (aside from beep). ...

How to disable click sound in WebBrowser Control

I use Javascript to click a link in the webbrowser control. But I don't want to hear IE's "click" sound. Is there anyway to do this? P.S. I don't want to change system settings. I've seen this one(http://stackoverflow.com/questions/10456/howto-disable-webbrowser-click-sound-in-your-app-only) but Document.Write is not an option for ...

Playing sound while displaying a splash screen?

Dear all, I want to play a sound while my splash screen gets data from the server. The sound file is not too large. I want something like when you start your computer you hear the MSWinXP welcome sound and that while establishing your account. How can I do that? thnx ...

Windows Beep() equivalent for Linux

I am experimenting with Beep function on Windows: #include <windows.h> ... Beep(frequency, duration); The computer then beeps with some frequency for some duration. How would I do this on a Linux computer? Edit: It IS important to output different frequencies. ...

Set Ubuntu Sound Volume on boot

The Ubuntu startup/login sound can be very loud, but I do like having it. I wrote a script that uses amixer to set the volume to 25%. This is the level I like to have it at, but when I use TV out or headphones I have to turn up the volume. I cannot seem to get the script to run before the login sound plays. I have tried a cron @reboot, a...

iPhone (SDK 2.2): adusting playback volume while NOT actively playing music w/ AVFoundation?

So I have an app which plays many short sound clips. I need to know when the sounds are finished playing, and I need to use mp3s, so I'm using AVFoundation for the sound playback. When a sound is actively playing, and the user uses the hardware volume buttons, the playback volume changes. Problem is, the app is NOT constantly playing ...

What would be a good framework to develop a web application for guitar software?

I would love to design a web application for a guitar tablature editor. There are a few desktop apps such as Guitar Pro and Tuxguitar that are great. They basically allow you to load a tablature file, and then the software allows you to edit and play the tablature. What would be even better would be a web-based version of these programs....

Determining when a sound has finished playing in C#

Here is the situation: User looks something up. Alert sound is played because there is a notice on the item he looked up User closes the notice - the application continues to retrieve information User is sent a 'ding' telling them the information has finished retrieving Application begins sending certain attributes to TextToSpeech The ...

Is there a general template for creating a UIPickerview which selects short sound files?

Is there a general template or tutorial or web page that describes the procedure for creating a UIPickerview which selects short sound files and plays them upon selection or with a player? Thanks ...

OpenAL: How does one jump to a particular offset more than once?

Imagine this function: void SoundManager::playSource(ALuint sourceID, float offset) { alSourceStop(sourceID); ALint iTotal = 0; ALint iCurrent = 0; ALint uiBuffer = 0; alGetSourcei(sourceID, AL_BUFFER, &uiBuffer); alGetBufferi(uiBuffer, AL_SIZE, &iTotal); iCurrent = iTotal * offset; alSourcei(sourceID, ...

Flash Video Players: Do people really use the volume control?

Im wondering if anyone has any input on this subject? Im building a flash video player, and I have added a mute volume icon, but Im wondering what everyone's thoughts are on adding a volume control too? ...

Which algorithm should I use for signal (sound) one class classification?

Update this question was previously titled as "Give me the name of a simple algorithm for signal(sound) pattern detection" My objective is to detect the presence of a given pattern in a noisy signal. I want to detect the presence of a species of insect recording the sounds with a microphone. I have previously recorded the sound of the ...

MIDI player/synthesizer library for the iPhone

Does anyone know if there is a free/cheap MIDI player/synthesizer library that I can incorporate into my iPhone application? As I understand it the iPhone doesn't have native support for MIDI playback. To work around this limitation I've created a bank of .caf sound samples that I playback myself but I'd really like to improve the im...

Playing sound notifications using Javascript?

How can I do that, so whenever a user clicks a link we play a sound? Using javascript and jquery here. ...

What's the simplest way to play an MP3 in WPF?

Has to be free. ...

jQuery Sounds IE7 / IE8 Issue with Flash ExternalInterface

I would like to add sound alerts to a web application. I believe that Flash is the best way to do this to support all major browsers, ie. IE, Firefox, Chrome, Safari. Chrome does not seem to work with the non-flash sound solutions. I have been using jQuery and would like to use the jQuery Sound plug-in. An example is shown at jQuery S...

java sound fade out

Hi. Using javax.sound.sampled, I want to fade out a sound I started looping infinitely. This is how I started the sound: Clip clip = AudioSystem.getClip(); AudioInputStream inputStream = AudioSystem .getAudioInputStream(new File("x.wav")); clip.open(inputStream); clip.loop(clip.LOOP_CONTINUOUSLY); Could anyone point me to how I can do...