¡@

Home 

2014/10/15 ¤U¤È 10:14:18

iphone Programming Glossary: sound

How can an iPhone access another non-iPhone device over wireless or Bluetooth?

http://stackoverflow.com/questions/1065459/how-can-an-iphone-access-another-non-iphone-device-over-wireless-or-bluetooth

via Wi Fi they don't need to be part of the Made for iPod program. However that doesn't sound like your case. Third party developers in the near future may produce dongles that connect through the..

Real-time Pitch Shifting on the iPhone

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

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 example code I could look at where this is done. There..

Does my application “contain encryption”?

http://stackoverflow.com/questions/2135081/does-my-application-contain-encryption

contain encryption but I'm wondering if this is spelled out anywhere. Severe penalties doesn't sound pleasant at all so I think that's right is a bit sketchy... an authoritative answer would be better...

Universal iPhone/iPad application debug compilation error for iPhone testing

http://stackoverflow.com/questions/2618889/universal-iphone-ipad-application-debug-compilation-error-for-iphone-testing

rebuild your application. That should take care of the runtime errors. Your conditional logic is sound but I tend to share an application delegate and do the interface specific layout further down the line...

Play sound on iPhone even in silent mode

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

sound on iPhone even in silent mode I want to make an application which creates sound music or system sound.. sound on iPhone even in silent mode I want to make an application which creates sound music or system sound when an iPhone is in silent mode. Is it possible to play any type of sound whether.. on iPhone even in silent mode I want to make an application which creates sound music or system sound when an iPhone is in silent mode. Is it possible to play any type of sound whether music or system tones..

iOS: Change Device Volume

http://stackoverflow.com/questions/4859402/ios-change-device-volume

One of the things I want to allow the user to do is change the device volume and then play a sound. This can help if you loose your iPhone in a crack in your couch again but can't find it. Is there any..

Detecting the iPhone's Ring / Silent / Mute switch using AVAudioPlayer not working?

http://stackoverflow.com/questions/6901363/detecting-the-iphones-ring-silent-mute-switch-using-avaudioplayer-not-worki

he did it and then realised that the audio completion call is being called almost as soon as the sound begins playing when we're silent. That should be enough for most of you but for the copy paste programmers..

Has anyone implemented the PayPal API through a native iPhone app?

http://stackoverflow.com/questions/779423/has-anyone-implemented-the-paypal-api-through-a-native-iphone-app

them complete the transaction there otherwise the user would need to use their API key. Does this sound right and has anyone got or seen any sample code I have to think this is a common piece of code. UPDATE..

iPhone app without AppStore

http://stackoverflow.com/questions/982476/iphone-app-without-appstore

Apple does not provide any more public detail that I could find on this method. It doesn't sound like any of these methods meet your criteria unless you have fewer than 100 customers and don't plan.. your criteria unless you have fewer than 100 customers and don't plan to exceed that number. It sounds like from the question your customers are not internal to your company. I would advise contacting Apple...

How can an iPhone access another non-iPhone device over wireless or Bluetooth?

http://stackoverflow.com/questions/1065459/how-can-an-iphone-access-another-non-iphone-device-over-wireless-or-bluetooth

OS 3.0. If the devices you want to talk to are Bonjour discoverable via Wi Fi they don't need to be part of the Made for iPod program. However that doesn't sound like your case. Third party developers in the near future may produce dongles that connect through the 30 pin dock port and give access to existing Bluetooth devices...

Real-time Pitch Shifting on the iPhone

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

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

Does my application “contain encryption”?

http://stackoverflow.com/questions/2135081/does-my-application-contain-encryption

and UIWebView . My reading of this is that my app doesn't contain encryption but I'm wondering if this is spelled out anywhere. Severe penalties doesn't sound pleasant at all so I think that's right is a bit sketchy... an authoritative answer would be better. Thanks. iphone encryption app store share improve this question..

Universal iPhone/iPad application debug compilation error for iPhone testing

http://stackoverflow.com/questions/2618889/universal-iphone-ipad-application-debug-compilation-error-for-iphone-testing

