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

1. Tone Generation in Cocoa Touch    stackoverflow.com

I need to generate a tone that I can manipulate frequency and wave. The overall goal is to create a basic piano. Does anyone know how I can achieve this? My development ...

2. ExtAudioFileOpenUrl giving EXC_BAD_ACCESS    stackoverflow.com

I have created a sample application using the iPhone SDK that uses ExtAudioFileOpenURL from the AudioToolBox framework. I have a test.mp3 audio file in my app's document folder. When I tried ...

3. NSSound on the iphone    stackoverflow.com

I've been looking for a while how to play sound on the iphone, and I think it's something along the lines of:

[[NSSound soundNamed:@"cat.mp3"] play];
But the NSSound is on the AppKit ... ...

4. Most performant audio layer?    stackoverflow.com

I'm curious as to which of the available audio layers is the most performant, out of the ones available on the iPhone. Currently I've used the SystemSoundID method, and the AVAudioPlayer ...

5. How to retrieve a valid mHostTime using AudioQueues    stackoverflow.com

I'm developing for the iPhone and am trying to get an initial timeStamp to sync my audioQueues. I'm using AudioQueueDeviceGetCurrentTime for this. According to the documentation this function gives back a ...

6. How to solve "could not find audio decoder component 64766938 for registration"?    stackoverflow.com

How can I remove this "could not find audio decoder component 64766938 for registration" which is shown in nslog?

7. how to pause/resume audio when iphone is locked/unlocked    stackoverflow.com

Here's what currently happens in my app: Locking: iPhone Lock Button Pressed -> Audio Paused
Unlocking: iPhoneUnlocked Button Pressed -> Audio Resumed -> Slide to Unlock -> App Appears I want the Unlocking ...

8. Can I use Core Audio effects on the iPhone?    stackoverflow.com

I know that a subset of Core Audio is available in the iPhone OS, but I don't know how much of all the effects / filters is available. If it is ...

9. Creating ADTS frame on iPhone.... problem    stackoverflow.com

I am getting raw aac data from web stream and try to put it in ADTS frame in order to play it on iPhone. It works for 10 seconds then sound stops ...

10. Audio envelopes differences... ADTS, CAF,     stackoverflow.com

I would like to know differences between these different audio envelopes. and when to use one instead another one. Sorry if my question seems stupid... Thanks for your help. Thierry

11. How to detect iphone is on silent mode    stackoverflow.com

I am developing one application. In that I want to detect through coding that "is iphone on silent mode or not?". I am developing it by using cocoa with objective-c. If anyone ...

12. MPMoviePlayer Audio Album art    stackoverflow.com

I am streaming an MP3 file using MPMoviePlayer, and I would like to have an image displayed instead of the default Quicktime logo in the background. I found out a way to ...

13. audio engine on iPhone    stackoverflow.com

I want to develop a voip application for iPhone. Could you let me know how can I achieve a good voice quality? How should I start with developing a good audio ...

14. Efficient way to make a Programmatic Audio Mixdown    stackoverflow.com

I'm currently working on the iPhone with Audio Units and I'm playing four tracks simultaneously. To improve the performance of my setup, I thought it would be a good idea to ...

15. iPhone Audio Issue    stackoverflow.com

I released an iPhone application a few months ago. Everything has been working fine and I have confirmed at least 20 different devices/users working flawlessly. In the last week ...

16. AudioQueueOfflineRender questions    stackoverflow.com

I have a few questions about this after reading the iPhone documentation on it:

  1. Does this take the audio being played and save it to a buffer so it can be written ...

17. Audio on the iPhone    stackoverflow.com

I'm looking to create an app that emulates a physical instrument. I've got audio samples but I want to be able to increase the pitch/frequency dynamically so I don't have to ...

18. Movie, Image Editing, Mixing Audio in IPhone    stackoverflow.com

I need to develop some sort of application featuring Editing Movie slices, Adding and editing images, Adding sound . recording movie, Adding effects, setting transitions between movie clips and ...

19. Real-time Pitch Shifting on the iPhone    stackoverflow.com

I have a children's iPhone application that I am writing and I need to be able to shift the pitch of a sound sample using Core Audio. Does anyone have any ...

20. Amr Encoder for Iphone    stackoverflow.com

I was trying to find an AMR Encoder for Iphone That I can integrate with my Voice recording application. Thanks,

21. How do I set a value in Objective C for an iPhone app?    stackoverflow.com

I'm very new at Objective C and developing for the iPhone so I apologize if this is an easy answer I've tried searching Google for going on 3 days now and ...

