Search results for

“Popping Sound”

20,621 results found

Post

Replies

Boosts

Views

Activity

Modal View Controller is dismissed when Peek and popped on link in UITextView
I have a link in a UITextView in a ViewController which is part of a UINavigationControler, which I present as Modal. When I do a Peek and pop (force touch /3d touch) twice on the link it opens the link in Safari which is default behavior. But When I go back to my app, the View controller is dismissed. Does anyone have encountered this issue and know how to stop the view controller being dismissed.Thanks in Advance.
Topic: UI Frameworks SubTopic: UIKit Tags:
0
0
293
Jul ’16
ReplayKit with background audio
Hi, when I start a screen recording session (with microphone enabled) the phone automatically switch every audio playback from the default speaker to the call speaker (the one in the top, used during phone calls) and it returns normal when I stop the recording.The same result happens from my app using ReplayKit and from iOS 11 system screen recording, it behave the same, every sound (from game, spotify, whatever...) comes only from the top speaker, resulting in a very low volume.I tryed with iPhone 6s, 7 and X with iOS 11.2.2 and iOS 11.2.5, nothing change.I don't understand if this is a bug or a feature, and most of all if I can override this setting in my app, allowing the user to record his voice from microphone with music in the background.Many thanks,Michele
1
0
2.0k
Jan ’18
How to pause/stop all active audio playbacks when my application needs to start audio playback from background?
Intention: Our application goes to background (background audio playback enabled) > We open any iOS application that starts audio playback (i.e: youtube, or music player) > after some moments, our application activates it's audio session to start playingback some audio (while our application is still alive in the background)What We tried: When our application wants to play the audio from background, it set's the AVAudioSession category to AVAudioSessionCategoryPlayback. Expectation: The current foreground application with active audioplayback will pause it's audio playback, and our application's playback will be the only sound that would be heard.Observation:The current foreground application keeps playing it's audio session. And our application fails to activate audiosession (from background) with non-mixable AVAudioSessionCategoryPlayback.Counter measure that We tried: With the above category, we also set AVAudioSession Options AV
0
0
998
Mar ’20
Audio quality on custom rate
hi, i have a simple avaudioplayer, wich runs with a custom rate from -16% to +16%. If the rate is not exactly 1.0 the Sound quality is really bad.i tried 48khz aiff and wav format And set a 48khz sample rate To my Audio Session as well.quality is still bad... can anyone help me?
2
0
4.1k
Jun ’15
WebRTC recording audio has buzz
I'm using Release 34 (Safari 11.0, WebKit 12604.1.27.0.1)I use the following code to get microphone input and forward the audio to speakers -- note that I use headset so no feedback.var _streamSource; var _audioContext= new webkitAudioContext(); function startMic() { var constraints = { audio:true, video:false }; navigator.mediaDevices.getUserMedia(constraints). then(micStarted).catch(micDenied); } function micStarted(stream) { _streamSource= _audioContext.createMediaStreamSource(stream); _streamSource.connect(_audioContext.destination); } function micDenied(error) { console.log(error) }The audio playback of mic input is horribly distorted with a buzzing sound which makes it hard to listen to. I tried the same code in other browsers and the microphone audio plays back fine without buzz.
1
0
1.4k
Jul ’17
Ans: Solving 6S distorted audio - avoid bad audio format assumptions
Hi there,I have this following audio distorted audio issue. I play 48kHz Audio AAC file using the AVPlayer Framework and I experience distorted audio only on iPhone 6S.. So I'm trying to avoid some bad assumptions about audio formats with no luck with this following code :+ (void) setupAudioSpeaker{NSError * audioSessionError = nil; [[AVAudioSession sharedInstance] setCategory: AVAudioSessionCategoryPlayback error: &audioSessionError];if (audioSessionError) { NSLog(@AVAudioSession Error %ld, %@, (long)audioSessionError.code, audioSessionError.localizedDescription); }NSTimeInterval bufferDuration =.005; [[AVAudioSession sharedInstance] setPreferredIOBufferDuration:bufferDuration error:&audioSessionError];if (audioSessionError) { NSLog(@Error %ld, %@, (long)audioSessionError.code, audioSessionError.localizedDescription); }double sampleRate = 48000; [[AVAudioSession sharedInstance] setPreferredSampleRate:sampleRate error:&audioSessionError];if (audioSessio
2
0
1.3k
Oct ’15
Strange Behavior of UITabBarController selectedIndex and UINavigationController pop
UITabBarController | | VC_Tab1 --------------------------- VC_Tab2 | | | | VC_Tab1_Child VC_Tab2_Child | (HeaderView) | (MyButton) The structure of the view controllers and views in the project is as described above. self.navigationController?.popToRootViewController(animated: false) tabBarController.selectedIndex = 1 When popToRootViewController(animated: false) is called in VC_Tab1_Child, followed by setting the tab controller’s selectedIndex = 1, the following results are observed: viewWillAppear(_:), deinit, viewDidAppear(_:), The originally expected results are as follows viewWillDisappear(_:), viewDidDisappear(_:), deinit, deinit, deinit, headerView.backButton.rx.tap -> Event completed headerView.backButton.rx.tap -> isDisposed viewWillAppear(_:), viewDidAppear(_:), The HeaderView belonging to VC_Tab1_Child was not deallocated, and the resources associated with that view were also not released. Similarly, VC_Tab1_Child.viewWillDisappear and VC_Tab1_Child.didDisappear were not called. s
0
0
347
Dec ’24
Import of external recorded sound
Dear AppleI am currently using your iPad Pro 12,9” for a lot of my work editing using Lightroom Mobila, Photoshop mobile and the LumaFusion video app.As a photographer it was great to get the support of RAW files, especially when importing the DSLR picture files from SDcard into the ipad.But when doing video editing on the iPad, I am missing the ability to import external recorded sound from an SDcard into the iPad. The Apple Lightning adapter is only supporting video and picture files, but not sound files. Whe is that?The only way I can get my external recorded sound into the LumaFusion video app, is to use a wifi hotspot unit that support SDcard. By using that unit i am able to connect my ipad to the hotspot and transfer the audio files into the ipad, where I then can use it for my video editing.Juse downloaded the beta version of iOS 11 on my iPad Pro and was hoping that the function of letting me import sound files into the ipad by using the original Apple ligh
1
0
701
Jul ’17
External sound cards.
Is anyone having issues with inputs on external interfaces such as motu, apollo or presonus usb/firewire/thunderbolt 2/3 devices? Specifically the motu ultralite mk3 hybrid. the drivers work in high sierra but in mojave for some reason the inputs are showing in audio midi setup but are completely greyed out. Outputs are working fine
1
0
1.4k
Aug ’18
Record and PlayBack audio
Hello,I want to do recording and playing back audio on my iOS device.Can someone give me a short hint, which classes are useful for this use case?I googled around this topic a lot and read a lot of different things.But I'm not really sure, what classes are the right one for me.Examples: AVAudioSinkNode, AVAudioSourceNode, AVAudioSession, AVAudioRecorder,AVAudioPlayer, AVAudioQueue etc. Maybe someone could show me a code snippet or sample project (if possible).My current state: I would try it with AVAudioRecorder and AVAudioPlayer.My Recorder class logic:if let dir = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask).first { let file = dir.appendingPathComponent(audiofile.wav) // setup audio session with crazy framework let format: [String: Any] = [AVSampleRateKey: 44100.0, AVNumberOfChannelsKey : 2, AVFormatIDKey: kAudioFormatLinearPCM, AVEncoderBitRateKey: 320000, AVEncoderAudioQualityKey : AVAudioQuality.high.rawValue] recorder = try AVAudioRecorder.init(url: file, sett
0
0
2.7k
Sep ’19
Audio Recognition and Live captioning
Hi Apple Team, We have a technical query regarding one feature- Audio Recognition and Live captioning. We are developing an app for deaf community to avoid communication barriers. We want to know if there is any possibility to recognize the sound from other applications in an iPhone and show live captions in our application (based on iOS).
0
0
609
Dec ’23
Audio Crackling in Playback
when using my 2015 Version MacBook pro plugged into my audio interface for playback I'm getting a crackling noise. When I playback directly from my mac with headphones or through the CPU speakers it plays fine. I've tried replacing the interface, cords & wires and still no luck. if I cant fix this I'll probably sell my mac.
0
0
1.5k
May ’22
AirPods Pro - how to "turn on" spatial audio
I want to use the APPs to listen to spatialized audio that I am synthetically generating, and have that audio be in a certain location with respect to the head. As you turn your head, the sound moves. As you walk around you can hear the sound moving in different positions. Is there example code of this out there? How do I make this happen on iOS? There are so many APIs out there for outputting sound on iOS, which one would be the quickest to get the spatialized 3D audio working?
0
0
567
Apr ’21
Modal View Controller is dismissed when Peek and popped on link in UITextView
I have a link in a UITextView in a ViewController which is part of a UINavigationControler, which I present as Modal. When I do a Peek and pop (force touch /3d touch) twice on the link it opens the link in Safari which is default behavior. But When I go back to my app, the View controller is dismissed. Does anyone have encountered this issue and know how to stop the view controller being dismissed.Thanks in Advance.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
0
Boosts
0
Views
293
Activity
Jul ’16
ReplayKit with background audio
Hi, when I start a screen recording session (with microphone enabled) the phone automatically switch every audio playback from the default speaker to the call speaker (the one in the top, used during phone calls) and it returns normal when I stop the recording.The same result happens from my app using ReplayKit and from iOS 11 system screen recording, it behave the same, every sound (from game, spotify, whatever...) comes only from the top speaker, resulting in a very low volume.I tryed with iPhone 6s, 7 and X with iOS 11.2.2 and iOS 11.2.5, nothing change.I don't understand if this is a bug or a feature, and most of all if I can override this setting in my app, allowing the user to record his voice from microphone with music in the background.Many thanks,Michele
Replies
1
Boosts
0
Views
2.0k
Activity
Jan ’18
How to pause/stop all active audio playbacks when my application needs to start audio playback from background?
Intention: Our application goes to background (background audio playback enabled) > We open any iOS application that starts audio playback (i.e: youtube, or music player) > after some moments, our application activates it's audio session to start playingback some audio (while our application is still alive in the background)What We tried: When our application wants to play the audio from background, it set's the AVAudioSession category to AVAudioSessionCategoryPlayback. Expectation: The current foreground application with active audioplayback will pause it's audio playback, and our application's playback will be the only sound that would be heard.Observation:The current foreground application keeps playing it's audio session. And our application fails to activate audiosession (from background) with non-mixable AVAudioSessionCategoryPlayback.Counter measure that We tried: With the above category, we also set AVAudioSession Options AV
Replies
0
Boosts
0
Views
998
Activity
Mar ’20
Audio quality on custom rate
hi, i have a simple avaudioplayer, wich runs with a custom rate from -16% to +16%. If the rate is not exactly 1.0 the Sound quality is really bad.i tried 48khz aiff and wav format And set a 48khz sample rate To my Audio Session as well.quality is still bad... can anyone help me?
Replies
2
Boosts
0
Views
4.1k
Activity
Jun ’15
Convert Video to Audio
I have a converted video file(.mp4) to audio file(.mp3). Where can I store it in my iphone and how can i do using Objective C/C++(primary)? Technologies used: FFMPEG OBJ-C Wrappers C++ Thanks for your help.
Replies
0
Boosts
0
Views
475
Activity
Apr ’21
WebRTC recording audio has buzz
I'm using Release 34 (Safari 11.0, WebKit 12604.1.27.0.1)I use the following code to get microphone input and forward the audio to speakers -- note that I use headset so no feedback.var _streamSource; var _audioContext= new webkitAudioContext(); function startMic() { var constraints = { audio:true, video:false }; navigator.mediaDevices.getUserMedia(constraints). then(micStarted).catch(micDenied); } function micStarted(stream) { _streamSource= _audioContext.createMediaStreamSource(stream); _streamSource.connect(_audioContext.destination); } function micDenied(error) { console.log(error) }The audio playback of mic input is horribly distorted with a buzzing sound which makes it hard to listen to. I tried the same code in other browsers and the microphone audio plays back fine without buzz.
Replies
1
Boosts
0
Views
1.4k
Activity
Jul ’17
Capturing audio being sent to a specific driver
Hi All I need to be able to capture the audio being sent to a specific audio driver (such as internal speakers) and manipulate it - is there a specific API that allows me to capture audio without inserting anything into the audio graph? (Use case is to add audio to an NDI video feed for ingestion into another application) Thanks!
Replies
0
Boosts
0
Views
507
Activity
Dec ’20
Ans: Solving 6S distorted audio - avoid bad audio format assumptions
Hi there,I have this following audio distorted audio issue. I play 48kHz Audio AAC file using the AVPlayer Framework and I experience distorted audio only on iPhone 6S.. So I'm trying to avoid some bad assumptions about audio formats with no luck with this following code :+ (void) setupAudioSpeaker{NSError * audioSessionError = nil; [[AVAudioSession sharedInstance] setCategory: AVAudioSessionCategoryPlayback error: &audioSessionError];if (audioSessionError) { NSLog(@AVAudioSession Error %ld, %@, (long)audioSessionError.code, audioSessionError.localizedDescription); }NSTimeInterval bufferDuration =.005; [[AVAudioSession sharedInstance] setPreferredIOBufferDuration:bufferDuration error:&audioSessionError];if (audioSessionError) { NSLog(@Error %ld, %@, (long)audioSessionError.code, audioSessionError.localizedDescription); }double sampleRate = 48000; [[AVAudioSession sharedInstance] setPreferredSampleRate:sampleRate error:&audioSessionError];if (audioSessio
Replies
2
Boosts
0
Views
1.3k
Activity
Oct ’15
Strange Behavior of UITabBarController selectedIndex and UINavigationController pop
UITabBarController | | VC_Tab1 --------------------------- VC_Tab2 | | | | VC_Tab1_Child VC_Tab2_Child | (HeaderView) | (MyButton) The structure of the view controllers and views in the project is as described above. self.navigationController?.popToRootViewController(animated: false) tabBarController.selectedIndex = 1 When popToRootViewController(animated: false) is called in VC_Tab1_Child, followed by setting the tab controller’s selectedIndex = 1, the following results are observed: viewWillAppear(_:), deinit, viewDidAppear(_:), The originally expected results are as follows viewWillDisappear(_:), viewDidDisappear(_:), deinit, deinit, deinit, headerView.backButton.rx.tap -> Event completed headerView.backButton.rx.tap -> isDisposed viewWillAppear(_:), viewDidAppear(_:), The HeaderView belonging to VC_Tab1_Child was not deallocated, and the resources associated with that view were also not released. Similarly, VC_Tab1_Child.viewWillDisappear and VC_Tab1_Child.didDisappear were not called. s
Replies
0
Boosts
0
Views
347
Activity
Dec ’24
Import of external recorded sound
Dear AppleI am currently using your iPad Pro 12,9” for a lot of my work editing using Lightroom Mobila, Photoshop mobile and the LumaFusion video app.As a photographer it was great to get the support of RAW files, especially when importing the DSLR picture files from SDcard into the ipad.But when doing video editing on the iPad, I am missing the ability to import external recorded sound from an SDcard into the iPad. The Apple Lightning adapter is only supporting video and picture files, but not sound files. Whe is that?The only way I can get my external recorded sound into the LumaFusion video app, is to use a wifi hotspot unit that support SDcard. By using that unit i am able to connect my ipad to the hotspot and transfer the audio files into the ipad, where I then can use it for my video editing.Juse downloaded the beta version of iOS 11 on my iPad Pro and was hoping that the function of letting me import sound files into the ipad by using the original Apple ligh
Replies
1
Boosts
0
Views
701
Activity
Jul ’17
External sound cards.
Is anyone having issues with inputs on external interfaces such as motu, apollo or presonus usb/firewire/thunderbolt 2/3 devices? Specifically the motu ultralite mk3 hybrid. the drivers work in high sierra but in mojave for some reason the inputs are showing in audio midi setup but are completely greyed out. Outputs are working fine
Replies
1
Boosts
0
Views
1.4k
Activity
Aug ’18
Record and PlayBack audio
Hello,I want to do recording and playing back audio on my iOS device.Can someone give me a short hint, which classes are useful for this use case?I googled around this topic a lot and read a lot of different things.But I'm not really sure, what classes are the right one for me.Examples: AVAudioSinkNode, AVAudioSourceNode, AVAudioSession, AVAudioRecorder,AVAudioPlayer, AVAudioQueue etc. Maybe someone could show me a code snippet or sample project (if possible).My current state: I would try it with AVAudioRecorder and AVAudioPlayer.My Recorder class logic:if let dir = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask).first { let file = dir.appendingPathComponent(audiofile.wav) // setup audio session with crazy framework let format: [String: Any] = [AVSampleRateKey: 44100.0, AVNumberOfChannelsKey : 2, AVFormatIDKey: kAudioFormatLinearPCM, AVEncoderBitRateKey: 320000, AVEncoderAudioQualityKey : AVAudioQuality.high.rawValue] recorder = try AVAudioRecorder.init(url: file, sett
Replies
0
Boosts
0
Views
2.7k
Activity
Sep ’19
Audio Recognition and Live captioning
Hi Apple Team, We have a technical query regarding one feature- Audio Recognition and Live captioning. We are developing an app for deaf community to avoid communication barriers. We want to know if there is any possibility to recognize the sound from other applications in an iPhone and show live captions in our application (based on iOS).
Replies
0
Boosts
0
Views
609
Activity
Dec ’23
Audio Crackling in Playback
when using my 2015 Version MacBook pro plugged into my audio interface for playback I'm getting a crackling noise. When I playback directly from my mac with headphones or through the CPU speakers it plays fine. I've tried replacing the interface, cords & wires and still no luck. if I cant fix this I'll probably sell my mac.
Replies
0
Boosts
0
Views
1.5k
Activity
May ’22
AirPods Pro - how to "turn on" spatial audio
I want to use the APPs to listen to spatialized audio that I am synthetically generating, and have that audio be in a certain location with respect to the head. As you turn your head, the sound moves. As you walk around you can hear the sound moving in different positions. Is there example code of this out there? How do I make this happen on iOS? There are so many APIs out there for outputting sound on iOS, which one would be the quickest to get the spatialized 3D audio working?
Replies
0
Boosts
0
Views
567
Activity
Apr ’21