I have an .aifc file of about 2 minutes that I'm playing using AVAudioPlayer. When I send stop I hear a short 'tick'. When I send play after that I hear the tick again.
I tried setting volume to 0 before sending the play and stop methods, but that didn't work.
The tick is somewhat comparable to the sound you hear when you disconnect yo...
I have gone over a silly amount of forum posts and questions here. while i would love to take this advice: http://www.cocos2d-iphone.org/forum/topic/2003 I suppose i just don't trust 'them' as much as this community.
so, I ask, is this a 'negligible leak' if it only seems to happen once when i push a view onto the root view controller?...
I have a class that plays a repeating background music loop with an AVAudioPlayer, and on specific occasion, plays a full-screen video with its own sound track using MPMoviePlayerController. In order to to have only one track at a time, I stop the background music before launching the video:
-(void)startVideo{
[backgroundMusic stop]...
Hello.
My game has 3 background songs. I would like the game to set the background music to off when there is ipod music playing, else it will play the last played piece of music. When the muser changes the music with the ipod music on, the ipod music should go away and the background music plays. The problem is, the second time I try t...
I'm looking at AVAudioRecorder in the iOS SDK and thinking it's not going to be able to meet my audio needs. What I'd like to do is be able to record some audio, then play back that audio to review it (simply using a slider), then be able to continue recording from the end of that file.
I've gathered that I can use AVAudioRecorder to r...
What's the best settings for the recorder for recording voice?
What should i replace with '?' in below code?
recordSetting = [[NSMutableDictionary alloc] init];
[recordSetting setValue :[NSNumber numberWithInt:?] forKey:AVFormatIDKey];
[recordSetting setValue:[NSNumber numberWithFloat:?] forKey:AVSampleRateKey];
[recordSetting setValu...
Hi I have went through a lot of searching and have deduced that
1) I can query for a specific audio file from Ipod Library and can play it using MPMusicPlayerController Library. But the problem is I cannot copy a part of this song and save it with diffrent name.
2) Using AVAudioPlayer I can modify or copy a part of an audio file but th...
I play a sound in viewDidLoad now when user push home button sound paused.when user run app again sound play from place that paused before.how can i stop it(no pause) when user push home button?
...
with below code i can record sound but this way record any sound that play around device i just want to record sound that play with AVAudioPlayer in my app.is it possible ?
NSError *err = nil;
AVAudioSession *audioSession = [AVAudioSession sharedInstance];
[audioSession setCategory :AVAudioSessionCategoryPlayAndRecord error:&err];
[a...
Hi
I'm working on karaoke app. It should record video with sound of a user singing a song. Lyrics and melody are are provided by app.
With video recording everything was fine until I've added audio input to AVCaptureSession. Problem is with AVAudioPlayer that plays melody - it just stops when AVCaptureSession starts. I did not find any r...
I have a page on an iPad that is setup so there are a bunch of characters and background music. Tapping on a character will start an animation and the character will play along with the music. The problem is, the music and animations are getting out of sync and there's probably a better way.
Here is how I'm doing it.
• page loads
• I ad...