sound

Sounds effects in iPhone game

I'm making an opengl game for iPhone. And I'm about to start adding sound effects to the app. I wonder what's the best framework for this purpose. Is AV foundation my best option? Any others I'm missing, like Open AL perhaps? ...

iPhone SDK: AVAudioPlayer making noise when paused or finishes

Hi, I'm playing multiple wav files (I tried using caf but same thing happen) with AVAudioPlayer. All the files are less than 2 sec, and 16 bit sound - file size is ~40kb. I found it makes small noise (it's hard to describe, but a small sound like 'dub') in two cases: 1) when a play is paused or stopped while playing. 2) when a play fin...

How to set MIDI out transmitter?

Hello, I'm using a Java library called jMusic to create some sounds. I'm just trying it out for now so I've made this simple program. When I try to run it, I get the following exception: run: Midi System Unavailable:javax.sound.midi.MidiUnavailableException: MIDI OUT transmitter not available BUILD SUCCESSFUL (total time: 2 seconds) I...

how to play sound when alertview appears iphone sdk?

i want to play a sound file when alertview appears and plays continuously till user clicks on ok or cancel.how do i do this? ...

Switching Off Sound in an iPhone Application

Hi, Can someone please tell me how to switch off sound in an iPhone Application. Thanks :) ...

Which technology to use for playing audio on the iPhone?

I need something that is capable of: playing audio files (whatever preferred format, I'm flexible) play more than one at once (=mixing it automatically to the headphones/speaker) and if possible: - play from a particular position of an audio file, i.e. starting at 2 seconds rather than from the beginning where should I have a look a...

C# DirectSound - Capture buffers not continuous

Hi, I'm trying to capture raw data from my line-in using DirectSound. My problem is that, from a buffer to another the data are just inconsistent, if for example I capture a sine I see a jump from my last buffer and the new one. To detected this I use a graph widget to draw the first 500 elements of the last buffer and the 500 elements...

Controling the Volume of an Audio Clip in Java 1.4

I would have thought that this would be an easy thing to do, but no amount of googling around has turned up any solutions. I have written an application for a client that runs in full screen and allows the user to page through educational books in order to help teach kids to read. So far so good. Some phrases from the displayed material...

Sound visualization in ActionScript 2.0

I need to create a basic bar chart distribution in ActionScript 2.0 based on sound output. I realize that ActionScript 3.0 has a very nice sound visualizer class SoundMixer.ComputeSpectrum but the limitations of my project require me to use ActionScript 2.0. Im wondering if you know of A. Any third party libraries that I can use or ...

How do i Pause a bundled sound file in iPhone SDK

Hi All, I am now learning on the audio framework of iphone. Just tried to play a sound file and it works fine. Now i need to pause that thing when its playing. How can i do that, Can anyone help me please. Thanks in advance, Shibin ...

Multitrack sound recording - Downloadable control?

Hi, I was just wondering if anyone knows of any free Open Source software wich demonstrates multitrack recording support? I was thinking of something in the lines of this: http://www.soft411.com/company/NCH-Software/MixPad-Audio-Mixer%5Fscreenshot.html I want to include multitrack support in my own software, for personal use and I don't...

For consistent tempo on iPhone, is there a better solution than system sounds?

Hi, I've been working on a metronome app for quite some time now. Following Apple'e sample Metronome application, I've been using a timer on a (high priority) background thread to play system sounds. My results are okay but far from perfect. Some issues that I face are: ~ the app doesn't really keep time, although it sounds like it doe...

Is it possible to generate complex tones in C#?

I need to create a sound containing tones of many different frequencies. Is there any way to do this in C#? The only tone generating methods I've seen so far involve console.beep, which works, but only for pure tones (single frequencies). ...

Playing mp3 in WPF

MediaElement doesnt work for me in my WPF application. mediaElement1.LoadedBehavior = MediaState.Manual; mediaElement1.Source = new Uri(@"C:\Music\MySong.mp3", UriKind.RelativeOrAbsolute); mediaElement1.Play(); When I do this in my Window1.xaml.cs file. Nothing happens. Atleast I cant hear anything. I have tried all kind of different ...

how to sync audio in iphone sdk with NStimer?

I am running a countdown timer which updates time on a label.i want to play a tick sound every second.i have the sound file but it is not sync perfectly with time.how do i sync time with audio?also if i use uiimagepicker the sound stops how to manage this? if someone have tick sound like a clock has it would be great. ...

iPhone AVAudioPlayer stopping background music

So I've just noticed that on my iPod Touch, when my app triggers a short wav file to play using AVAudioPlayer, the music gets paused. Is this normal? I can't find any reference to this, and it seems like it would be noted somewhere. Is there a way to keep the music going while I play my sounds? Thanks ever so much! ...

Detecting input volume level using Java Sound API

I'm using the Java Sound API to record user speech. I would like to be able to determine when the input volume reaches a certain level (when the user starts speaking) and also when it then retreats back to near silence (when the user stops speaking). This is essentially the same question as this one, however I have discovered that the ...

Getting data for music visualization

Hi! I had an idea of a music visualization project (like those in winamp and other players), but as I am completely new to this, I don't know how to get the data (frequency spectrum, loudness, etc) from a music file. So, what you would recommend to get the data? There are some libraries for programming languages (i know some c++, python...

How to control sound in a pure DHTML game

I am looking into writing web based games using just Javascript, HTML, and CSS. It seems like there are large classes of games could be done using these technologies, except for one thing. I can't really find a good way of controlling sound, the only thing I see that it works is to embedding a control of some sort into the page. Is the...

Palm WebOS: common reasons why sound would play on one device, but not the another?

I'm finishing up my first app on the Palm Pre for a client. During testing I was sad to discover that the sounds, which work fine on my palm, won't play at all on my client's device. I'm playing sound like so: this.objAudioPlayer = new Audio(); this.objAudioPlayer.src = Mojo.appPath + 'sounds/'+'RID_SND_GAME.mp3'; this.objAudioPl...