sound-api

Any good recommendations for MP3/Sound libraries for java?

Hello all! I am writing my masters thesis which is closely related to processing sound files (mp3 and alternative formats such as ogg, aac, ...) and sound in Java. Because Java has so much open source support, I didn't think I would have any problems in finding everything I need already coded, but so far results are very sparse. I want...

Game Development Sound Frameworks

I'm working with a team that's building an engine for a variety of 2D and eventually 3D mini-games. The problem we're facing is a solid, cross-platform, sound API. Obviously, DirectX is out of the question due to our needs for cross-platform capabilities. SDL is nice, and works great, but let's face it SDL_Mixer is a bit limited in what ...

Volume (Balance) Control for XP/Vista

Is there a method for controlling the Balance of the Wave output that will work on both XP and Vista? ...

java sound without hardware device

Hello, Anyone know if it is possible to write an app that uses the Java Sound API on a system that doesn't actually have a hardware sound device? I have some code I've written based on the API that manipulates some audio and plays the result but I am now trying to run this in a server environment, where the audio will be recorded to a ...

Is DirectSound the best audio abstraction layer for Windows?

Is DirectSound the best audio abstraction layer for Windows? Switching my app from a very bad sound implementation, built to a specific chipset, to an abstration layer. App is native Winform, .net 3.5. DirectX/DirectSound is the likely choice, but a little concerned about the overhead. Any other options? Or is it silly to even THINK ...

Volume Control Number of Channels XP different than Vista

When I run this code: MIXERLINE MixerLine; memset( &MixerLine, 0, sizeof(MIXERLINE) ); MixerLine.cbStruct = sizeof(MIXERLINE); MixerLine.dwComponentType = MIXERLINE_COMPONENTTYPE_SRC_WAVEOUT; mmResult = mixerGetLineInfo( (HMIXEROBJ)m_dwMixerHandle, &MixerLine, MIXER_GETLINEINFOF_COMPONENTTYPE ); Under XP MixerLine.cChannels comes back...

Tool for exploring Windows Vista Audio device chain (tree?)

The new Vista Audio subsystem is set up to be a chain of devices starting with the inputs, going through all the various controls (like mixers and volumen controls) and then ending up at various endpoints (like speakers or headphones). My question is: Is there a tool out there that will show all the endpoints devices in the system, and ...

How to generate sound effects in Java?

I'm looking for Java code that can be used to generate sound at runtime - NOT playback of existing sound files. For example, what's the best code for generating a sawtooth waveform at 440 Hz for a duration of 2 milliseconds? Source code appreciated! I remember my Commodore 128 had a simple Sound command that took as parameters voice, f...

What Is The Best C++ Sound API For Windows?

I am programming in C++ (Visual Studio 2008) and wish to do the following in both Windows XP and Windows Vista. Play audio files (wav, mp3, others if they come along for free...) and be able to control the left/right sound levels independently. Play tracks from audio CDs and be able to control the left/right sound levels independently....

ACM - Audio Compression Manager

Can anyone explain how to use the Windows Audio Compression Manager (using VC++)? thanks And what areas do i need to study first before I start.. ...

Which format has an audio stream before reaching the soundcard?

I want to manipulate an audio stream before it gets to the soundcard. So I wanna use the sAPOs from Microsoft to manipulate the audiostream in the audio engine (vista audio architecture). My basic question actually is which format the audio stream is in. I don't know but I think it is the WAVE format or the RIFF. Can anyone help me in ...

Pitch Detection In Mac OS X

I don't suppose anyone is aware of any libraries that allow you to detect the current pitch (that is, in notes) received by the microphone in Mac OS X? I'm assuming it'd be a mixture of Objective-C and some provided lib. Or else in Java for multi-platform goodness? ...

Set ringtone in iPhone SDK

Hi, how an application can set a ringtone in iPhone? Thanks in advance, Etam. ...

Fast Audio Input/Output

Here's what I want to do: I want to allow the user to give my program some sound data (through a mic input), then hold it for 250ms, then output it back out through the speakers. I have done this already using Java Sound API. The problem is that it's sorta slow. It takes a minimum of about 1-2 seconds from the time the sound is made to...

SoundEngine sample leaks

Hello! I use SoundEngine sample from CrashLanding sample Iphone SDK. When i run my project i found small memory leaks when sound engine initialize. Can anyone help me with this? ...

iPhone SDK - OpenAL, 'Beat Box' style sound engine

How would one go about creating a 'beat box' style sound engine, where a series of sounds can be queued up ahead of time and during playback. These sounds need to play back without any gaps or hiccups though. I've looked into OpenAL and have attempted to use the alSourceQueueBuffers() to create a source with a series of pre-buffered cl...

Sound Synthesis Framework in C/C++/Objective-C?

I've searched the net but didn't found anything interesting. Maybe I'm doing something wrong. I'm looking for sound synthesis API written on C, C++ or even Objective-C, which can synthesize different types of waves, effects are optional. ...

Adjust volume and prevent computer from standby in Java... (Mac and Windows XP, Vista)

I am writing a Java program that wants to do 3 things, and I don't know how to do them or if it's even possible with Java. 1 - I want to ensure that the computer whether running mac OS or windows xp/vista, doesn't go to sleep whilst running my app. 2 - I want my app to be able to turn the volume to full on all of the above OS's before ...

audio (tag?) info via cmd line or .NET?

I know formats such as mp3, ogg and flac have tags such as artist, album etc. I would like to extract that information if available. Right now i am using ffmpeg to conv the audio so a way to do it within ffmpeg is convenient but not required. My website is writing in C# ASP.NET. I dont mind parsing cmd line output or using a lib call. W...

Why is my SoundPool mute?

I setup my SoundPool, and load a sound resource as this in onCreate(): soundPool = new SoundPool(4, AudioManager.STREAM_MUSIC, 0); soundId = soundPool.load(this, R.raw.edible_underwear, 1); And then I try to play this sound twice in a onClick(), one slow mostly in left speaker, and one fast mostly in the right speaker: soundPool.play...