Questions tagged [objectal]

ObjectAL is an audio library which provides a simpler, Objective-C interface to OpenAL and AVAudioPlayer for iOS developers.

ObjectAL is an audio library which provides a simpler, Objective-C interface to OpenAL and AVAudioPlayer for iOS developers. ObjectAL for iPhone and Mac is simpler by the design, and has more intuitive interface to OpenAL and AVAudioPlayer.

The project home page: http://kstenerud.github.io/ObjectAL-for-iPhone

10 questions
8
votes
0 answers

ObjectAL automatic interruption handling error

I've been playing with phone calls while (SpriteKit)game running in order to test interruptions. I am using example from ObjectAL documentation called : "Using the OpenAL Objects and OALAudioTrack". So, I let the library to handle this…
Whirlwind
  • 14,286
  • 11
  • 68
  • 157
3
votes
2 answers

iOS how to create audio fade in/out effect in a Sprite Kit game?

I'm interested in how I can manage background music in my Sprite Kit game to achieve fade in/out. I noticed that Sprite Kit has a built-in sound player, but it seems to be more useful for very short effects, like "on hit" sounds: [self…
Alex Stone
  • 46,408
  • 55
  • 231
  • 407
3
votes
2 answers

Compiling a libGDX project for iOS: Native linking failed

I am currently developing a small multiplatform game with libGDX. The game works great on Windows, Android and OSX, but I can't make it compile for iOS. The libGDX guide for iOS states a couple of caveats, but I'm pretty sure I have taken everything…
Erlend D.
  • 3,013
  • 6
  • 37
  • 59
2
votes
0 answers

ExtAudioFileOpenURL failure opening audio file from NSTemporaryDirectory()

My app downloads small audio files from my server and stores them in the NSTemporaryDirectory(). Then I use ObjectAL (which is an OpenAL wrapper library by Karl Stenerud) to place audio in a 3D space. This library uses the ExtAudioFile API to open…
manderson
  • 666
  • 6
  • 15
2
votes
0 answers

How to simply play a CMSampleBufferRef audio data?

I'm capturing audio within an AVCaptureSession, now I'm about to play it. I'm really not into lower level audio processing, so ObjectAL seems a fair choice for this, so I tried to get buffer pointer, some format information, then create an ObjectAL…
Geri Borbás
  • 15,810
  • 18
  • 109
  • 172
1
vote
1 answer

Playing buffer in ObjectAL

I am new to ObjectAL. I use it to play mp3 with changed pitch. I cannot figure out how to "properly" play a loaded buffer in ObjectAL. When I call [source play:buffer] the sound only comes a fraction of a second. To constantly "play" a buffer I can…
Maksim Sorokin
  • 2,334
  • 3
  • 34
  • 61
1
vote
0 answers

Getting positional audio in cocos2d v3

I'm having some trouble using OpenAL in cocos2d v3. Here's some context: What I'm using: Xcode 5 + cocos2d v3 + iPhone 5 (iOS 7). What I want to do: Create a multi-audio-source scene with positional audio (just pan + volume for now). Why didn't I…
1
vote
1 answer

ObjectAL slow motion effect in cocos2d

How can I create slow motion effect for all currently playig sounds and music in my game? I'm using cocos2d v2.1 and ObjectAL. I can set timescale for scheduler, but how I can do this for sound together?
KAMIKAZE
  • 420
  • 6
  • 27
0
votes
1 answer

ObjectAL clipping popping with iOS 9

My drum app was working fine until iOS 9 update. When playing sounds rapidly there is now a clipping popping type noise. All was well until IOS 9. Not sure how to fix? Using OBjectAL which I love hopefully there is a fix. Thanks! Link to…
user1120680
  • 93
  • 3
  • 14
0
votes
0 answers

Play a Sound Using ObjectAL

I am trying to figure out how to use objectal but I have never programmed in objective-c before (just swift and some other non-apple languages). To be frank, objectal is rather over my head, so I am wondering if there is a simple way just to play a…
GregarityNow
  • 707
  • 1
  • 11
  • 25