Search results for

Popping Sound

19,352 results found

Post

Replies

Boosts

Views

Activity

How to share or save Audio after Effects, like altering pitch or rate?
Basically, what i need here is that, after my app has recorded an audio, I have written code that alters its pitch and/or rate, And I use Activity View Controller, to share the audio from the app to other medias. But, what happens, when I share it is that, the ORIGINAL RECORDED audio is shared, instead of the audio that had EFFECTS to it like rate or pitch. So, I do i go about sharing (itd be awesome, if you could also tell me how to save then share) the audio.EXAMPLE OF MY CODE://For fast rate playback@IBAction func fasterAudio(sender: UIButton) { audioEngine.reset() audioPlayer.currentTime = 0 audioPlayer.rate = 1.75 audioPlayer.play() }//For higher Pitch @IBAction func highPitchAudio(sender: UIButton) { audioPlayer.stop() audioEngine.stop() audioEngine.reset() audioPlayer.currentTime = 0 var audioPlayerNode = AVAudioPlayerNode() audioEngine.attachNode(audioPlayerNode) var changePitchEffect = AVAudioUnitTimePitch() changePitchEffect.pitch = 1000 audioEngine.attachNode(cha
4
0
3.8k
Jul ’15
In-App Purchase - Subscription
I am developing an app for a client who wants to use a non-autorenewing yearly subscription revenue model. Basically, the user would have very limited features in the app, unless they purchased a yearly subscription. I cannot talk about the details of the app, other than to say it has been designed to use tab navigation. 4 tabs: one tab with a list-based screen populated from data form a backend server; another tab with a Map showing annotations (related to the list items from the first tab); another tab that contains some different data from a backend server; and, lastly, a tab that contains resources (basically publicly-accessible information) related to the theme of the app.The client wants to only make the Map tab accessible, with very limited content and interactivity, for free. Selecting any other tab or trying to drill down from a limited number of map items to more detail would require that the user purchase a subscription. I have tried to stress to the client that this is a poor user experience, and
1
0
309
Jul ’15
Reply to AVAudioEngine synchronize with AVPlayer
How would you synchronize AVAudioEngine to AVCaptureSession. What I want to do is to playback custom mixed music while capturing videos. In essence I want to record video with the custom mixed audio. I cant not get the music to always start at the same precise time in the recorded video. AVCaptureSession has a masterClock but it is readonly. Is there a way to synchronize these two objects?
Topic: Media Technologies SubTopic: Audio Tags:
Jul ’15
ABNewPersonViewController has bug when user turn off privacy
We use ABNewPersonViewController to create contact in our app.If user turn off privacy and open our app , tring to create new contact again.The ABNewPersonViewController was pop up and says This app does not have access to your contacts.Wired thing happen next , it still show the textfields for user to create.Seems the app's alert didn't show at the top hierarchy.
0
0
253
Jul ’15
Reply to Developer Preview 2 install wants "Setup User" password
Well, I power-cycled it, without holding down any keys. But instead of the blue Setup User screen, it came back up with a login screen, although network accounts weren't available. Loging in as the local administrator got me an OS X desktop, and About this Mac says it's OS 10.11, 15A204h. Does that sound right for DP2? I guess I'll try shutting down and restarting, and see if I can persuade it to to talk to our NIS. There is no data on the machine that would require salvaging: originating anything on a beta OS that I don't understand very well would be foolishly brave IMHO. It's being used strictly to test software for compatibility with 10.11 and to do experimental builds with Xcode 7's compiler, so that we can find any problems, and be ready to release as soon as 10.11 is released.
Topic: App & System Services SubTopic: Core OS Tags:
Jul ’15
Swift: Regulating The Number of Interstitial Ads in App
Greetings! (I am hoping this is the right place to ask this/marked as a question)I have recently tried stack overflow for this problem, but I haven't been seeing any success.I hope for more luck here!As the title suggests, I wish to limit the number of AdMob insterstitial ads in my Swift iOS app. Basically, I have an app that is a bunch of text and buttons, so I'm using button actions to control interstitial placements.Here is my interstitial ad criteria:Have an interstitial ad show after 3 button clicks on a pageIf an interstitial ad shows up, no interstials may show for the entire app until 3 minutes are up.I've done as much research as I can, but I'm still at a loss on how I can achieve these results. I'm not much of a programmer, but I am trying my best!Here is my current swift code, my apologies for the visual formatting, I tried to make it as eye-pleasing as possible.The swift code below simply makes interstitials pop up at every button click (along with banner ads loaded in):__________________
4
0
2.8k
Jul ’15
Reply to How to share or save Audio after Effects, like altering pitch or rate?
There's a good example of how to save the altered audio to a new file using AVAudioEngine here - Using AVAudioEngine for Playback, Mixing and Recording: <https://developer.apple.com/library/ios/samplecode/AVAEMixerSample/Introduction/Intro.html >The sample sets up two separate players into two different effects and allows you to record the resulting audio via a tap on the mixer. The end result is a new file containing the realtime processed audio, meaning, if you change the Volume/Pan of the players or the Wet/Dry mix of each effect, the results are recorded to the new AVAudioFile at a specified URL. The sample will also playback the recorded file so you can hear what it sounds like.I don't know how this works out in your sharing scenario but if you have a new URL with the altered audio, I suspect you can share that pretty easily.
Topic: Media Technologies SubTopic: Audio Tags:
Jul ’15
AVPlayer/AVAudioMix fade-in effect clicks in the beginning
I'm trying to implement a fade-in effect based on AVPlayer + AVAudioMix + AVAudioMixInputParameters. It basically works except when playing the audio for the first time after starting my app there is a click in the beginning. Subsequent plays work perfect though, but the first-time glitch is pretty stable and reproducible.My Play button is enabled only after the AVPlayerItem's `status` is set to ready, so it's impossible to fire a play method while the player is not ready. In fact it doesn't matter how long I wait after loading the audio file and constructing all the objects.This happens on OS X (10.10), I haven't tested it on iOS yet.Note that for this test you need an audio file that starts with sound and not silence. Here is my stripped down code without the GUI part (`testFadeIn` is the entry point):static AVPlayer* player; static void* PlayerItemStatusObserverContext = &PlayerItemStatusObserverContext; - (void)testFadeIn { AVURLAsset* asset = [AVURLAsset.alloc init
1
0
2.0k
Jul ’15
Reply to presentMediaPlayerControllerWithURL doesn't play non-NSBundle videos in real device
I have exactly same problem. I just can't play saved audio file on real watch device. First time I thought that there are some problems storing a audio file from URL so I tried like below,- (IBAction)recordingAudioButtonTouched:(id)button { NSArray *filePaths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask,YES); NSString *path = [[filePaths firstObject] stringByAppendingPathComponent:@recording.mp4]; NSURL *fileUrl = [NSURL fileURLWithPath:path]; [self presentAudioRecordingControllerWithOutputURL:fileUrl preset:WKAudioRecordingPresetWideBandSpeech maximumDuration:10 actionTitle:@Send! completion:^(BOOL didSave, NSError * __nullable error) { if (didSave) { NSLog(@yeah); } else { NSLog(@nop); } }]; } - (IBAction)playAudioButtonTouched:(id)button { NSArray *filePaths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask,YES); NSString *path = [[filePaths firstObject] stringByAppendingPathComponent:@recording.mp4]; NSURL *writeFileUrl = [NSURL fi
Topic: App & System Services SubTopic: Core OS Tags:
Jul ’15