for Type. Change the Type for UIKit from Required to Weak and rebuild your application. That should take care of the runtime errors. Your conditional logic is sound but I tend to share an application delegate and do the interface specific layout further down the line. Update 12 21 2011 As of iOS 4.2 you should no longer need..

Play sound on iPhone even in silent mode

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

sound on iPhone even in silent mode I want to make an application which creates sound music or system sound when an iPhone is in silent mode. Is it possible to play.. sound on iPhone even in silent mode I want to make an application which creates sound music or system sound when an iPhone is in silent mode. Is it possible to play any type of sound whether music or system tones when it is silent mode iphone objective.. sound on iPhone even in silent mode I want to make an application which creates sound music or system sound when an iPhone is in silent mode. Is it possible to play any type of sound whether music or system tones when it is silent mode iphone objective c ipad avaudioplayer..

iOS: Change Device Volume

http://stackoverflow.com/questions/4859402/ios-change-device-volume

will be able to be controlled to some extent over the network. One of the things I want to allow the user to do is change the device volume and then play a sound. This can help if you loose your iPhone in a crack in your couch again but can't find it. Is there any way that you can do this without Apple getting angry iphone..

Detecting the iPhone's Ring / Silent / Mute switch using AVAudioPlayer not working?

http://stackoverflow.com/questions/6901363/detecting-the-iphones-ring-silent-mute-switch-using-avaudioplayer-not-worki

Has anyone implemented the PayPal API through a native iPhone app?

http://stackoverflow.com/questions/779423/has-anyone-implemented-the-paypal-api-through-a-native-iphone-app

to give them a UIWebView of the paypal mobile site and let them complete the transaction there otherwise the user would need to use their API key. Does this sound right and has anyone got or seen any sample code I have to think this is a common piece of code. UPDATE Will Apple allow this It is a charity app so I am assuming..

iPhone app without AppStore

http://stackoverflow.com/questions/982476/iphone-app-without-appstore

internal distribution in companies with more than 500 employees. Apple does not provide any more public detail that I could find on this method. It doesn't sound like any of these methods meet your criteria unless you have fewer than 100 customers and don't plan to exceed that number. It sounds like from the question your.. this method. It doesn't sound like any of these methods meet your criteria unless you have fewer than 100 customers and don't plan to exceed that number. It sounds like from the question your customers are not internal to your company. I would advise contacting Apple. They might be able to work out some kind of custom distribution..

How can an iPhone access another non-iPhone device over wireless or Bluetooth?

http://stackoverflow.com/questions/1065459/how-can-an-iphone-access-another-non-iphone-device-over-wireless-or-bluetooth

to are Bonjour discoverable via Wi Fi they don't need to be part of the Made for iPod program. However that doesn't sound like your case. Third party developers in the near future may produce dongles that connect through the 30 pin dock port..

Real-time Pitch Shifting on the iPhone

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

on the iPhone 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 example code I could look at where this is done. There are many music and..

Does my application “contain encryption”?

http://stackoverflow.com/questions/2135081/does-my-application-contain-encryption

is that my app doesn't contain encryption but I'm wondering if this is spelled out anywhere. Severe penalties doesn't sound pleasant at all so I think that's right is a bit sketchy... an authoritative answer would be better. Thanks. iphone encryption..

Universal iPhone/iPad application debug compilation error for iPhone testing

http://stackoverflow.com/questions/2618889/universal-iphone-ipad-application-debug-compilation-error-for-iphone-testing

Required to Weak and rebuild your application. That should take care of the runtime errors. Your conditional logic is sound but I tend to share an application delegate and do the interface specific layout further down the line. Update 12 21 2011..

Entering background on iOS4 to play audio

http://stackoverflow.com/questions/3161635/entering-background-on-ios4-to-play-audio

resumes playing once I switch back to the app. Apple states that all frameworks for audio support background and the sound should continue playing up until the point that it ends and then Apple will suspend your app. So my question is What are..

streaming video FROM an iPhone

http://stackoverflow.com/questions/3444791/streaming-video-from-an-iphone

iPhone I can get individual frames from the iPhone's cameras just fine. what I need is a way to package them up with sound for streaming to the server. Sending the files once I have them isn't much of an issue. Its the generation of the files..

Play sound on iPhone even in silent mode

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

