sound

instantiate sound clips dynamically in as3

How can i call and instantiate soundclips in my library dynamically here is the code i have so far function soundbutton_Handler (e:MouseEvent):void { trace(e.target.name); var mySound:Sound = new e.target(); mySound.play(); } and the error i get is : Error #1007: Instantiation attempted on a non-constructor. at quiz_fla::MainTimeli...

Is there an java API to retreive the sound for word pronunciation?

Most of the dictionary sites provide a mechanism to hear the sound of the word, are there API(s) which allow you to retreive this sound file. eSpindle seems to do this, but I don't think this is free. ...

Android: Processing video and sound on phone

Hi guys, I want to merge a sound file and a video file (remove the sound from the video file and replace it with my own sound) and this should happen on the phone. I have done this through ffmpeg, but I can't do that now. Any help appreciated, 10x, Danail ...

Audio processing libraries for Ruby?

Any recommendation on libraries to do audio processing in Ruby. I need to do the following two tasks: Find silences, for which I'm happy to just be able to iterate over each sample in the wave. Cut and paste pieces of wav files to form a new wav file. Convert wav to mp3, which I will probably leave to lame anyway. I'm looking for the...

Play sound in mobile browser?

I want to make myself a web based stop watch for training that I can use on my Blackberry mobile browser. The stopwatch should count 3 minutes, then ring a bell, wait 1 minute, then ring another bell and then repeat. My problem is I can't seem to get sound to work on my blackberry browser. I tried using <embed src="bell.wav"> which wo...

OpenAL - determine maximum sources

Is there an API that allows you to define the maximum number of OpenAL "sources" allowed by the underlying sound hardware? Searching the internet, I found 2 recommendations : keep generating OpenAL sources till you get an error. However, there is a note in FreeSL (OpenAL wrapper) stating that this is "very bad and may even crash the l...

Robust algorithm for chromatic instrument tuner?

Who knows the most robust algorithm for a chromatic instrument tuner? I am trying to write an instrument tuner. I have tried the following two algorithms: FFT to create a welch periodogram and then detect the peak frequency A simple autocorrelation (http://en.wikipedia.org/wiki/Autocorrelation) I encountered the following basic prob...

How to get the contents of the wav file into array so as to cut the required segment and convert it back to wav format using python??

How to get the contents of the wav file into array so as to cut the required segment and convert it back to wav format using python?? My prob is similar to "ROMANs" prob,i hav seen earlier in the post at this site.. Basically,i want to combine parts of different wav file into one wav file?? if there is ne other apporach thn takin the co...

Need background sound + play once

I have a script and when it detects a difference it plays a little alert sound. When it alerts the sound plays but loops, how can I stop this? ...

How to join two wav file using python??

I am using python programming language,I want to join to wav file one at the end of other wav file? I have a Question in the forum which suggest how to merge two wav file i.e add the contents of one wav file at certain offset,but i want to join two wav file at the end of each other... And also i had a prob playing the my own wav file,us...

Objective C sound lagging when multiple repeat

Hi, i'm coding in simple game where i move a square which performs a sound effect each time the square's moving. (like a walking sound) Problem is playing the sound effect cause a display refresh lag. As if it was too much performance for the engine. I was asking if there's a way to properly play the repeatitive but not continuously sou...

Win32 lineout (audio) funnelling over network

I have a linux box hooked up to an amplifier via optical out, I use MPD to play music out through the amp. I also watch movies using a Popcorn Hour connected to the amp and to a projector. During daylight it's not really possible to use the projector so I want to watch TV programs on my Windows laptop, but still take advantage of the amp...

What is the best API in any language for Audio and MIDI music application development?

What is the best API to utilize in developing an application that handles both realtime MIDI and audio input and output? This would be for an application that is used in the process of making music as opposed to playing audio or MIDI files. I'm aware that this may be a subjective question, but if you know of an API that is dominantly use...

Play .WAV under Mono on Mac OS X (Snow Leopard)?

The Mono 2.6 distribution contains System.Media.SoundPlayer, but attempts to play result in no sound (and no errors) on Mac OS X. All I can find with Google search is obscure references to ALSA. I posted to the Mono-OSX list, but there have been on replies there. I hope someone here has an answer. I think I need to tap into CoreAudio, bu...

Is it possible to programmatically edit a sound file based on frequency?

Just wondering if it's possible to go through a flac, mp3, wav, etc file and edit portions, or the entire file by removing sections based on a specific frequency range? So for example, I have a recording of a friend reciting a poem with a few percussion instruments in the background. Could I write a C program that goes through the entir...

Comparing two speech sounds

I need to be able to determine if two sounds are very similar. The goal is to have a very limited vocabulary (10 or 15) of short one or two syllable words, then compare a captured sound to determine if it is one of those items with all the usual variability in environmental and capture conditions. The idea is that the user can issue a fe...

Select sound files + iPhone SDK

Can we select sound files from iPhone with a particular length? ...

Pygame, sounds don't play

I'm trying to play sound files (.wav) with pygame but when I start it I never hear anything. This is the code: import pygame pygame.init() pygame.mixer.init() sounda= pygame.mixer.Sound("desert_rustle.wav") sounda.play() I also tried using channels but the result is the same ...

How to record sound on my key pressed on iphone

I am developing an application. i can play my button with a sound but how to record this sound. i've searched this coding in a week but i had nothing. all source is about recording voice. please help me. thanks ...

OpenAL device, buffer and context relationship

I'm trying to create an object oriented model to wrap OpenAL and have a little problem understanding the devices, buffers and contexts. From what I can see in the Programmer's Guide, there are multiple devices, each of which can have multiple contexts as well as multiple buffers. Each context has a listener, and the alListener*() funct...