sound

Is there a .NET library to Normalize PCM WAV

I want to normalize PCM WAV files from client side(Silverlight). I am using ASP.NET MVC on the server side. And I found a C program here https://neon1.net/prog/normalizer.html Does anyone know that if there are similar C# libraries that I can use directly? ...

HTML: Play sounds on mouse hover or click

in my site i want to play tick\click like sounds on mouse over (hover) or on clicks... can it be achieved... we can do this in flash but i want to avoid flash ...

Change the pitch (and speed) of audio during playback in Python

I'm working on a Python program that plays music. One feature will be a slider that the user can drag up or down to change the pitch of the music as it plays. For example, if the pitch is set to 2, then the music will sound one octave higher, it will play twice as fast, and it will last half as long. All I'm really changing is the playb...

How to detect if any sound plays on a windows xp machine

Is it possible to detect if any sound plays on a windows xp machine? Help in any language would be useful. I basically need to write a program that runs all the time and outputs some text to a file whenever a sound plays. I don't need any specific information about the sound, just whether a sound is playing. I don't care whether the ...

C# and reading sound from another process?

Hi guys, I'm currently developing an application that interacts directly with a puzzle game in C#. It's able to play by screen scraping the state of the game and then solving for the next move it should make. The application grabs the width and height of the game by searching out the process and grabbing its rectangle, as below. var p...

How a main function is being called in a c/cpp project.

Good day good-looking computer people, I might be asking a bit too much, but here it goes. I'm trying to do a bit of reserve engineering on this sound library. Looking at the main.cpp file (which I have posted below) it has two methods, setup and play. I'm a bit confused as to how this is working: When you run the Xcode project, shou...

How to set channel gain in OpenAL?

I tried alBufferf (myChannelId, AL_MAX_GAIN (and AL_GAIN), volumeValue); and got error 0xA002. ...

Java sound only playback once ?

I use the following method to playback a recorded sound, it works fine, but why it only plays once, the second time I click the play button, it does nothing, how to reset the data ? // Write data to the OutputChannel. public class Playback implements Runnable { SourceDataLine line; Thread thread; public void start() ...

Recommended introductory books on sound synthesis

What would be the recommended book to get an introduction to the field of sound synthesis from a programmer's point of view? I'm not looking into doing anything advanced anytime soon, so I'll boil it down to two points that I'd like to satisfy: Understanding what I am doing when I feed a bunch of bytes into some sound API capable of ou...

Don't Play SMS Ring if I delete the New SMS in C# netcf

Hi at all! My problem begin when i HangUp a call before answer. 2 italian operators, Wind and Vodafone, in this case, send a SMS from the contact that call with some text like "I call you at 12 am" So, when i intercept a new SMS by SystemState.MessagingSmsUnread>0, i check if the Sender of last message is the number of the call that i ...

Limiting number of simultaneous sounds in CocosDenshion/Cocos2D

Hi, I'm building a game which will play a handfull of sounds all the time (rockets, rocket impacts etc). After a mere moment this turns into a real mess and i figured i need to limit the number of sounds. Problem is i don't want to decrease the number of channels of something because then one type of sound could "hog" the channels and ot...

Audioservices volume issue on 4th gen. iPod touch

Hi IPhone Developers, I am currently developing a game for iPhone/iPod touch. For short sounds I am using the AudioServicesPlaySystemSound function. I know that I can't control the volume of these sounds programmatically, but on my iPod touch 3rd gen these sounds respect the overall sound volume. On my new iPod touch 4th gen, these soun...

Java clip.play hangs on 3rd invocation

I'm running a java (Netbeans) application on Ubuntu 10.10. The following code plays the sound correctly the first two times it is invoked. On the third invocation, the application hangs and I have to kill the process. Any ideas? try { String path = ApplicationContext.getInstance().getAppDirectory(); java.net.URL url = ne...

How to add sound effects on Android?

I would like to write an App, that picks up sound from the mic, adds effects to it and plays it back in realtime. If found AudioRecord to pick up sound from the mic and AudioTrack to play it back. In between, I need some library to manipulate the sound, add effects or use some equalizer on it. This maybe achieved with the Java Sound API...

Am I using CocosDenshion correctly?

I have found a tonne of leaks in my code. All of them come about when I play a sound or a song. Here is how I call a sound effect: [[SimpleAudioEngine sharedEngine] playEffect:@"myeffect.wav"]; Here is how I play a song: [[SimpleAudioEngine sharedEngine] playBackgroundMusic:@"mysong.mp3"]; Am I somehow supposed to be releasing t...

Using sound on a website for iPhone, BlackBerry and Android

I am developing a website that will play sound files for all smartphone users -- BlackBerry, Android, and iPhone. I've already figured this out for the iPhone, but how do I do this for BlackBerry and Android? ...

Python exit code in SciTE -1073741819.

A small piece of python code breaks/exits with -1073741819 within SciTE. Is there a way to attach a system sound or anything to alert me on exit. So far, its a silent break. ...

Strange sluggish sound recording from AudioUnit

Download from here. It sounds very sluggish. what's wrong? http://www.megaupload.com/?d=XGQS3CA4 AudioStreamBasicDescription audioFormat; audioFormat.mSampleRate = 22050.0; audioFormat.mFormatID = kAudioFormatLinearPCM; audioFormat.mFramesPerPacket = 1; audioFormat.mChannelsPerFrame = 1; audioFormat.mBytesPerFrame = 2; audioFormat.mBy...

AudioServicesPlaySystemSound not working on iPad device

I'm in the early stages of developing my first iPad application, and for simplicity I have so far been using AudioServicesPlaySystemSound and the associated functions to play sounds. My code is based the SoundEffect class from Apple's Metronome example. The specific symptom is that I can hear the sounds in the simulator but not on the ...

Cocoa Speech Synthesis, save Audio to a buffer for use in OpenAL

Hi, I want to translate text to audio on osx similar as done here: http://developer.apple.com/library/mac/#samplecode/CocoaSpeechSynthesisExample/Introduction/Intro.html . After the sound is finished playing I would like to save it to a buffer for further use in openAL, is that possible? The only way I see right now is to save the spe...