sound on iPhone even in silent mode I want to make an application which creates sound music or system sound when an iPhone is.. sound on iPhone even in silent mode I want to make an application which creates sound music or system sound when an iPhone is in silent mode. Is it possible to play any type of sound whether music or system.. sound on iPhone even in silent mode I want to make an application which creates sound music or system sound when an iPhone is in silent mode. Is it possible to play any type of sound whether music or system tones when it is silent..

iOS: Change Device Volume

http://stackoverflow.com/questions/4859402/ios-change-device-volume

extent over the network. One of the things I want to allow the user to do is change the device volume and then play a sound. This can help if you loose your iPhone in a crack in your couch again but can't find it. Is there any way that you can..

Detecting the iPhone's Ring / Silent / Mute switch using AVAudioPlayer not working?

http://stackoverflow.com/questions/6901363/detecting-the-iphones-ring-silent-mute-switch-using-avaudioplayer-not-worki

I was thinking on how he did it and then realised that the audio completion call is being called almost as soon as the sound begins playing when we're silent. That should be enough for most of you but for the copy paste programmers here's your treat..

Has anyone implemented the PayPal API through a native iPhone app?

http://stackoverflow.com/questions/779423/has-anyone-implemented-the-paypal-api-through-a-native-iphone-app

mobile site and let them complete the transaction there otherwise the user would need to use their API key. Does this sound right and has anyone got or seen any sample code I have to think this is a common piece of code. UPDATE Will Apple allow..

How do I start playing audio when in silent mode & locked in iOS 6?

http://stackoverflow.com/questions/9725192/how-do-i-start-playing-audio-when-in-silent-mode-locked-in-ios-6

locked in iOS 6 End user process Open app Switch on 'Silent Mode'. Press 'Lock button' App can still START playing a sound after hours have passed not playing any audio in the interim. Apps that do this A lot of alarm apps have manage to do this.. of alarm apps have manage to do this I dont think they are using silent audio to keep the app running as they do not sound if you actually exit the app with home. Alarm Clock Pro My Clock Wave Alarm Alarmed iHome ... ...Are they keeping a loop.. Alarmed iHome ... ...Are they keeping a loop running after being locked some how or it a notification which cant play sound in silent starting the app back up to play the audio or some other method Current Methods Implemented AVAudioPlayer using..

iPhone app without AppStore

http://stackoverflow.com/questions/982476/iphone-app-without-appstore

more than 500 employees. Apple does not provide any more public detail that I could find on this method. It doesn't sound like any of these methods meet your criteria unless you have fewer than 100 customers and don't plan to exceed that number... of these methods meet your criteria unless you have fewer than 100 customers and don't plan to exceed that number. It sounds like from the question your customers are not internal to your company. I would advise contacting Apple. They might be..

Record the sound and play it back with changed pitch

http://stackoverflow.com/questions/10549317/record-the-sound-and-play-it-back-with-changed-pitch

recorded sound. The problem with this approach is that the output sound is noisy enough. I got the response for using SoundEngine but I didn't get the way to implement it. Can anyone please explain me about any other way to implement this my code.. AVAudioSession sharedInstance setCategory AVAudioSessionCategoryPlayAndRecord error nil In Order To Move Sound To The Speaker UInt32 audioRouteOverride kAudioSessionOverrideAudioRoute_Speaker AudioSessionSetProperty kAudioSessionProperty_OverrideAudioRoute..

Sound slider for cocos2d?

http://stackoverflow.com/questions/11250839/sound-slider-for-cocos2d

slider for cocos2d Any tutorials on how to make a slider for cocos2d that controls sounds that you guys recommend Some..

Play Alert Sound (Vibrate) While AudioQueue is Recording

http://stackoverflow.com/questions/1183366/play-alert-sound-vibrate-while-audioqueue-is-recording

Alert Sound Vibrate While AudioQueue is Recording It seems that it's not possible to play an alert sound AudioServicesPlayAlertSound.. Vibrate While AudioQueue is Recording It seems that it's not possible to play an alert sound AudioServicesPlayAlertSound kSystemSoundID_Vibrate while the AudioQueue is being used to record audio. Is that correct Maybe I'm doing something wrong... AudioQueue is Recording It seems that it's not possible to play an alert sound AudioServicesPlayAlertSound kSystemSoundID_Vibrate while the AudioQueue is being used to record audio. Is that correct Maybe I'm doing something wrong. Is there..

