sound

Insert video and sound into mobile site

How to I embedd/link sound and video inside a mobile site (should target "all" mobiles with support for video and sound? What formats should I target? ...

Building a midi file - Python

Hi folks!! This is a follow-up on my previous question. I have successfully extracted a set of frequencies from input audio, now what would you guys recommend for building a MIDI file? Thanks for your help! ...

ruby bloops crashes after a while

There is a sound library written by _why called bloops. It runs fine, but within several minutes, it crashes. Following is a sample code: #!/usr/bin/env ruby require 'bloops' loop { b = Bloops.new b.tempo = 320 b.tune(b.sound(Bloops::SAWTOOTH), "c") b.play sleep 1 until b.stopped? b.clear } The error message is like this: Expressi...

iPhone SDK - Mute

Hi I have the following to play m background music: NSURL *url = [NSURL fileURLWithPath:[NSString stringWithFormat:@"%@/bgMusic.mp3", [[NSBundle mainBundle] resourcePath]]]; NSError *error; bgMusic = [[AVAudioPlayer alloc] initWithContentsOfURL:url error:&error]; bgMusic.numberOfLoops = -1; bgMusic.volume = 0.1; i...

Cross platform sound API for games?

Is there an API only for sound? API's such as Allegro or SDL provide too much for my needs. I simply need a library that can do something like: InitSound(); Sound *door = LoadSound("door.wav"); PlaySound(door,volume); It would also be great if it could support compressed formats such as vorbis or mp3. Thanks ...

java sound, fadeIn effect, using FloatControl

Im trying to implement fade in effect to my mp3 player. I´m using FloatControl volumeControl = (FloatControl) line.getControl(FloatControl.Type.MASTER_GAIN); because FloatControl.Type.VOLUME throws an exception(Unavaliable Control) I dont know why. I need some help with the algorithm, because its not working ok. Heres the code: public ...

Playing sound issue iPhone?

What's wrong with this code? I've used it before but now I'm getting these warnings... warning: passing argument 2 of 'AudioServicesCreateSystemSoundID' from incompatible pointer type warning: passing argument 1 of 'AudioServicesPlaySystemSound' makes integer from pointer without a cast -(void)playfireSound{ NSString *path = [[N...

How do I still play sound the iphone(ipod touch) is locked but my program is running?

How do I still play sound the iphone(ipod touch) is locked but my program is running? ...

Sounds cut off early on some phones

Hi, I'm the developer of a Soundboard app. A lot of users have reported me that in their phones some of the sounds cut off early. I have a Nexus One and a HTC Tattoo and everything works fine, I've never noticed the cut off in my phones. This is my code for the audio part: First, I have a MediaPlayer object in my main class: private ...

Playing sound in android

mp=MediaPlayer.create(AlarmAlert.this, R.raw.clear); mp.seekTo(0); mp.start(); I use this code in my application, it's working when i try it in android emulator. The application size is around 356KB in emulator. But when i install the .apk in my phone there are o sound at all and the application size only around 50 KB. What could be th...

Best alternative to AudioServices on the iPhone

Hi, I'm using AudioServices to play a sound in my app: AudioServicesCreateSystemSoundID (soundFileURLRef,&soundFileObject ); and then AudioServicesPlaySystemSound (soundFileObject); The sound plays but because I need to play it frequently (its 0.24 seconds long) I get a strange unnatural sounding repetition. You can hear it at http...

seamless dynamic audio loop on iPhone

Ok, So I am trying to seamlessly loop together three sound files with the second file being looped against itself n times. Let's assume I can get them to loop seemlessly together in another program by butting them together. however when I use audioPlayerDidFinishPlaying delegate method of avaudioplayer there is a slight delay in the but...

background application for iphone 4

hi all... i want to let my app play sound every 20 min even when the app is on background or the iphone is in sleep mode ... i used: [NSTimer scheduledTimerWithTimeInterval:delay*60.0 target:self selector:@selector(goMethod) userInfo:nil repeats:YES]; that working maybe for 1 hour and then stopped can any one help me to solve this probl...

Playing Sound With OpenAL

Whats the best way to play a sound using OpenAL in xcode 3.2.2 on a 3.1.2 SDK im pulling my brains out at the moment. I've followed ben brittel and mike daley's tutorials on openAL and ive implemented all the things needed to play sound. Basically i creaed a sound manager class with the help of their fantastic tutorials. The only proble...

Phonon audible output fail

This is my code: media_object_ = new Phonon::MediaObject(this); fileName="./DemoEN2.wav"; media_object_->setCurrentSource(fileName); media_object_->play(); I have the includes: #include <Phonon/MediaObject> #include <Phonon/MediaSource> #include <phonon> And: Phonon::MediaObject *media_object_; QString fileName; When I run the ....

Algorithm to remove vocal from sound track

Hi, I want to remove vocals from mp3 sound tracks. I searched google, and tried few softwares but none of them are convincing. I am planning to read the mp3 file, get a waveform and remove the waveform that is above a specified limit. do you have any suggestions on how to proceed. -- Update I just want code that can read mp3 file for...

Play the sound that an oscillation/vibration would make

First of all, sorry. I don't know how all the Physics terms are named in English. I have an oscillation: for each moment of time t, I have the x (this should have some name, but I don't know it) I need to play the sound of this oscillation (output to speakers). Cross-platform C++ (or Qt) solution is preferred, solution for Windows is a...

What Java APIs should I look into for interacting with my microphone?

I would like to build a recording software, for my own purposes, I would like it to be deployable on multiple systems (Windows and Unix) I am also building an application first time. So any help you would be able to provide on that topic as well it would be appreciated. Please and thank you. GC ...

Android emulator sound - ubuntu

Using Ubuntu 10.04 64 bits for Android development and everything goes well except sound. I've using -audio option and -audio-out one with alsa as backend parameter, but without luck. ¿Any idea? ...

which c++ free lib to use to capture microphone sound and save it to wav

i saw i have 2 major lib's ( mybe i wrong ) 1. port Audio 2. openAl + cAudio wrapper what is easer and faster to use for cross platform ? ...