xcode « audio « 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 » audio » xcode 

1. Help with Audio Services function    stackoverflow.com

This is the blurb accompanying the Audio Services function AudioServicesSetProperty. Its a bit over my head. Can someone give me an example of how to actually use this. Thanks.

AudioServicesSetProperty ...

2. Is there a way to render IPhone mic input directly into memory without working with files?    stackoverflow.com

I see that the IPhone core audio does not include audioDevice objects to render audio input directly into RAM. I hear people talking about using files to do this(like speak ...

3. How do I programmatically play an MP3 on an iPhone?    stackoverflow.com

I'd like to include an MP3 with my app and play it on demand. Unfortunately I am not sure how to get started. I keep reading about .caf files, ...

4. Can Xcode build against older versions of frameworks, statically?    stackoverflow.com

Some MP3 files can't be opened by CoreAudio in OS X and iPhone OS 3.x. This was a bug that I submitted to Apple and has been fixed in 10.6.2. Unfortunately, ...

5. Audio looping in Objective-C/iPhone    stackoverflow.com

So, I'm finishing up an iPhone App. I have the following code in place to play the file:

while(![player isPlaying]) {
  totalSoundDuration = soundDuration + 0.5; //Gives a half second break between ...

6. Can I get default audio files of Iphone (marimba, alarm, ascending,...)?    stackoverflow.com

Currently I am working on iPad. I would like to retrieve system audio files by default in iPad (I think it is the same in iPhone). Does anyone know how to ...

7. Can anyone point me a direction i can follow to learn how to handle audio in xcode    stackoverflow.com

My real objective is to be able to use 1 audio file and create X amount of different pitches and then playing them in the app using some code to handle ...

8. objective c iphone pocket-audio template    stackoverflow.com

Ok, I'm wondering if there are any iphone application templates that can send the mic input of the iphone wirelessly (wifi) to the computer. And then on the computer, there is ...

9. How to get Soundfilenames from an NSArray and play?    stackoverflow.com

I want to play several audiofiles (*.wav) by touching the appropriate UImageViews. Each touching an UIImageView changes an "triggernumber" - wich view is selected. The audiofile names are stored in an ...

10. How to avoid userinput while playing a soundloop complete    stackoverflow.com

I have some UIImageViews (Animals) and by touching them a specific soundloop starts to play. But if the user touches twice or more on the same View, the apropriate soundloop starts over ...

11. unable to play audio file from document?    stackoverflow.com

when ever i try to play audio this error appears 2010-08-27 09:13:40.466 VoiceRecorder[3127:207] Failed with reason: The operation couldn’t be completed. (OSStatus error -43.) what does it mean I am physically storing ...

12. background application for iphone 4    stackoverflow.com


i want to let my app play sound every 20 min even when the app is on background or the iphone is in sleep mode ... i used: [NSTimer ...

13. iOS - Speed Issues    stackoverflow.com

Hey all, I've got a method of recording that writes the notes that a user plays to an array in real time. The only problem is that there is a slight ...

14. Could not start Audio Queue Error starting recording    stackoverflow.com

    CFStringRef state; 
    UInt32 propertySize = sizeof(CFStringRef); 
//  AudioSessionInitialize(NULL, NULL, NULL, NULL); 
    AudioSessionGetProperty(kAudioSessionProperty_AudioRoute, &propertySize, &state);
    if(CFStringGetLength(state) ...

15. Help Fix Memory Leak release    stackoverflow.com

#import "VTM_AViPodReaderViewController.h"
#import <AudioToolbox/AudioToolbox.h> // for the core audio constants


#define EXPORT_NAME @"exported.caf"

@implementation VTM_AViPodReaderViewController

@synthesize songLabel;
@synthesize artistLabel;
@synthesize sizeLabel;
@synthesize coverArtView;
@synthesize conversionProgress;


#pragma mark init/dealloc
- (void)dealloc {
    [super dealloc];
}

#pragma mark vc lifecycle

-(void) viewDidAppear:(BOOL)animated {
 ...

16. How to play streaming audio file in iphone?    stackoverflow.com

How to play streaming audio file in iphone? I am trying to make an app which can play audio file from web server with Play Pause and stop functionality.... can any one ...

17. Scratching Audio    stackoverflow.com

I was wondering where to start if I want to implement scratching features in my app. The user selects a sound file, and can see a LP spinning. I want the ...

18. How to play a audio file in the background?    stackoverflow.com

How can I play an audio file in the background? This is my code:

    NSString *soundFilePath = [[NSBundle mainBundle] pathForResource:@"Alarm" ofType:@"caf"];
    NSData *sampleData = [[NSData alloc] ...

19. Can In-App-Purchase allow users to purchase an audio file?    stackoverflow.com

I am trying to making a Music App Integrated with In-App Purchase where User can buy audio File? Is In-App-Purchase Allow user to buy Audio File ????

20. play audio in iphone    stackoverflow.com

how to create a customized audio player.like the pic tagged below...in genral if i am to play an audio..i get the default audio player.. enter image description here

21. How to Build Audio File Stream iPhone App?    stackoverflow.com

I need some guidance on how to make a audio stream app for multiple audio files, so the app user can choose from the list and listen to the item.Do you ...

22. audio timer that look like alarm clock in iphone    stackoverflow.com

i am new with programming i want to create an iphone apps of sound recording and for the audio timer i want to create something like alarm clock apps a clock ...

23. Best way to fourier transform    stackoverflow.com

We need to get constantly- audio pure frequencies to the iPhone audio jack mic input, and recognize specific frequency. i have read about 2 ways of FFT(/fourier transform) : AurioTouch , or ...

24. get audio input in real time and measure pulse width    stackoverflow.com

Hi I am trying to get audio input signal and measure its width (a pulse). I do that now with AVAudioRecorder , and i can see that the minimum pulse time it can ...

25. how to modify "speak here" to get audio level meter?    stackoverflow.com

Hi After reading so much on the speak here apple's example, i couldnt understand what parts of it i need . I only need to always get the audio data from mic , ...

26. Trying to migrate .mm files to new Xcode project    stackoverflow.com

I'm trying to use some files in a new Xcode project that involves Core-Audio. When I compile I get strange errors such as these in my controlViewer: enter image description ...</p></div></td></tr><tr><td><div class='articleProductElement'><h3 class='articleProductElementTitle'>27. <a href='http://stackoverflow.com/questions/6271184/recording-mp-on-iphone-by-sdk'>Recording mp3 on iPhone by SDK</a><span class='articleProductElementHost'>    stackoverflow.com</span></h3><p class='articleProductElementParagraph'>I'm wondering if it's possible to record an audio file in mp3 format programmatically with Xcode...
I've read a tons of documentations and I've googled for this, but without results..
Someone know if ...</p></div></td></tr><tr><td><div class='articleProductElement'><h3 class='articleProductElementTitle'>28. <a href='http://stackoverflow.com/questions/6644046/how-to-concatenate-or-audio-files-in-ios'>How to concatenate 2 or 3 audio files in iOS?</a><span class='articleProductElementHost'>    stackoverflow.com</span></h3><p class='articleProductElementParagraph'>I'm newcomer in Objective-C and have experience only 5 months coding for iPhone.<br>
Thanks for understanding :)

<strong>What I need:</strong><br>
<strong><em>I need to concatenate 2 or more audio files into one, and export result ...</p></div></td></tr><tr><td><div class='articleProductElement'><h3 class='articleProductElementTitle'>29. <a href='http://stackoverflow.com/questions/6786459/can-i-make-iphone-app-speak'>Can I make iphone app speak?</a><span class='articleProductElementHost'>    stackoverflow.com</span></h3><p class='articleProductElementParagraph'>I have already created an application which retrievs information through web service.
Now i thought about making the <strong>app read the titles</strong> and the user selected content.

Can I use any <strong>frameworks</strong> which ...</p></div></td></tr><tr><td><div class='articleProductElement'><h3 class='articleProductElementTitle'>30. <a href='http://stackoverflow.com/questions/6796588/how-do-i-put-ios-application-in-background-mode-with-audio-option-set'>How do I put iOS application in background mode, with audio option set?</a><span class='articleProductElementHost'>    stackoverflow.com</span></h3><p class='articleProductElementParagraph'>So my application for iphone4 reads data from the accelerometer and sends it to another application via tcp sockets. I need my app to work in background mode, so what I ...</p></div></td></tr><tr><td><div class='articleProductElement'><h3 class='articleProductElementTitle'>31. <a href='http://stackoverflow.com/questions/6830670/playing-audio-file-in-background-multitasking'>Playing audio file in background (multitasking)</a><span class='articleProductElementHost'>    stackoverflow.com</span></h3><p class='articleProductElementParagraph'>I have searched for many web sites in order to play my audio file even the home button on iPhone is pressed. And I have come up with the following:

<pre><code>path = ...</p></div></td></tr><tr><td><div class='articleProductElement'><h3 class='articleProductElementTitle'>32. <a href='http://stackoverflow.com/questions/6837985/where-is-my-recorded-audio-file-and-what-is-its-default-type-in-xcode'>Where is my recorded audio file and what is its default type in xcode?</a><span class='articleProductElementHost'>    stackoverflow.com</span></h3><p class='articleProductElementParagraph'>I'm recording a file using <code>AVAudioSession</code> but i do not know where its stored and with which file format .wav or .mp3 :P ? Could someone help me? Also I need ...</p></div></td></tr><tr><td><div class='articleProductElement'><h3 class='articleProductElementTitle'>33. <a href='http://stackoverflow.com/questions/7208267/localization-of-audio'>Localization of Audio</a><span class='articleProductElementHost'>    stackoverflow.com</span></h3><p class='articleProductElementParagraph'>First of all i am a n00b.
After 3 days of trying and research i decided to get some external help.

What i did and my Project:

i make a book for children.
Now i ...</p></div></td></tr><tr><td><div class='articleProductElement'><h3 class='articleProductElementTitle'>34. <a href='http://stackoverflow.com/questions/7270576/can-we-slice-an-audio-file-mp-or-any-into-segments-parts-of-smaller-size-programmatically-in-xcode'>Can we slice an audio file(mp3 or any) into segments(parts of smaller size) programmatically in Xcode</a><span class='articleProductElementHost'>    stackoverflow.com</span></h3><p class='articleProductElementParagraph'>I have a sound file which requires to be split into smaller parts. Is there any way i can do it, dividing an audio file into small slices of sound as ...</p></div></td></tr><tr><td><div class='articleProductElement'><h3 class='articleProductElementTitle'>35. <a href='http://stackoverflow.com/questions/7381851/audio-does-not-stop'>Audio does not stop?</a><span class='articleProductElementHost'>    stackoverflow.com</span></h3><p class='articleProductElementParagraph'>my small app plays music when user hits play button, but i want the music to stop when user click on the

36. In Xcode which audio file types loop seamlessly?    stackoverflow.com

So, I have read that if you want to make an audio sound play and loop, mp3 doesn't work well because it has a gap. Are there any file types that ...

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.