iPhone Sound: Adjust speed of playback of audio file while playing

http://stackoverflow.com/questions/1191313/iphone-sound-adjust-speed-of-playback-of-audio-file-while-playing

Sound Adjust speed of playback of audio file while playing is there a way to adjust the speed of the playback of an audio while..

IOS Text To Speech Conversion [duplicate]

http://stackoverflow.com/questions/13860091/ios-text-to-speech-conversion

Playing a Sound With Monotouch

http://stackoverflow.com/questions/1757768/playing-a-sound-with-monotouch

a Sound With Monotouch No matter what I try build content NSUrl filename I get a 'null exception' file not found when I try to.. to play a .caf sound file in monotouch. var path NSBundle.MainBundle.PathForResource MatchGame caf var gameSong SystemSound.FromFile new NSUrl path false var gameSong SystemSound.FromFile MatchGame.caf gameSong.PlaySystemSound I also try combinations.. MatchGame caf var gameSong SystemSound.FromFile new NSUrl path false var gameSong SystemSound.FromFile MatchGame.caf gameSong.PlaySystemSound I also try combinations using the folder name images MatchGame.caf and moving..

Sound on simulator but not device

http://stackoverflow.com/questions/2014578/sound-on-simulator-but-not-device

on simulator but not device I'm using the following to play an m4a file NSString path NSBundle mainBundle resourcePath.. to play an m4a file NSString path NSBundle mainBundle resourcePath stringByAppendingPathComponent fileName SystemSoundID soundID NSURL filePath NSURL fileURLWithPath path isDirectory NO AudioServicesCreateSystemSoundID CFURLRef filePath soundID.. fileName SystemSoundID soundID NSURL filePath NSURL fileURLWithPath path isDirectory NO AudioServicesCreateSystemSoundID CFURLRef filePath soundID AudioServicesPlaySystemSound soundID It works fine on the simulator but I hear nothing on the..

How do you completely remove and release memory of an OpenAL sound file?

http://stackoverflow.com/questions/2035975/how-do-you-completely-remove-and-release-memory-of-an-openal-sound-file

level based iPhone app. I need to load and release sound files for each level. Everything works fine with my openAL SoundManager except releasing sounds. At first when I remove a sound it seems to do what it is meant to do it removes the sound.. signal warning check_safe_call could not restore current frame kill quit This is how I load the sounds void loadSoundWithKey NSString aSoundKey fileName NSString aFileName fileExt NSString aFileExt Check to make sure that a sound with the.. could not restore current frame kill quit This is how I load the sounds void loadSoundWithKey NSString aSoundKey fileName NSString aFileName fileExt NSString aFileExt Check to make sure that a sound with the same key does not already..

Sound not working in iPhone Simulator?

http://stackoverflow.com/questions/302399/sound-not-working-in-iphone-simulator

not working in iPhone Simulator Somehow my iPhone Simulator is unable to play sounds. First an app I'm working on using.. Somehow my iPhone Simulator is unable to play sounds. First an app I'm working on using AudioServicesPlaySystemSound stopped working.. I spent a while debugging this but sound is still working on the iPhone when I run the app on the device... objective c cocoa touch audio ios simulator share improve this question On your Mac go to System Preferences Sound Sound Effects and then uncheck and recheck Play user interface sound effects . You need to re activate your system sounds..

Play local notification default sound when displaying UIAlertView?

http://stackoverflow.com/questions/3277811/play-local-notification-default-sound-when-displaying-uialertview

are displayed outside of the app the device vibrates and the sound specified by UILocalNotificationDefaultSoundName is played. Again I'd like to mimic this in the app when displaying the UIAlertView . I can vibrate the device by calling.. to mimic this in the app when displaying the UIAlertView . I can vibrate the device by calling AudioServicesPlaySystemSound kSystemSoundID_Vibrate but I can't figure out how to play the local notification default sound. There's no equivalent SystemSoundID.. in the app when displaying the UIAlertView . I can vibrate the device by calling AudioServicesPlaySystemSound kSystemSoundID_Vibrate but I can't figure out how to play the local notification default sound. There's no equivalent SystemSoundID constant..

