Questions tagged [openal]

OpenAL (Open Audio Library) is a cross-platform audio API that allows for efficient rendering of environmental, 3D positional audio.

OpenAL (Open Audio Library) is a cross-platform audio API that allows for efficient rendering of environmental, 3D positional audio.

OpenAL utilizes an extension mechanism in order to allow vendors to provide additional functionality.

It is often in games through extensions such as LWGJL.

594 questions
73
votes
5 answers

Converting audio to CAF format for playback on iPhone using OpenAL

I am using the SoundEngine sample code from Apple in the CrashLanding sample to play back multiple audio files. Using the sample caf files included with CrashLanding everything works fine but when I try and use my own samplesconverted to CAF using…
Dave Verwer
  • 6,140
  • 5
  • 34
  • 30
34
votes
2 answers

iOS: Audio Units vs OpenAL vs Core Audio

Could someone explain to me how OpenAL fits in with the schema of sound on the iPhone? There seem to be APIs at different levels for handling sound. The higher level ones are easy enough to understand. But my understanding gets murky towards the…
P i
  • 29,020
  • 36
  • 159
  • 267
33
votes
4 answers

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…
Kalen
  • 3,106
  • 8
  • 29
  • 42
24
votes
9 answers

How to program a real-time accurate audio sequencer on the iphone?

I want to program a simple audio sequencer on the iphone but I can't get accurate timing. The last days I tried all possible audio techniques on the iphone, starting from AudioServicesPlaySystemSound and AVAudioPlayer and OpenAL to AudioQueues. In…
Walchy
  • 1,150
  • 3
  • 11
  • 18
21
votes
3 answers

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…
Bill Kotsias
  • 3,258
  • 6
  • 33
  • 60
17
votes
1 answer

OpenAL randomly stops playing some sounds, can only fix with reboot

THE APPS: Two Cocos2d universal iOS games with a large customer base. THE PROBLEM: Several months back (in 2011) reports started coming in, sounds would randomly cut out, only some of the sounds would play in the app, others wouldn’t. This problem…
peter
  • 471
  • 5
  • 16
15
votes
4 answers

Audio/MIDI C++ library for a real-time application

As I've already said in another thread, I'm working on a project related to real-time graphical programming for audio (something like Pure Data, Max/MSP, Reaktor). I did a day of research on Internet, looking for a good (maintained, well documented…
Kill KRT
  • 1,101
  • 2
  • 17
  • 37
15
votes
1 answer

"Endless" AudioInputStream from socket

I have a problem with creation of AudioInputStream from Socket. Here are the important parts: public class SoundStream extends Thread { private int port; private String IP; private Socket socket; private SoundObject soundObject; …
Jan Beneš
  • 742
  • 1
  • 5
  • 24
14
votes
2 answers

Recording Audio with OpenAL

I've been comparing various audio libraries available in C++. I was wondering, I'm kind of stuck starting with OpenAL. Can someone point out an example program how to record from a mic using OpenAL in C++. Thanks in advance!
Cenoc
  • 11,172
  • 21
  • 58
  • 92
13
votes
2 answers

iphone low pass filter

I'm trying to implement a low-pass filter for an iphone app where I record a sound and then it gets played back slightly muffled; like the voice is coming from another room. I've looked into the different options for audio recording and…
swingdoctor
  • 1,551
  • 2
  • 11
  • 18
13
votes
1 answer

Installing OpenGL and OpenAL in Ubuntu

How can I install OpenGL (with GLUT) and OpenAL (with ALUT) in Ubuntu Lucid lynx? I tried installing Mesa 7.8.2 using configure and make (the method told in www.mesa3d.org), but it is not installing anything. X.org's X is installed in my system, but…
Kit
  • 157
  • 1
  • 1
  • 3
12
votes
7 answers

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…
f4nt
  • 2,661
  • 5
  • 31
  • 35
12
votes
1 answer

OpenAL: How to create simple "Microphone Echo" programm?

So I wonder what would be shortest (in terms of effective lines) open AL code for reading data from default microphone and outputting on to default loudspeakers? I am developing on windows 7 under Visual Studio 2008
Rella
  • 65,003
  • 109
  • 363
  • 636
12
votes
3 answers

scaleTimeRange has no effect on audio type AVMutableCompositionTrack

I am working on a simple video editing app. I want to add slow motion to my app. I notice there is a scaleTimeRange method in the AVMutableCompositionTrack class, so I use it to achieve my purpose. I found scaleTimeRange works very well on video…
topfortune
  • 123
  • 7
12
votes
2 answers

How to properly handle audio interruptions?

I've created a OpenGL 3D game utilizing OpenAL for audio playback and experienceing a problem of losing audio if "Home" button is getting pressed before audio device is getting initialized. I tried to hook up to audio session interrupt handler, but…
rubenhak
  • 830
  • 2
  • 10
  • 28
1
2 3
39 40