¡@

Home 

2014/10/15 ¤U¤È 10:04:11

iphone Programming Glossary: audio

How do I record audio on iPhone with AVAudioRecorder?

http://stackoverflow.com/questions/1010343/how-do-i-record-audio-on-iphone-with-avaudiorecorder

do I record audio on iPhone with AVAudioRecorder Now that iPhone 3.0 sdk is public I think I can ask this question for.. this question for those of you that have already been playing with the 3.0 sdk. I want to record audio in my application but I want to use AVAudioRecorder and not the older way of recording like the example.. development so I am looking for a simple sample to get me started. Thanks in advance. iphone audio recording share improve this question Actually there are no examples at all. Here is my working..

Autoplay audio files on an iPad with HTML5

http://stackoverflow.com/questions/3009888/autoplay-audio-files-on-an-ipad-with-html5

audio files on an iPad with HTML5 I'm trying to get an audio file to autoplay in Safari on an iPad. If I.. audio files on an iPad with HTML5 I'm trying to get an audio file to autoplay in Safari on an iPad. If I go to the page using Safari on my Mac it's fine. On the.. If I go to the page using Safari on my Mac it's fine. On the iPad autoplay does not work. iphone audio ipad html5 share improve this question This is a hack and it's not working anymore on IOS 4.X and..

Using the apple FFT and accelerate Framework

http://stackoverflow.com/questions/3398753/using-the-apple-fft-and-accelerate-framework

sample code posted but I'm not really sure how to implement it into an actual project. iphone audio fft share improve this question I just got the FFT code working for an iPhone project create a new..

Text to speech on iPhone [closed]

http://stackoverflow.com/questions/416064/text-to-speech-on-iphone

third party TTS engines available for the iPhone AFAIK Acapela is not yet released iphone core audio share improve this question I don't think iPhone SDK provides any TTS facility internally. You should..

iPhone - Backgrounding to poll for events

http://stackoverflow.com/questions/4656214/iphone-backgrounding-to-poll-for-events

is useful code if you must sometimes check something. The doc says that all background tasks VoIP audio location updates will be automatically restarted in background if the app was terminated. VoIP apps..

Make movie file with picture Array and song file, using AVAsset

http://stackoverflow.com/questions/6061092/make-movie-file-with-picture-array-and-song-file-using-avasset

Array and song file using AVAsset I'm trying to make movie file using a picture array and an audio file. To make movie with a picture array i used the big post by zoul here . All is perfect I have my.. post by zoul here . All is perfect I have my movie with my picture. However when I try to add some audio tracks I have lot of problems. To understand I put my code When I call this method picture array and.. AudioChannelLayout channelLayout.mChannelLayoutTag kAudioChannelLayoutTag_Stereo NSDictionary audioSettings NSDictionary dictionaryWithObjectsAndKeys NSNumber numberWithInt kAudioFormatMPEG4AAC AVFormatIDKey..

How do I record audio on iPhone with AVAudioRecorder?

http://stackoverflow.com/questions/1010343/how-do-i-record-audio-on-iphone-with-avaudiorecorder

do I record audio on iPhone with AVAudioRecorder Now that iPhone 3.0 sdk is public I think I can ask this question for those of you that have already been playing with the 3.0 sdk... Now that iPhone 3.0 sdk is public I think I can ask this question for those of you that have already been playing with the 3.0 sdk. I want to record audio in my application but I want to use AVAudioRecorder and not the older way of recording like the example SpeakHere shows. There are not any examples of how to best.. and only reference to the classes. I am a newbie at iPhone development so I am looking for a simple sample to get me started. Thanks in advance. iphone audio recording share improve this question Actually there are no examples at all. Here is my working code. Recording is triggered by the user pressing a button on..

Autoplay audio files on an iPad with HTML5

http://stackoverflow.com/questions/3009888/autoplay-audio-files-on-an-ipad-with-html5

audio files on an iPad with HTML5 I'm trying to get an audio file to autoplay in Safari on an iPad. If I go to the page using Safari on my Mac it's fine. On the iPad.. audio files on an iPad with HTML5 I'm trying to get an audio file to autoplay in Safari on an iPad. If I go to the page using Safari on my Mac it's fine. On the iPad autoplay does not work. iphone audio ipad html5 share.. to get an audio file to autoplay in Safari on an iPad. If I go to the page using Safari on my Mac it's fine. On the iPad autoplay does not work. iphone audio ipad html5 share improve this question This is a hack and it's not working anymore on IOS 4.X and above. This one worked on IOS 3.2.X. It's not true. Apple..

