I want to play multiple tracks simuntanusly and mix them. Apply effects like flange, reverb, chorus any one know a sound engine working on iphone?
Take a look at The Amazing Audio Engine: http://theamazingaudioengine.com/
Check out Superpowered. Looks pretty powerful.
Have you heard about fmod?
Take a look at this website
Hope it helps.
OpenAL is pretty powerful. It can take multiple sources (upto 32 i believe) and play them at the same time. Check this link out. Hope it helps.
BASS audio library also has an iOS version with a shareware license that costs 125€.
Also there is this very nice cross platform Audio API for iOS and Android called Cricket Audio. You can refer to it from the below link:
Cricket Audio API for Games and Other apps
Hope this helps you.
You might also want to take a look at Novocaine, which is really straightforward to use.
fmod.org provide a nice framework that helps a lot while working with audio.
I'm using something like Cocos2D Simple Audio Engine:SoundMaster engine.
But it has better memory management, cross-fade effects and other features.
Related
It's easy enough to use the system-supplied user interfaces for taking pictures and movies on supported iOS devices. How do I do raw video capture and manipulation in iOS 3 and iOS 4? I'm looking for the names of the relevant classes and methods, and possibly a tutorial or reference from Apple...
You can look at these place
AVCam sample
How to Play, Record, and Edit Videos in iOS
Audio & Video Starting Point
AVCaptureSession preference
Wrapper library by Andrew
If you're looking for tuts, there are a lot here.
There good start from Apple with a lots of links that can help. See Audio & Video Starting Point.
You can't do raw video capture on iOS anymore (there used to be hack for iOS3, but now that's it's official in iOS4, they disallowed the hack).
And on iOS 4 - I believe this is the best start:
http://developer.apple.com/library/ios/#documentation/AudioVideo/Conceptual/AVFoundationPG/Articles/03_MediaCapture.html
(Read a little, then browse to Processing Frames of Video)
Cheers,
Oded.
I need to play mp3 audio data in iPhone continuously. I am getting continuous mp3 data via server in iPhone. Now I need to play this data in iPhone. I cannot access url to play as it is of mms protocol. So, for playing this type of data which is the best method to use. Can anyone help me out with this thing.
Thanks in advance.
You have a few options sanctioned by or directly from Apple. You should look into:
Core Audio and the Audio Toolbox
The AVFoundation Framework
The OpenAL Framework
Also, you can try Matt Gallagher's AudioStreamer class. It should be able to do the job, or at least help you figure out how to do so, if you look at the code.
Between those four options, there should be something to help.
NOTE:
After writing this, I did a bit of Googling and I found this thread that discusses the possibility of streaming MMS media to iPhone. It appears that it is not possible, due to the cost of a license from Microsoft. In theory, the above-mentioned frameworks should do everything you need, but it seems that you cannot because of the licensing issue.
Good luck!
audioPlayer = [[AVAudioPlayer alloc]initWithData:<#(NSData )data#> error:<#(NSError *)outError#>];
try this else tell me more clear what you want to do
could anyone explain how to record audio on the iphone. I already read the sampleProject of the developer-page. Moreover the documentation didn't quite answered my question.
It would be great to have a kind of checklist how to implement a simple audiorecorder.
Thanks!!!
There is already one as a sample app.
Check "Speak Here" that app records and play sounds. Is a low level sample for CoreAudio.Framework
But if you prefer something newer (and probably better for your needs) check for AVFoundation.framework I am sure there are new APIs in iOS 4.0 that allow to capture sounds like AVCapture, AVInputDevice, etc.
Cheers
For example, if I wanted to play back an shoutcast web radio audio stream on the iPhone, what libs could I use for this?
I thinks the best method should be to use audiostreamer.
Hope this framework helps you.
Thanks,
Madhup
I want to change the pitch of my audio and I know that AV Foundation is not the place to look for that, but I don't want to learn Open AL because it is to low level, does anyone know what I would use as an alternative?
take a look at this link. Lately, I used csound API for creating MIDI sounds.
But OpenAL is cross-platform audio manipulation library that is supported on the iPhone. Hope this answer helps you. Take a look at this FAQ.
Take a look at Dirac 2 for iPhone:
http://www.dspdimension.com/technology-licensing/dirac2-iphone/
If you want to implement this yourself, you could also consider using Core Audio and the RemoteIO audio unit.
Core Audio is also a low level API, but if you want to do DSP, you will have to use this kind of APIs sooner or later.
To get started with the RemoteIO unit:
http://atastypixel.com/blog/2008/11/04/using-remoteio-audio-unit/