avfoundation « AVAudioPlayer « iPhone iPad Media Q&A

Home
iPhone iPad Media Q&A
1.animation
2.audio
3.AVAudioPlayer
4.box2d
5.cocos2d
6.CoreGraphics
7.CorePlot
8.Flash
9.graphics
10.icon
11.image
12.photo
13.plot
14.sound
15.video
iPhone iPad Media Q&A » AVAudioPlayer » avfoundation 

1. Setting AVAudioPlayer volume to the user's ring volume?    stackoverflow.com

I'm having a problem with AVAudioPlayer's volume. I can set theAudio.volume property to 1.0, but I'd rather just play the audio at the volume the user has his iphone ringer set ...

2. How would I add effects to AVAudioPlayback    stackoverflow.com

I want to add effects to a sound using the AVAudioPlayer framework. Such effects as echo, pitch change, speed, etc. How would I do this.

3. Recording and then Playing Audio using AVAudioRecorder and AVAudioPLayer    stackoverflow.com

I have an AVAudioRecorder that captures the sound. What I want is to be able to Play(AVAudioPlayer) the recorded(AVAudioRecorder) sound as it is being recorded. I have set up the AVAudioSession property ...

4. Record/Save Sound iPhoneOS    stackoverflow.com

I have to record sound files in my application and saved so that the user can access them later.Can anyone recommends any APIs for this and suggest any portion of documentation ...

5. How can i compare two audio files on the basis of certain parameter say maximum decibel?    stackoverflow.com

I am trying to compare two .caf files on the basis of some parameter, say maximum decibels or duration of files. I have recorded these two files using the

6. How to play background audio using AVFoundation for iPhone/iPoad Touch with iOS 4?    stackoverflow.com

I think that it's clear from the title... The Problem: I already have some objective-c code that uses AVFoundation and its AVAudioPlayer to play some sounds in my iPhone apps, it takes a ...

7. Cannot add category to AVAudioPlayer    stackoverflow.com

I'm trying to add a category to AVAudioPlayer but I keep getting the error "Cannot find interface declaration for 'AVAudioPlayer'". AVAudioPlayer+Fade.h

#import <AVFoundation/AVFoundation.h>

@interface AVAudioPlayer (Fade)

- (void)fadeToVolume:(CGFloat)volume;

@end
AVAudioPlayer+Fade.m
@implementation AVAudioPlayer (Fade)

- (void)fadeToVolume:(CGFloat)volume
{
}

@end
I'm using an AVAudioPlayer in ...

8. Using AVAudioRecorder and AVAudioPlayer at the same time (or alternative ways of listening for sound and playing sound)    stackoverflow.com

Is there any reason why this wouldn't work? I'm testing for sound in the microphone and playing a looping sound effect as I'm registering sound. On the iPod touch this seems to work ...

9. iPhone SDK: How to normalize audio playback using AVAudioPlayer?    stackoverflow.com

I'm doing some testing with AVAudioPlayer and notice that the audio is very low. Some apps, like Audio Memos Free, has an option to "auto normalize" playback volume and this results ...

10. Is it possible to play just a part of an mp3 file with AVAudioPlayer? If yes, how?    stackoverflow.com

Hi I have a locally stored 5:00 minutes mp3 files in my iPhone app. I would like to know if it is possible to play just an interval from that file ...

11. I need to create an audio player with 4-5 melodies    stackoverflow.com

I am new in Iphone SDK programming I need to create audio player but without array. Melodies have names "sound1, sound2, sound3..." My code here:

NSUInteger x;
for (x=1; x<=tuneNums; x++)
{
    ...

12. check if music is played    stackoverflow.com

i use avaudioplayer to play own music in my app. is there a possibility to check if music from the avaudioplayer is playing?

13. AVAudioPlayer: Sounds overlaping!    stackoverflow.com

i made a simple app where i can record myself and then sample what i've recorded. Since i like spamming buttons, i tried it with my own app. The result was, ...

14. iphone avaudiofoundation sound completion in loop    stackoverflow.com

Is it possible to force an audio file to finish playing before proceeding with code? In the below example, I'd like an audio file to play for as many times ...

15. Best way for looping and using background sounds in iphone?    stackoverflow.com

Lets say I am dragging my finger on screen and I have 1 second .caf sound file in my bundle. So what is the best way to play my sound file in ...

16. iPhone SDK: How do you reverse the playback of AVAudioPlayer?    stackoverflow.com

Basically in my app I record a sound, and play it back, I would like to reverse the playback of this audio. I've checked around on the net and I can't seem ...

17. can't access audio file after converting it    stackoverflow.com

Ive been using the following code to convert aac / mp3 files into pcm. The code works fine. But right after the convert ion is done if I try to play ...

18. AVAudioPlayer freezes when play first song    stackoverflow.com

I'm using AVAudioPlayer class to play sound in my app. When i play sound first time, screen freezes for a 2-3 seconds, then it becomes active and without freezes and delays. ...

19. Getting raw audio samples from AVAudioPlayer    stackoverflow.com

I'm loading in a .caf file with AVAudioPlayer, and I'd like to get at a pointer to the audio samples. Is there any way to go about doing this? I know ...

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.