Using the apple FFT and accelerate Framework

http://stackoverflow.com/questions/3398753/using-the-apple-fft-and-accelerate-framework

application as to how to use it I know that apple has some sample code posted but I'm not really sure how to implement it into an actual project. iphone audio fft share improve this question I just got the FFT code working for an iPhone project create a new project delete all the files except for main.m and xxx_info.plist..

Text to speech on iPhone [closed]

http://stackoverflow.com/questions/416064/text-to-speech-on-iphone

in an iPhone app Is it possible using the SDK Are there any third party TTS engines available for the iPhone AFAIK Acapela is not yet released iphone core audio share improve this question I don't think iPhone SDK provides any TTS facility internally. You should use a third party TTS engine or write one yourself. share..

iPhone - Backgrounding to poll for events

http://stackoverflow.com/questions/4656214/iphone-backgrounding-to-poll-for-events

like threads are being executed for nearly 30 seconds. This is useful code if you must sometimes check something. The doc says that all background tasks VoIP audio location updates will be automatically restarted in background if the app was terminated. VoIP apps will be started in background automatically after bootup With..

Make movie file with picture Array and song file, using AVAsset

http://stackoverflow.com/questions/6061092/make-movie-file-with-picture-array-and-song-file-using-avasset

movie file with picture Array and song file using AVAsset I'm trying to make movie file using a picture array and an audio file. To make movie with a picture array i used the big post by zoul here . All is perfect I have my movie with my picture. However when I try to add some audio.. file. To make movie with a picture array i used the big post by zoul here . All is perfect I have my movie with my picture. However when I try to add some audio tracks I have lot of problems. To understand I put my code When I call this method picture array and song file are ready void writeImagesToMovieAtPath NSString.. AudioChannelLayout channelLayout memset channelLayout 0 sizeof AudioChannelLayout channelLayout.mChannelLayoutTag kAudioChannelLayoutTag_Stereo NSDictionary audioSettings NSDictionary dictionaryWithObjectsAndKeys NSNumber numberWithInt kAudioFormatMPEG4AAC AVFormatIDKey NSNumber numberWithFloat 44100.0 AVSampleRateKey..

How do I record audio on iPhone with AVAudioRecorder?

http://stackoverflow.com/questions/1010343/how-do-i-record-audio-on-iphone-with-avaudiorecorder

do I record audio on iPhone with AVAudioRecorder Now that iPhone 3.0 sdk is public I think I can ask this question for those of you that.. I think I can ask this question for those of you that have already been playing with the 3.0 sdk. I want to record audio in my application but I want to use AVAudioRecorder and not the older way of recording like the example SpeakHere shows... I am a newbie at iPhone development so I am looking for a simple sample to get me started. Thanks in advance. iphone audio recording share improve this question Actually there are no examples at all. Here is my working code. Recording is triggered..

Autoplay audio files on an iPad with HTML5

http://stackoverflow.com/questions/3009888/autoplay-audio-files-on-an-ipad-with-html5

audio files on an iPad with HTML5 I'm trying to get an audio file to autoplay in Safari on an iPad. If I go to the page using.. audio files on an iPad with HTML5 I'm trying to get an audio file to autoplay in Safari on an iPad. If I go to the page using Safari on my Mac it's fine. On the iPad autoplay does not.. Safari on an iPad. If I go to the page using Safari on my Mac it's fine. On the iPad autoplay does not work. iphone audio ipad html5 share improve this question This is a hack and it's not working anymore on IOS 4.X and above. This one worked..

Using the apple FFT and accelerate Framework

http://stackoverflow.com/questions/3398753/using-the-apple-fft-and-accelerate-framework

that apple has some sample code posted but I'm not really sure how to implement it into an actual project. iphone audio fft share improve this question I just got the FFT code working for an iPhone project create a new project delete all..

Text to speech on iPhone [closed]

http://stackoverflow.com/questions/416064/text-to-speech-on-iphone

the SDK Are there any third party TTS engines available for the iPhone AFAIK Acapela is not yet released iphone core audio share improve this question I don't think iPhone SDK provides any TTS facility internally. You should use a third party..

iPhone - Backgrounding to poll for events

http://stackoverflow.com/questions/4656214/iphone-backgrounding-to-poll-for-events

30 seconds. This is useful code if you must sometimes check something. The doc says that all background tasks VoIP audio location updates will be automatically restarted in background if the app was terminated. VoIP apps will be started in background..