22. What is the setup proceedure for an AUConverter for use in an Core Audio AUGraph    stackoverflow.com

I want to convert from pcm 44100khz 16bit signed 2 channel interleaved (packed) format to 44100khz floats 2 channel non-interleaved (2 buffers) format for use in an AUGraph. I have been messing with it for a few days. whats the best way ...

23. audio on iPhone    stackoverflow.com

How can I do the following things with iPhone sdk: 1. Access built in microphone, get amplitude of a sound. 2. Record sound from microphone into a file. 3. Playback the audio recorded from ...

24. Speex for iphone    stackoverflow.com

how to use "speex" for audio encoding/decoding in iphone? I am not getting the framework to add in project.

25. Audio analyzer for finding songs pitch    stackoverflow.com

Is there anyway to analyze the audio pitches programmatically. For example, i know most of the players show a graph or bar & if the songs pitch is high @ time ...

26. iPhone/Objective-C - transform voice "live"    stackoverflow.com

so i'm doing a little bit of research/thinking about a project i might do and have run into some questions you guys might be able to help me answer. is it possible ...

27. Avoiding floating point arithmetic    stackoverflow.com

I wrote a small software synth for the iPhone.
To further tune performance I measured my application with Shark and found that I am loosing a lot of time in float/SInt16 ...

28. Create pitch changing code?    stackoverflow.com

Does anyone know how I could record some audio on the iphone then change the pitch of the audio?

29. Mixing Audio on the iPhone    stackoverflow.com