Push notification and view button action[iphone sdk APNS]

http://stackoverflow.com/questions/4313406/push-notification-and-view-button-actioniphone-sdk-apns

@ alert NSLog @ Received Push Alert @ alert NSString sound apsInfo objectForKey @ sound NSLog @ Received Push Sound @ sound AudioServicesPlaySystemSound kSystemSoundID_Vibrate APNS HANDLE UIApplicationState state application applicationState.. Alert @ alert NSString sound apsInfo objectForKey @ sound NSLog @ Received Push Sound @ sound AudioServicesPlaySystemSound kSystemSoundID_Vibrate APNS HANDLE UIApplicationState state application applicationState if state UIApplicationStateActive.. NSString sound apsInfo objectForKey @ sound NSLog @ Received Push Sound @ sound AudioServicesPlaySystemSound kSystemSoundID_Vibrate APNS HANDLE UIApplicationState state application applicationState if state UIApplicationStateActive NSLog @..

AudioUnits causing universal skipping after returning from Springboard

http://stackoverflow.com/questions/6130443/audiounits-causing-universal-skipping-after-returning-from-springboard

app The Audio from the AvAudioPlayer will start skipping Here is some of the code I used IBAction restartAudioUnit MySoundStream audioUnitClass audioUnitClass Load audioUnitClass release audioUnitClass Load Forgive the long code dump but AudioUnits.. dump but AudioUnits are complex and I am fairly sure I am just setting them up or taking them down incorrectly. The MySoundStream class OSStatus UnitRenderCB void pRefCon AudioUnitRenderActionFlags flags const AudioTimeStamp timeStamp UInt32 busNum.. UInt32 busNum UInt32 numFrames AudioBufferList pData OSStatus tErr noErr Do Nothing return tErr @implementation MySoundStream void dealloc self Unload super dealloc void Unload OSStatus tErr noErr tErr AudioUnitUninitialize OutUnit @end MySoundStream..

How to disable iOS System Sounds

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

to disable iOS System Sounds I am working on an iPad app that connects with an accessory that plays sound. When the iPad is connected to the accessory.. instead it will only allow you to mute application sounds iPod not useful for my purposes. I also found docs on System Sound Services but this only allows you to play system sounds. There is no api here to disable system sounds while your app is..

Sound stop playing [duplicate]

http://stackoverflow.com/questions/8094557/sound-stop-playing

stop playing duplicate When I press a button then press another one the sounds overlap. How can I fix that so the first.. the sounds overlap. How can I fix that so the first sound stops when another one is pressed void playOnce NSString aSound NSString path NSBundle mainBundle pathForResource aSound ofType @ caf AVAudioPlayer theAudio AVAudioPlayer alloc initWithContentsOfURL.. stops when another one is pressed void playOnce NSString aSound NSString path NSBundle mainBundle pathForResource aSound ofType @ caf AVAudioPlayer theAudio AVAudioPlayer alloc initWithContentsOfURL NSURL fileURLWithPath path error NULL theAudio..

iPhone - Sound overlapping with multiple button presses

http://stackoverflow.com/questions/8101870/iphone-sound-overlapping-with-multiple-button-presses

Sound overlapping with multiple button presses When I press a button then press another one the sounds overlap. How can I fix.. the sounds overlap. How can I fix that so the first sound stops when another one is pressed void playOnce NSString aSound NSString path NSBundle mainBundle pathForResource aSound ofType @ caf AVAudioPlayer theAudio AVAudioPlayer alloc initWithContentsOfURL.. stops when another one is pressed void playOnce NSString aSound NSString path NSBundle mainBundle pathForResource aSound ofType @ caf AVAudioPlayer theAudio AVAudioPlayer alloc initWithContentsOfURL NSURL fileURLWithPath path error NULL theAudio..

Sound not playing with AVAudioPlayer

http://stackoverflow.com/questions/9963230/sound-not-playing-with-avaudioplayer

not playing with AVAudioPlayer I've searched and I believe my problem is quite unique. I'm aware of the Simulator 5.1 bug..