iphone Programming Glossary: openal
Audio on the iPhone http://stackoverflow.com/questions/1002838/audio-on-the-iphone so I don't have to load from too many files. Any idea which audio API will be able to do this I reckon either OpenAL or Audio Queue Services but am not sure which is suitable. Any links to guides sample code is also much appreciated. Thanks.. Plus the framework is tremendously cumbersome I'd only use it if I was trying to stream something off the Internet. OpenAL was a godsend was up and running with it in under an hour after getting my hands on the no longer available from Apple CrashLanding.. in under an hour after getting my hands on the no longer available from Apple CrashLanding iPhone sample app. I found OpenAL to be ideally suited to games or even a musical instrument samples could be pre loaded adjusting the frequency was easy..
Mixing Audio on the iPhone http://stackoverflow.com/questions/1667603/mixing-audio-on-the-iphone all at once most common case is to mix two or three audio streams into one stream . What shall I use I know there are OpenAL and Audio Units that could be useful but which one To get a kick start is there a concrete code snippet for how to do this..
Preload sounds played via iPhone AudioServices http://stackoverflow.com/questions/1862281/preload-sounds-played-via-iphone-audioservices problem. Everything in AudioServices is initialized lazily. I think that your best choice is between Core Audio or OpenAL. OpenAL might be overkill but it has a simple API. The oalTouch example is a good place to start. Core Audio is a bit more.. Everything in AudioServices is initialized lazily. I think that your best choice is between Core Audio or OpenAL. OpenAL might be overkill but it has a simple API. The oalTouch example is a good place to start. Core Audio is a bit more raw but..
How do you completely remove and release memory of an OpenAL sound file? http://stackoverflow.com/questions/2035975/how-do-you-completely-remove-and-release-memory-of-an-openal-sound-file do you completely remove and release memory of an OpenAL sound file I have a small level based iPhone app. I need to load and release sound files for each level. Everything works.. @ WARNING SoundManager Sound key ' @' already exists. aSoundKey return NSUInteger bufferID Generate a buffer within OpenAL for this sound alGenBuffers 1 bufferID Set up the variables which are going to be used to hold the format size and frequency.. fileURL CFURLRef NSURL fileURLWithPath bundle pathForResource aFileName ofType aFileExt retain if fileURL data MyGetOpenALAudioData fileURL size format freq CFRelease fileURL if error alGetError AL_NO_ERROR NSLog @ ERROR SoundManager Error loading..
Converting audio to CAF format for playback on iPhone using OpenAL http://stackoverflow.com/questions/254080/converting-audio-to-caf-format-for-playback-on-iphone-using-openal 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.. silence Does anyone have settings for afconvert that will produce a CAF file capable of being played back through OpenAL iphone core audio openal afconvert share improve this question afconvert f caff d LEI16@44100 c 1 in.wav out.caf ..
iPhone: OpenAL & AudioToolbox leak http://stackoverflow.com/questions/3837294/iphone-openal-audiotoolbox-leak OpenAL AudioToolbox leak I work with OpenAL to play sounds in my app. When I test it using Instruments tool it finds a leak LeakedObject.. OpenAL AudioToolbox leak I work with OpenAL to play sounds in my app. When I test it using Instruments tool it finds a leak LeakedObject GeneralBlock 512 Size 512 Bytes.. long 6 AudioToolbox AUMethodSetProperty void unsigned long unsigned long unsigned long void const unsigned long 7 OpenAL OALContext InitializeMixer unsigned long 8 OpenAL OALContext OALContext unsigned long OALDevice int const unsigned long..
Xcode Exit Code 1 - Duplicate Symbol http://stackoverflow.com/questions/5148466/xcode-exit-code-1-duplicate-symbol framework Foundation framework OpenGLES framework QuartzCore framework UIKit framework AudioToolbox framework OpenAL lz framework AVFoundation lcocos2d libraries o Users kahanejosh Library Developer Xcode DerivedData workingTitle cawhuhbkmwcesmbqxvkbkbatdbze..
Can I use Core Audio effects on the iPhone? http://stackoverflow.com/questions/742706/can-i-use-core-audio-effects-on-the-iphone audio share improve this question There are a couple of things you can do on the iPhone WRT to audio. The first is OpenAL a cross platform audio manipulation library that is supported on the iPhone. You can find a FAQ for it here http developer.apple.com.. Core Animation I don't think you have higher level effects available to you out of the box in iPhone's CA. That said OpenAL is cross platform and you should be able to find plenty of sample effects that are part of the OpenAL 1.1 SDK or as part..
How to set up CMake to build an app for the iPhone http://stackoverflow.com/questions/822404/how-to-set-up-cmake-to-build-an-app-for-the-iphone framework OpenGLES framework AudioToolbox framework CoreGraphics framework QuartzCore framework UIKit framework OpenAL set SRC my files add_executable iphone test MACOSX_BUNDLE SRC A few notes I'm explicitly giving the framework linking option..
Audio on the iPhone http://stackoverflow.com/questions/1002838/audio-on-the-iphone down SoundEngine.h CrashLanding or TouchFighter or check out the following link http benbritten.com blog 2008 11 06 openal sound on the iphone Since looped samples was a requirement for me I finally settled on AudioUnits which on the iPhone is..
How do you completely remove and release memory of an OpenAL sound file? http://stackoverflow.com/questions/2035975/how-do-you-completely-remove-and-release-memory-of-an-openal-sound-file remove every trace of my sound file with the ability to load it again Thank you very much iphone audio release openal share improve this question If anyone is interested... my problem was resolved by changing the alBufferDataStaticProc..
Converting audio to CAF format for playback on iPhone using OpenAL http://stackoverflow.com/questions/254080/converting-audio-to-caf-format-for-playback-on-iphone-using-openal settings for afconvert that will produce a CAF file capable of being played back through OpenAL iphone core audio openal afconvert share improve this question afconvert f caff d LEI16@44100 c 1 in.wav out.caf share improve this answer..
What kind of routes could I get back from kAudioSessionProperty_AudioRoute property? http://stackoverflow.com/questions/2753562/what-kind-of-routes-could-i-get-back-from-kaudiosessionproperty-audioroute-prope be funny and wrote in the docs Headphone Speaker etc. What kind of return values are possible in reality iphone audio openal audiosession share improve this question He wasn't being funny those are actual values. The only one I've seen that..
App shows white screen on startup after upgrading to iOS 4.2 http://stackoverflow.com/questions/4266319/app-shows-white-screen-on-startup-after-upgrading-to-ios-4-2 found via the comments of this blog post http www.gehacktes.net 2009 03 iphone programming part 6 multiple sounds with openal The link to the SoundManager and tester app is provided in the comments by David Evans. I am not allowed to provide a second..
How to program a real-time accurate audio sequencer on the iphone? http://stackoverflow.com/questions/907137/how-to-program-a-real-time-accurate-audio-sequencer-on-the-iphone there a way to get real time responses with NSThread on the iphone Best regards Walchy iphone audio core audio timing openal share improve this question NSTimer has absolutely no guarantees on when it fires. It schedules itself for a fire time..
Audio on the iPhone http://stackoverflow.com/questions/1002838/audio-on-the-iphone iphone audio share improve this question I went down this road in 2009 trying Audio Toolkit Audio Queue Services openAL and finally settling on the RemoteIO AudioUnit. Audio Toolbox is fine for basic triggered sound effects but it wasn't able..
How do you completely remove and release memory of an OpenAL sound file? http://stackoverflow.com/questions/2035975/how-do-you-completely-remove-and-release-memory-of-an-openal-sound-file a small level based iPhone app. I need to load and release sound files for each level. Everything works fine with my openAL SoundManager except releasing sounds. At first when I remove a sound it seems to do what it is meant to do it removes the..
another question about recording, modifying and playing audio on iphone http://stackoverflow.com/questions/5137853/another-question-about-recording-modifying-and-playing-audio-on-iphone playing audio on iphone EDIT In the end I used exactly as I explained below AVRecorder for recording the speech and openAL for the pitch shift and playback. It worked out quite well But for his detailed answer that I just didn't have the time.. tutorial here http mobileorchard.com tutorial detecting when a user blows into the mic and I was thinking of using openAL to modify the pitch of the recorded audio. So my question is is my thinking correct in the list of points above am I missing..
How to program a real-time accurate audio sequencer on the iphone? http://stackoverflow.com/questions/907137/how-to-program-a-real-time-accurate-audio-sequencer-on-the-iphone and AVAudioPlayer and OpenAL to AudioQueues. In my last attempt I tried the CocosDenshion sound engine which uses openAL and allows to load sounds into multiple buffers and then play them whenever needed. Here is the basic code init int channelGroups.. As soon as something else happens i.g. drawing in a view it goes out of sync. As I understand the sound engine and openAL the buffers are loaded in the init code and then are ready to start immediately with alSourcePlay source so the problem..
|