I have a number of static audio files that I want to be able to dynamically mix together and play on the iPhone (not all at once, most common case is ...

30. CFReadStreamRef and size of bytes available    stackoverflow.com

I'm trying to implement a Streaming music Player using iphone sdk, based on the sample code by Matt Gallagher ( http://cocoawithlove.com/2008/09/streaming-and-playing-live-mp3-stream.html) now i would like to know how can i ...

31. Looped Audio samples in the iPhone    stackoverflow.com

I am trying to made a musical iPhone application and I am having some problems playing looped samples. I have read this question: audio-on-the-iphone and several other posts and blogs in the web ...

32. iPhone audio and AFSK    stackoverflow.com

Here is a question for all you iPhone experts: If you guys remember the sounds that modems used to make, or when one was trying to load a program from a cassette ...

33. ExtAudioFileConvert questions    stackoverflow.com

I'm making some progress on taking a compressed (mp3) sound and saving it as PCM. In addition, I wanted to split the original file into chunks that are 2 seconds ...

34. where to start with audio synthesis on iPhone    stackoverflow.com

I'd like to build a synthesizer for the iPhone. I understand that it's possible to use custom audio units for the iPhone. At first glance, this sounds promising, since there's lots ...

35. iPhone audio analysis    stackoverflow.com

I'm looking into developing an iPhone app that will potentially involve a "simple" analysis of audio it is receiving from the standard phone mic. Specifically, I am interested in the highs ...

36. (iPhone) Can I do AudioServicesPlaySystemSound Looping with scheduler?    stackoverflow.com

Can I do AudioServicesPlaySystemSound Looping with scheduler? One problem is I cannot get the sound duration. Is there any way to get the duration so I can dynamically create a scheduler ...

37. How to make a simple audio equalizer for the iPhone?    stackoverflow.com

I want to make a simple audio equalizer for the iPhone, but I don't know how to start. The equalizer should be really simple and just change bass, high, distortion and ...

38. Soundtouch for iPhone    stackoverflow.com

Has someone been able to make http://www.surina.net/soundtouch/ work for iPhone? Simple Xcode Demo would be helpful. I'd just like to play a soundeffect with some pitch manipulation. thx chris

39. How to do audio latency test in iphone os    stackoverflow.com

How to do audio latency test in iphone os ? I don't have a clear idea about that. Now am reading a caf file like this .

NSString *soundPath = [[NSBundle ...

40. Are there any iPhone Audio Frameworks that support scrubbing and 2x?    stackoverflow.com

Do any of the iPhone Audio frameworks (or open source frameworks) support scrubbing and 2x (i.e. ability to play audio at 2X, 3X the normal speed)?

41. How to Develop a DJ Application for iPhone    stackoverflow.com

I am new to iPhone development, so please bear with me if I ask some simple questions. I have to develop a DJ application for iPhone. My application should have some ...

42. Split UInt32 (audio frame) into two SInt16s (left and right)?    stackoverflow.com

Total noob to anything lower-level than Java, diving into iPhone audio, and realing from all of the casting/pointers/raw memory access. I'm working with some example code wich reads a WAV ...

43. Audio/Voice Visualization    stackoverflow.com

Does anyone know how I would go about changing (transforming) an image based on the input from the Microphone on the iPhone? i.e. When a user speaks into the Mic, the image ...

44. AudioFileWriteBytes fails with error code -40    stackoverflow.com

I'm trying to write raw audio bytes to a file using AudioFileWriteBytes(). Here's what I'm doing:

void writeSingleChannelRingBufferDataToFileAsSInt16(AudioFileID audioFileID, AudioConverterRef audioConverter, ringBuffer *rb, SInt16 *holdingBuffer) {
// First, figure out which bits of ...

45. AudioOutputUnitStart takes time    stackoverflow.com

I'm making an iPhone game application using Core Audio, Extended Audio File Services. It works OK, but when I first call AudioOutputUnitStart, it takes about 1-2 seconds. After the second call, no problem. For ...

46. How can I find out if an external headset is connected to an iPhone?    stackoverflow.com

I wonder if it's possible to detect that the user has an external headset plugged into the iPhone's 3.5mm connector or the 30-pin connector. I want to output audio only to ...

47. Core Audio - CARIngBuffer    stackoverflow.com

Im looking at using the CARingBuffer in iPhone SDK 3.1 Developer\Extras\CoreAudio\PublicUtility, however was a little puzzled about some of its methods. Firstly this will only make sense really to anyone who's ...

48. Using kAudioSessionProperty_OtherMixableAudioShouldDuck on iPhone    stackoverflow.com

I'm trying to get consistant behavior out of the kAudioSessionProperty_OtherMixableAudioShouldDuck property on the iPhone to allow iPod music blending and I'm having trouble. At the start of my app I set ...

49. How to reverse an audio samples?    stackoverflow.com

How can i reverse an audio samples with iphone sdk? I'll try to make a "dj scratch" effect. I'm talking about speeding up and slowing down and reversing the audio samples in real ...

50. I just don't get AudioFileReadPackets    stackoverflow.com

I've tried to write the smallest chunk of code to narrow down a problem. It's now just a few lines and it doesn't work, which makes it pretty clear that I ...

51. VU meter implementation in iphone    stackoverflow.com

I am developing an aplication for iPhone which records audio and saves that audio file. I need to create a UI similar to that in Voice Memo app with a VU ...

52. Is the Finch audio library for iPhone capable of doing this?    stackoverflow.com

I need to:

- start / stop sounds with lengths between 0.1 and 10 seconds
- change the playback volume
I want to / would like to / would be nice to have to:
- ...

53. Is Objective C fast enough for DSP/audio programming    stackoverflow.com

I've been making some progress with audio programming for iPhone. Now I'm doing some performance tuning, trying to see if I can squeeze more out of this little machine. Running Shark, ...

54. iPhone Audio Effects    stackoverflow.com

I'm searching for Library, Framework or SDK for add audio effects in Objective-C, like reverber, echo etc... Somebody knowns something?

55. Change in pitch of voice    stackoverflow.com

I am creating an iPhone application in which when I make a call to anyone I should be able to change the pitch of my call voice in real time. So ...

56. AudioFileReadBytes error    stackoverflow.com

I read a file .caf with my program. I use AudioFileReadBytes, but its OSStatus that return is -39, what is this?? thanks

57. Objective-C and Interfacebuilder with Audio    stackoverflow.com

I want to make an app that has buttons that when pressed, plays a sound. How would I add the sounds, and then use the Line thing in IB to connect ...

58. audio frameworks in iPhone    stackoverflow.com

I would like to know the follwing information about iPhone audio system

  • Heirarchy of the audio framework in iPhone OS. i know that there are 3 main audio frameworks in iPhone OS.i.e
AVFoundation ...

59. iPhone 3.5mm jack based application    stackoverflow.com

I want to encode data via a DTMF encoder and send it back to the iPhone via the 3.5mm Jack. Is it possible to send data back into the 3.5mm jack. conventionally ...

60. Audio Framework in iPhone    stackoverflow.com

There are three major frameworks for iPhone audio :

  • AVFoundation Framework
  • CoreAudio Framework
  • OpenAL Library
And in turn CoreAudio Framework has
  • AudioToolkit Framework and
  • AudioUnit Framework
Is this correct? Suppose I import AVFoundation Framework into my ...

61. AudioFileWriteBytes returns error -50 randomly    stackoverflow.com

I have the following code snippet:

    OSStatus status = AudioFileWriteBytes(self.audioFile, FALSE, self.startingByte, &ioNumBytes, theData);
The status code randomly returns noErr and -50 on the iPhone simulator. It then works if ...

62. Not able to call application delegate method    stackoverflow.com

I am developing app with finding audio frequency by using FFT. In my app, I am not able to call application delegate method in app delegate class as given in below, ...

63. How to time-shift audio on iPhone    stackoverflow.com

This is similar to The Pitch Shift question, except I want to keep my audio at the same pitch, but play it slower or faster -- time shift it. ...

64. how to run audio after the application hes entered in backgroundMode in iPhone 4.0    stackoverflow.com

I have tried several forums but still unable to get the answer.. I am developing an application which does radio streaming in iPhone 4.0 Now i want that the audio of the radio ...

65. Reading Core Audio as an array of floats    stackoverflow.com

I'm trying to read a .caf file as an array of float values in order to perform an FFT and retrieve some pitch data. The .caf file is saved as ...

66. Does iPhone support audio in via dock connector    stackoverflow.com

Fisrt , sorry my bad English I'd like to play audio on iPhone / iPod via dock connector the model is audio in from dock to iPhone, and audio out from iPhone is't possible ...

67. How to measure how hard someone is whistling into iPhone mic?    stackoverflow.com

I'd like to do an application that detects if someone is blowing/whistling into an iPhone mic. Something like Ocarina by Smule. Any code examples / tutorials on that subject?

68. iPhone API - Sending electric signals thru audio jack    stackoverflow.com

Anyone know if this is allowed by the iPhone's various Api's or even if Apple allows this? Example: Plug something in the audio jack and use it as a "taser" (this is ...

69. Using the apple FFT and accelerate Framework    stackoverflow.com

Has anybody used the apple FFT for an iPhone app yet or know where I might find a sample application as to how to use it? I know that apple ...

70. Accessing audio samples on the iPhone    stackoverflow.com

I want to code up a audio fx program that would process the samples coming in through the mic input and play them through the audio output in near realtime. But ...

71. Jack/earpiece detection in iphone    stackoverflow.com

Anyone could tell me how to detect when a jack of an earpiece is plugged-in into an ipad or iphone? Thanks

72. uploading images/audio from iPhone to server not able to send big images    stackoverflow.com

I dont know if it is a problem with my iPhone code or SERVER. I am uploading Image/Audio from iPhone to server using NSURLConnection. The images and audio get uploaded just ...

73. AudioServicesAddSystemSoundCompletion: how to use the void* parameter?    stackoverflow.com

I want to play two sounds, but the last one only after the first ends. I'm using AudioServicesAddSystemSoundCompletion like that:

  NSArray  *data      = [NSArray arrayWithObjects:target, ...

74. How to make a RTA analyser in Iphone    stackoverflow.com

I want to make a RTA for audio. I will try it by the aurioTouch sample code but i did not able to make that actual RTA, I want to make ...

75. How i can printf result like 0.0045    stackoverflow.com

     I only get this 
1667785316 1667785316 1667785316
     Float32 preferredBufferSize = 0.005; // 5 millis buffer
  UInt32 size = sizeof(preferredBufferSize);


    AudioSessionGetProperty(kAudioSessionProperty_CurrentHardwareIOBufferDuration, ...

76. Cocoa Touch - Resources Question    stackoverflow.com

Hey all, I have a selector that searches the mainBundle for all .aif files, and allows the user to select them. This works fine, but then I removed some of the ...

77. iPhone: Problems after application submission in AppStore    stackoverflow.com

I've submitted my first iPhone App to the AppStore (on 10.09.10) and I have just found out that it was "Ready For Sale" (18.09.10). After a short moment of deep Happiness, ...

78. Audio Broadcasting    stackoverflow.com

I want to do an i-phone application for broadcast audio LIVE over the internet..Anyone please guide me...

79. Iphone offline render of avasset track-- how to get packet size?    stackoverflow.com

Does anybody know how to pull the max packet size from an AVAssetTrack? Or an AVAsset in general? I'm trying to set up an offline rendering audio queue by ...

80. Audio Broadcasting Live to internet    stackoverflow.com

I am trying to develop an application related to Live Audio Broadcasting on internet.I already seen application like Ustream and ipadio.My query is How they are creating a web address to ...

81. iphone audio app development    stackoverflow.com

I'm a beginning developer who has done a bit of audio work. I was just wondering what is the approach to starting to work with audio on the iphone platform. I ...

82. Is there another API that will enable real-time audio processing on iOS?    stackoverflow.com

I was hoping to make an application that did real time voice manipulation like the the T-Pain App. But AVAudioRecorder only enables a post processing from of audio manipulation. Is ...

83. Is it possible to check if an audio existes in audo library using MPMediaItemPropertyPersistentID?    stackoverflow.com

I hope to add audio from audio library to a MPMediaItemCollection. I hope I can store the MPMediaItemCollection
So I write the MPMediaItemPropertyPersistentID to an array. When I need to reload and replay the ...

84. Is it possible to get all audios in audio library and store into a MPMediaItemCollection without using mediapicker    stackoverflow.com

I hope to sue codes to load all audios into a MPMediaItemCollection object without using mediapicker manual action. Is it possible?

85. Audio issues with Transitions app    stackoverflow.com

I have a transition based app I decided to expand my app and add audio but one issue with the audio does not let me move on. When I add the ...

86. Use remote control for non-audio related tasks?    stackoverflow.com

Would it be possible to use the audio controls in the multitasking tray for non-audio related tasks? (For example, putting the app icon there, or using the buttons to respond to something ...

87. Trouble using Apple's MixerHostAudio example class    stackoverflow.com

For my iPhone app, I'm trying to use Apple's MixerHostAudio class to mix and play the audio files specified by the user. The class files can be found here: http://developer.apple.com/library/ios/#samplecode/MixerHost/Listings/Classes_MixerHostAudio_h.html To ...

88. iOS framework to get audio in from dock connector    stackoverflow.com

How would I go abouts playing an 'audio in' through the dock connector in an iOS app? I'm making an app just for myself and have no plans of putting it ...

89. Iphone audio alert when application is not running?Possibble?How?    stackoverflow.com

Is this possible to get an audio alert when application is not running...?If yes then how it is possible? How to sync a code when application is not running? Have heard about Push ...

90. Getting only Album titles, playlists in MPMediaPickerController    stackoverflow.com

I am trying to figure out how to get the MPMediaPickerController to display only albums and playlists. I can get the lists via the MPMediaQuery, but don't know how to ...

91. Working on audio mixing application for iphone    stackoverflow.com

I am working on creating a DJ mix app for Iphone in which a user can select two audio files and can select parts of the audio files to create a ...

92. Audio Duration problem After being exported by AVAssestExportSession    stackoverflow.com

I have been working on a audio application where a user records the audio and later I have to give user the facility to edit that recorded audio as well. The ...

93. Measuring distance between two iOS Devices    stackoverflow.com

Yeah, I'm currently wondering about this. In my use case the devices will be 50cm to 10m apart and I'd like it to be accurate to at least 10 cm. (Therefore GPS ...

94. [NSMutableArray objectAtIndex:]: index 0 beyond bounds for empty array from AVURLAsset    stackoverflow.com

I tried with following code to merge the audios.

AVMutableComposition* composition = [AVMutableComposition composition];
AVURLAsset* videoAsset = [[AVURLAsset alloc]initWithURL:audioURL options:nil];
AVURLAsset* audioAsset1 = [[AVURLAsset alloc]initWithURL:audioURL1 options:nil];
AVURLAsset* audioAsset2 = [[AVURLAsset alloc]initWithURL:audioURL1 options:nil];
AVMutableCompositionTrack *compositionVideoTrack = ...

95. iPhone OS4 alarm clock    stackoverflow.com

I have read many posts and still i cannot achieve the desired functionality while my application is suspended in the background.
My reference point is this radio alarm application. The things ...

96. Audio Processing in recorded audio    stackoverflow.com

I am developing an application where i use AVAudioRecorder to record & AVAudioPlayer to play audio files. But what i want to do is after recording the voice , do some speech ...

97. APNS Sending Frequent Notifications to Device    stackoverflow.com

I'm trying to mimic a pager with my app by sending push notifications to the user until he or she responds. My thought was to send a push every few ...

98. Iphone read audio from built in apps    stackoverflow.com

I'm trying to implement audio analysis to my app (ie for a visualizer or something). Using the Audio Queue framework, can I read the output of itunes playing in the ...

99. applying Reverberation effect in iPhone    stackoverflow.com

Possible Duplicate:
How to develop an iphone app with reverb functionality ?
Hi Everybody, I'm trying to apply reverb effect in an iPhone application, can anybody lead ...

100. How to develop an iphone app with reverb functionality?    stackoverflow.com

I am developing an iPhone application (like Audio Processing). I have to give some effect to the audios. If it is desktop app, many options are there. We can get ...

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.