Make movie file with picture Array and song file, using AVAsset

http://stackoverflow.com/questions/6061092/make-movie-file-with-picture-array-and-song-file-using-avasset

movie file with picture Array and song file using AVAsset I'm trying to make movie file using a picture array and an audio file. To make movie with a picture array i used the big post by zoul here . All is perfect I have my movie with my picture... i used the big post by zoul here . All is perfect I have my movie with my picture. However when I try to add some audio tracks I have lot of problems. To understand I put my code When I call this method picture array and song file are ready.. channelLayout 0 sizeof AudioChannelLayout channelLayout.mChannelLayoutTag kAudioChannelLayoutTag_Stereo NSDictionary audioSettings NSDictionary dictionaryWithObjectsAndKeys NSNumber numberWithInt kAudioFormatMPEG4AAC AVFormatIDKey NSNumber..

How do I record audio on iPhone with AVAudioRecorder?

http://stackoverflow.com/questions/1010343/how-do-i-record-audio-on-iphone-with-avaudiorecorder

do I record audio on iPhone with AVAudioRecorder Now that iPhone 3.0 sdk is public I think I can ask this question for those of you that have already been playing.. of you that have already been playing with the 3.0 sdk. I want to record audio in my application but I want to use AVAudioRecorder and not the older way of recording like the example SpeakHere shows. There are not any examples of how to best do.. Beware if you want to use a different format especially an encoded one make sure you fully understand how to set the AVAudioRecorder settings read carefully the audio types documentation otherwise you will never be able to initialize it correctly...

Play a short sound in iOS

http://stackoverflow.com/questions/10329291/play-a-short-sound-in-ios

a short sound in iOS I guess I could use AVAudioPlayer to play a sound however what I need is to just play a short sound and I don't need any loops or fine grained control.. for no apparent reason. If you alloc init something it needs to be released unless you are using ARC . If you call AudioServicesCreateSystemSoundID you have to dispose of the resulting sound. See the Audio UI Sounds example. Basically @interface.. you are using ARC . If you call AudioServicesCreateSystemSoundID you have to dispose of the resulting sound. See the Audio UI Sounds example. Basically @interface MyClass NSObject SystemSoundID mySound @implementation MyClass void viewDidLoad..

iPhone audio playback: force through internal speaker?

http://stackoverflow.com/questions/1064846/iphone-audio-playback-force-through-internal-speaker

this question I'm not sure how you are doing your audio playback but try having a look at the Redirecting Output Audio section of the Audio Session Programming Guide It looks something like this UInt32 audioRouteOverride kAudioSessionOverrideAudioRoute_Speaker.. not sure how you are doing your audio playback but try having a look at the Redirecting Output Audio section of the Audio Session Programming Guide It looks something like this UInt32 audioRouteOverride kAudioSessionOverrideAudioRoute_Speaker.. Output Audio section of the Audio Session Programming Guide It looks something like this UInt32 audioRouteOverride kAudioSessionOverrideAudioRoute_Speaker 1 AudioSessionSetProperty kAudioSessionProperty_OverrideAudioRoute 2 sizeof audioRouteOverride..

Real-time Pitch Shifting on the iPhone

http://stackoverflow.com/questions/1100495/real-time-pitch-shifting-on-the-iphone

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 example code I could look at where this is done. There are many music and game apps in the app store..

Streaming Audio MMS:// to the iPhone

http://stackoverflow.com/questions/1256720/streaming-audio-mms-to-the-iphone

Audio MMS to the iPhone I'd like to stream a mms url to my iPhone app but so far information on the topic is hard to come by...

merge Audio files on iPhone

http://stackoverflow.com/questions/3359313/merge-audio-files-on-iphone

Audio files on iPhone I wanna merge a .caf file and a .mp3 file to a .mp3 file on iPhone or I can convert them to .aac and then..

Play sound on iPhone even in silent mode

http://stackoverflow.com/questions/3740528/play-sound-on-iphone-even-in-silent-mode

not advisable but who am I to say you can't do it. You may have a good reason to be playing sound. If you are using Audio Sessions then include AVFoundation AVFoundation.h at the start of your file and AVAudioSession sharedInstance setCategory.. sound. If you are using Audio Sessions then include AVFoundation AVFoundation.h at the start of your file and AVAudioSession sharedInstance setCategory AVAudioSessionCategoryPlayback error nil should do the trick. Note if you play music.. then include AVFoundation AVFoundation.h at the start of your file and AVAudioSession sharedInstance setCategory AVAudioSessionCategoryPlayback error nil should do the trick. Note if you play music or sounds then iPod playback will be paused...

