openal

OpenAL tone generation on iPhone

So I have been looking around for some time now on a way to produce a variable tone on the iPhone using OpenAL, the issue being the Apple has deprecated the ALUT part of OpenAL that has the alutCreateBufferWaveform that would be perfect for this. I was wondering if anyone had any idea how to make a tone generator using OpenAL on the iPh...

Are OpenAL and OpenML comparable?

Hi geeks, I'm wondering if there is any common feature between OpenAL library and OpenML. As many of you may know, OpenAL is designed to be a portable 3d Audio library that is aimed at game development. But what about OpenML, Is it an alternative to OpenAL, or it just can handle media formats (audio, video, ...), and can't do 3d audio st...

How can I do metering/average peak power level in OpenAL?

I'm in the process of switching from AVAudioPlayer to OpenAL using the Finch sound engine. I need to do metering, i.e. get the average peak levels. Finch sound engine does not provide this, and I'm completely new to OpenAL. How can I do this? Any examples would be really appreciated. ...

Android OpenAL?

Has anyone built OpenAL for the Android, or found the shared library for it on the system? This seems like an obvious need for a game of any kind, yet there's no resources out there for it. It seems the Android java sound library can't do pitch changes from what I can tell, so there seems a need for OpenAL. I know OpenAL Soft can be b...

Voice transforming using OpenAL on iPhone

Hi there, I've played a little bit with OpenAL, and I must say that it's pretty fast, even on the iPhone. However, I still got one problem. My app is recording the user voice, and repeats what he said using OpenAL. I've modified the AL_PITCH value, but it's currently also changing the speed, which I don't want to ! Is there a simple way ...

iPhone - openAL stops playing if I record with AVAudioRecorder

Hi there, this is an iPhone-related question: I use openAL to play some sound (I have to manage gain, pitch, etc.). I want to record what I'm playing and I use AVAudioRecorder but when I "prepareToRecord" openAL stops to play audio. What's the problem? Here is the record IBAction I use: - (IBAction) record: (id) sender { NSError *error;...

Ogg/Vorbis: _ov_fopen cannot be found

I'm trying to use Ogg/Vorbis with OpenAL to get sound in my game. Right now I'm simply trying to load a .ogg file and read its data, I'm not actually doing anything with it. I first tried using ov_open, however, the documentation said I should really be using ov_fopen on Windows. However, when I try to use that I get the following: 1>A...

Setting Position of source and listener has no effect

Hi Guys, First time i've worked with OpenAL, and for the life of my i can't figure out why setting the position of the source doesn't have any effect on the sound. The sounds are in stero format, i've made sure i set the listener position, the sound is not realtive to the listener and OpenAL isn't giving out any error. Can anyone shed ...

OpenAL and Vista: Device is always 'Generic Software'

I'm writing the audio part of a game, and I'm using OpenAL. I want to use some extensions, but the tests always fail: TRACE: AudioManager - Sound device: 'Generic Software' TRACE: AudioManager - Enabling OpenAL extensions... TRACE: AudioManager - Compressor support: NO TRACE: AudioManager - Reverb support: YES TRACE: AudioManager - Chor...

When I use Finch to play audio, can I actually do everything that OpenAL can do?

When I use Finch to play audio, can I actually do everything that OpenAL can do? ...

How to control the playback volume of a particular sound when playing it in openAL or Finch?

I may play several sounds at the same time, and some of them are louder or more silent than others. Because I am very lazy and don't know a lot about audio editing tools, I would just want to adjust the volume of the sounds programmatically so that they all match nicely. I believe winamp does something similar and they call that "normali...

Is AudioSession actually the same thing as OpenAL?

Is AudioSession actually the same thing as OpenAL? ...

What kind of routes could I get back from kAudioSessionProperty_AudioRoute property?

Apple guy tried to be funny and wrote in the docs: ("Headphone," "Speaker," etc.) What kind of return values are possible in reality? ...

What happens if I don't handle audio interruptions?

Is it possible to still play sound / music even if audio has been interrupted, or more precisely: even if MyInterruptionListener got called from the OS with the interruption state kAudioSessionBeginInterruption ? Yeah I know that's not good idea to do. But want to know anyways. ...

What's the difference between the "client format" and "virtual format" in Audio Unit?

In the context auf Audio Unit or I/O Audio Units? I assume the "client format" is the format of my sound file, while the "virtual format" is whatever openAL uses internally for "rendering" or "mixing" audio? ...

How to play the same Sound multiple times with overlap, using OpenAL or Finch?

Finch uses OpenAL. However, when I have an instance of Sound, and say -play, the sound plays. When I call -play multiple times one after another in a fast paced way, every -play makes the current sound playback of that sound stop and restart it. That's not what I want. Would I have to create multiple sources or buffers to get that worki...

Can I play any Buffer only once at a given time?

From the OpenAL documentation: The basic OpenAL objects are a Listener, a Source, and a Buffer. There can be a large number of Buffers, which contain audio data. Each buffer can be attached to one or more Sources My problem is, that I have one sound file which I need to play multiple times per second, at the same time. Th...

Is there an OpenAL programming guide from Apple?

I can't find any. Maybe there is one, anyways? ...

What does this error mean when using OpenAL in the iPhone Simulator?

I'm getting this in the console, when creating my OpenAL Sources and Buffers: Cannot find executable for CFBundle/CFPlugIn 0xf530d0 </Library/Audio/Plug-Ins/HAL/Hear.plugin> (not loaded) 2010-05-05 17:11:13.934 Testproj[43173:207] Cannot find function pointer HearCFPlugInFactory for factory 5268FAAB-0147-4272-93FD-4D60A2433C1C in CFBund...

Is pitch and speed the same thing in audio programming context?

Pitch means "perceived frequency". Nice. But when I make pitch very low in OpenAL, sound plays a lot of times longer. If I make it very high, sound plays very short but with high frequency. For me, logically the consequence of making slower or faster. Or is pitch != speed? ...