iOS multitasking for an Audio Recording application

http://stackoverflow.com/questions/3848172/ios-multitasking-for-an-audio-recording-application

multitasking for an Audio Recording application I am writing an application that records audio. I am looking into the feasibility of supporting multitasking..

What happens to an iPhone app when iPhone goes into stand-by mode?

http://stackoverflow.com/questions/411436/what-happens-to-an-iphone-app-when-iphone-goes-into-stand-by-mode

the main CPU halts. This does not happen if the device is playing audio in the right audio session. See DTS Q A QA1626 Audio Session Ensuring audio playback continues when screen is locked for details. Note that the idleTimerDisabled property which..

Record and play audio Simultaneously

http://stackoverflow.com/questions/4215180/record-and-play-audio-simultaneously

this question You can play and record simultaneously on iOS devices except the 1st gen Touch using either the Audio Unit RemoteIO or the Audio Queue API. These are lower level APIs where you have to handle the incoming buffers of outgoing.. can play and record simultaneously on iOS devices except the 1st gen Touch using either the Audio Unit RemoteIO or the Audio Queue API. These are lower level APIs where you have to handle the incoming buffers of outgoing and incoming PCM samples..

Play alert sound (same as default message ringtone)

http://stackoverflow.com/questions/5250200/play-alert-sound-same-as-default-message-ringtone

question Yes it is possible but they use undocumented enum values that means you should not use it on AppStore apps. AudioServicesPlaySystemSound 1003 iOS SDK does not bundle these sound files but you can find them on the device in the System.. 1003 iOS SDK does not bundle these sound files but you can find them on the device in the System Library Audio UISounds folder. However I believe these files are copyrighted. Why not create a sound yourself share improve this answer..

AVFoundation + AssetWriter: Generate Movie With Images and Audio

http://stackoverflow.com/questions/5640657/avfoundation-assetwriter-generate-movie-with-images-and-audio

AssetWriter Generate Movie With Images and Audio I have to export a movie from my iPhone application which contains UIImage from an NSArray and add some audio files in.. the above code and added the audio files separately using AVComposition AVExportSession. Here is the code void addAudioToFileAtPath NSString filePath toPath NSString outFilePath NSError error nil AVMutableComposition composition AVMutableComposition.. NSURL fileURLWithPath pathString options nil AVAssetTrack audioAssetTrack urlAsset tracksWithMediaType AVMediaTypeAudio objectAtIndex 0 AVMutableCompositionTrack compositionAudioTrack composition addMutableTrackWithMediaType AVMediaTypeAudio..

How to disable iOS System Sounds

http://stackoverflow.com/questions/6284402/how-to-disable-ios-system-sounds

to have e mail alert or any other system sound running through and amplified crazy loud . I have looked at using AVAudioSession read Audio Sessions to learn more and tried all of the AudioSessionCategories . None of these categories will mute.. alert or any other system sound running through and amplified crazy loud . I have looked at using AVAudioSession read Audio Sessions to learn more and tried all of the AudioSessionCategories . None of these categories will mute the system sound.. amplified crazy loud . I have looked at using AVAudioSession read Audio Sessions to learn more and tried all of the AudioSessionCategories . None of these categories will mute the system sound instead it will only allow you to mute application..

Detecting iPhone/iPod Touch Accessories

http://stackoverflow.com/questions/667196/detecting-iphone-ipod-touch-accessories

connected. iphone objective c ipod touch share improve this question Finally found it After initializing the Audio Session object AudioSessionInitialize you can make a call to AudioSessionGetProperty and get the value of kAudioSessionProperty_AudioInputAvailable... objective c ipod touch share improve this question Finally found it After initializing the Audio Session object AudioSessionInitialize you can make a call to AudioSessionGetProperty and get the value of kAudioSessionProperty_AudioInputAvailable... question Finally found it After initializing the Audio Session object AudioSessionInitialize you can make a call to AudioSessionGetProperty and get the value of kAudioSessionProperty_AudioInputAvailable. AudioSessionInitialize NULL NULL NULL..

iPhone SDK 3.0: where is the Bluetooth?

http://stackoverflow.com/questions/989163/iphone-sdk-3-0-where-is-the-bluetooth

can use the ExternalAccessory framework which exposes a low level IO stream API to the device. Frameworks like Core Audio will let you play and record music via bluetooth headsets and the Gamekit framework will let you discover and talk to other..