Search results for

“Popping Sound”

20,041 results found

Post

Replies

Boosts

Views

Activity

Bluetooth sound collection Blocking audio playback?on macOS
I use openal to record and use openal to play ; use QT demo to do the communication. When I put on the Bluetooth headset, as long as I turn on the audio record by BT, the audio playback will be blocked, unable to consume data. And the trumpet is black-color at this time; But when the trumpet is gray, the record will not block the playback,i can play and record . It's a random event。 I wonder if there is a program that can detect or change this blocking?
0
0
1k
Mar ’21
Reply to How to Fix Cracking and Popping Sound ?
Obviously the problem isn't fixed yet by Apple... I have bought a Mac Pro (Early 2009) now running macOS 10.14.6 (18G5033) and added RAM and Graphic card to suit my needs. Then I realized that using Safari (100% of the time), or Spotify (85% of the time) the audio will crackle and pop every seconds creating a distortion. I am super disappointed that this problem is seen by hundreds of people and still isn't heard / listened too. At least I can use Chrome and the sound is perfect.. Can you explain wt* does this means? Apple?.... I guess not. Deep problems in the Core Audio Kernel of Mojave and Catalina in my opinion... Just because you know, Apple... They want you to buy the LATEST all the time and upgrade to the latest software all the time. I hope we will see an engineer create a revolution and releasing publicly the fix XD (Maybe even a movie hahah) :/
Topic: Community SubTopic: Apple Developers Tags:
Jul ’20
Reply to How to Fix Cracking and Popping Sound ?
Yes. I have the same problem. MacBook Pro (16-inch, 2021) Monterey 12.2.1. Until recently I've been using my Focusrite audio interface for everything but I noticed when I unplugged it that all Apple-created audio [so Apple TV, QuickTime videos etc] has terrible crackling and popping on when using the native audio engine. If I play the same QuickTime videos through VLC they're fine – so it's not a hardware problem. As far as I can see I can't reinstall Quicktime without reinstalling the whole OS which I am absolutely not going to do. I guess the only thing to do is wait until Apple release a new software update which will hopefully overwrite the broken component. Assuming they notice it's broken of course. Has anyone at Apple ever responded to any of these threads?
Topic: Community SubTopic: Apple Developers Tags:
Mar ’22
Callkit UI does not pop up
Hi, I am using Callkit to make a VOIP application recently. But when I use Callkit to make a call out, after the call is connected, I hang up normally, and another call comes in and the following interface appears; Callkit UI error - https://developer.apple.com/forums/content/attachment/3282dcba-263d-4384-aabd-a9b654605858 Callkit UI is not in the foreground - https://developer.apple.com/forums/content/attachment/41cb1f19-7b9f-4c97-b66b-fb320e3e1a5f When I click on the titlebar, the interface will pop up Incoming call ui - https://developer.apple.com/forums/content/attachment/90f37ceb-299e-4c2f-840b-a083ee10e0af This problem can also be reproduced in the SpeakerBox sample code; Model Name: iPhone 7 Software Version: 14.1
0
0
510
Nov ’20
Audio level is fade in when audio recording using iPhone12
I recorded some fan noise using my record app. My audio recording app uses AVAudioRecorder. Recently, I found that audio level is fade in for the first few seconds especially in iPhone 12 series. I tested it using voice memos app too. I checked the same issue. I'm attaching 2 screen shots. One is from iPhone12 and the other is from iPhone11 pro max. Could you explain why this happen? And is there any solution to prevent this?
0
0
697
Sep ’21
Sound decibel recognition
Hi Community Members, We tried to find the particular sound through the microphone. We used PKCCheck to detect the sound decibel. we detect the sound based on the number of dB values per second we receive and add some logic over it to get the result, but when we have continuous sound like an alarm we can't detect it as the gap between the sound is very less. Any suggestion on libraries to achieve this. Also whether we can achieve this thru Frequency & Amplitude method. Please advise.
0
0
1.1k
Oct ’22
The audio unit of kAudioUnitSubType_VoiceProcessingIO can't query Audio Workgroup
I know the VoiceProcessingIO audio unit will create a aggregate audio device. But there are error kAudioUnitErr_InvalidProperty (-10789) during getting kAudioOutputUnitProperty_OSWorkgroup property in recent macOS Monterey 12.2.1 or BigSur 11.6.4. os_workgroup_t workgroup = NULL; UInt32 sSize; OSStatus sStatus; sSize = sizeof(os_workgroup_t); sStatus = AudioUnitGetProperty(mAudioUnit, kAudioOutputUnitProperty_OSWorkgroup, kAudioUnitScope_Global, 1, &workgroup, &sSize); if (sStatus != noErr) { NSLog(@Error %d, sStatus); } And the same code works fine on iOS 15.3.1 but not macOS. Have you any hint to resolve this issue?
0
0
1.1k
Mar ’22
Can i stop notification sound?
in my app, notification has play 20sec sound. i want to stop notification sound when new push notification same thread identifier I tried the methods in the link below https://stackoverflow.com/questions/57568491/handling-remote-push-notification-sounds-when-app-is-terminated https://stackoverflow.com/questions/55324708/how-to-cancel-a-local-notification-trigger-in-swift But I didn't achieve what I wanted Is what I want impossible on OS? Additionally, the sound will only play continuously on the lock screen. If the screen is not locked, the sound is turned off and the sound applied to the new notification is played.
0
0
1.6k
Sep ’22
AVAssetWriter audio compression settings for multichannel audio
With a 4 channel audio input, I get error while recording a movie using AVAssetWriter and using LPCM codec. Are 4 audio channels not supported by AVAssetWriterInput? Here are my compression settings: var aclSize:size_t = 0 var currentChannelLayout:UnsafePointer? = nil /* * outputAudioFormat = CMSampleBufferGetFormatDescription(sampleBuffer) * for the latest sample buffer received in captureOutput sampleBufferDelegate */ if let outputFormat = outputAudioFormat { currentChannelLayout = CMAudioFormatDescriptionGetChannelLayout(outputFormat, sizeOut: &aclSize) } var currentChannelLayoutData:Data = Data() if let currentChannelLayout = currentChannelLayout, aclSize > 0 { currentChannelLayoutData = Data.init(bytes: currentChannelLayout, count: aclSize) } let numChannels = AVAudioSession.sharedInstance().inputNumberOfChannels audioSettings[AVSampleRateKey] = 48000.0 audioSettings[AVFormatIDKey] = kAudioFormatLinearPCM audioSettings[AVLinearPCMIsBigEndianKey] = false audioSettings[AVLinearPCMB
1
0
1.1k
Oct ’22
Playing Sounds
Hello, I’ve been trying to play system sounds in my app, but this hasn’t really been working. I am frequently switching between speech recognition (Speech framework) and sounds, so perhaps that’s where the issue lies. However, despite my best efforts, I haven't been able to solve the issue. I've been resetting the AVAudioSession category before playing a sound or starting speech recognition (as depicted in the code snippet below), to no avail. Has this happened to anyone else? Does anybody know how to fix the issue? recognizer = nil try? AVAudioSession.sharedInstance().setCategory(.playback, mode: .default, options: []) try? AVAudioSession.sharedInstance().setActive(true) AudioServicesPlaySystemSound(1113) try? AVAudioSession.sharedInstance().setCategory(.record, mode: .spokenAudio, options: []) try? AVAudioSession.sharedInstance().setActive(true) recognizer = SpeechRecognition(word: wordSheet) recognizer!.startRecognition() Thank you.
1
0
773
Feb ’24
AlarmKit - Custom Sounds?
Could someone please explain how to use a custom sound when setting up an alarm using AlarmKit? It keeps playing a default sound. Also, I keep having an issue where the alarm sound plays but doesn’t show the alarm interface buttons unless the screen is locked.
13
0
527
Jun ’25
Universal Links w/ 3D touch Peek and Pop
Our emails contain buttons w/ universal links behind them. Doing a preview (peek) shows the results of sending the link to Mobile Safari. Normally when the button is pressed (or pressing further into the peek--that is, doing a pop) the link is sent to our app.The page rendered by Mobile Safari may/will look different than what the app shows. So the transition from the peek to the pop can be very confusing to the user. This doesn't seem like correct behavior, although I don't know how the peek preview could be handled otherwise.Filed as bug #22870643.
Topic: UI Frameworks SubTopic: UIKit Tags:
0
0
235
Sep ’15
Bluetooth sound collection Blocking audio playback?on macOS
I use openal to record and use openal to play ; use QT demo to do the communication. When I put on the Bluetooth headset, as long as I turn on the audio record by BT, the audio playback will be blocked, unable to consume data. And the trumpet is black-color at this time; But when the trumpet is gray, the record will not block the playback,i can play and record . It's a random event。 I wonder if there is a program that can detect or change this blocking?
Replies
0
Boosts
0
Views
1k
Activity
Mar ’21
Reply to How to Fix Cracking and Popping Sound ?
Obviously the problem isn't fixed yet by Apple... I have bought a Mac Pro (Early 2009) now running macOS 10.14.6 (18G5033) and added RAM and Graphic card to suit my needs. Then I realized that using Safari (100% of the time), or Spotify (85% of the time) the audio will crackle and pop every seconds creating a distortion. I am super disappointed that this problem is seen by hundreds of people and still isn't heard / listened too. At least I can use Chrome and the sound is perfect.. Can you explain wt* does this means? Apple?.... I guess not. Deep problems in the Core Audio Kernel of Mojave and Catalina in my opinion... Just because you know, Apple... They want you to buy the LATEST all the time and upgrade to the latest software all the time. I hope we will see an engineer create a revolution and releasing publicly the fix XD (Maybe even a movie hahah) :/
Topic: Community SubTopic: Apple Developers Tags:
Replies
Boosts
Views
Activity
Jul ’20
pycharm message window has more high priority than osx pop
i am using pycharm connecting to remote raspberry pi using ssh code base in apple system needs to be synced with code base in raspberry pi but pop up to overwrite permission pop up was hidden behind the message box of pycharm.we didnt know that apple pop behind the message box and it waiting waiting for long time and exhausted
Replies
0
Boosts
0
Views
256
Activity
Jan ’21
Reply to How to Fix Cracking and Popping Sound ?
Yes. I have the same problem. MacBook Pro (16-inch, 2021) Monterey 12.2.1. Until recently I've been using my Focusrite audio interface for everything but I noticed when I unplugged it that all Apple-created audio [so Apple TV, QuickTime videos etc] has terrible crackling and popping on when using the native audio engine. If I play the same QuickTime videos through VLC they're fine – so it's not a hardware problem. As far as I can see I can't reinstall Quicktime without reinstalling the whole OS which I am absolutely not going to do. I guess the only thing to do is wait until Apple release a new software update which will hopefully overwrite the broken component. Assuming they notice it's broken of course. Has anyone at Apple ever responded to any of these threads?
Topic: Community SubTopic: Apple Developers Tags:
Replies
Boosts
Views
Activity
Mar ’22
Callkit UI does not pop up
Hi, I am using Callkit to make a VOIP application recently. But when I use Callkit to make a call out, after the call is connected, I hang up normally, and another call comes in and the following interface appears; Callkit UI error - https://developer.apple.com/forums/content/attachment/3282dcba-263d-4384-aabd-a9b654605858 Callkit UI is not in the foreground - https://developer.apple.com/forums/content/attachment/41cb1f19-7b9f-4c97-b66b-fb320e3e1a5f When I click on the titlebar, the interface will pop up Incoming call ui - https://developer.apple.com/forums/content/attachment/90f37ceb-299e-4c2f-840b-a083ee10e0af This problem can also be reproduced in the SpeakerBox sample code; Model Name: iPhone 7 Software Version: 14.1
Replies
0
Boosts
0
Views
510
Activity
Nov ’20
Audio level is fade in when audio recording using iPhone12
I recorded some fan noise using my record app. My audio recording app uses AVAudioRecorder. Recently, I found that audio level is fade in for the first few seconds especially in iPhone 12 series. I tested it using voice memos app too. I checked the same issue. I'm attaching 2 screen shots. One is from iPhone12 and the other is from iPhone11 pro max. Could you explain why this happen? And is there any solution to prevent this?
Replies
0
Boosts
0
Views
697
Activity
Sep ’21
Sound decibel recognition
Hi Community Members, We tried to find the particular sound through the microphone. We used PKCCheck to detect the sound decibel. we detect the sound based on the number of dB values per second we receive and add some logic over it to get the result, but when we have continuous sound like an alarm we can't detect it as the gap between the sound is very less. Any suggestion on libraries to achieve this. Also whether we can achieve this thru Frequency & Amplitude method. Please advise.
Replies
0
Boosts
0
Views
1.1k
Activity
Oct ’22
No sound in iPad
My app which was built for iOS12 with videos has no sound in iPad, but has sound in iPhone. The app has sound with headphones on. I tried to unmute and couple of other things. Can someone help as I donot know if it is an iOS issue, code or my iPad issu.
Replies
1
Boosts
0
Views
949
Activity
Mar ’19
How to add interactive pop gesture using SwiftUI in iOS16?
Considering the latest updates added in iOS16 in terms of programmatic navigation, is there a dedicated SwiftUI way of adding the interactive-pop-gesture interaction in the NavigationStack / NavigationSplitView?
Replies
0
Boosts
0
Views
873
Activity
Mar ’23
The audio unit of kAudioUnitSubType_VoiceProcessingIO can't query Audio Workgroup
I know the VoiceProcessingIO audio unit will create a aggregate audio device. But there are error kAudioUnitErr_InvalidProperty (-10789) during getting kAudioOutputUnitProperty_OSWorkgroup property in recent macOS Monterey 12.2.1 or BigSur 11.6.4. os_workgroup_t workgroup = NULL; UInt32 sSize; OSStatus sStatus; sSize = sizeof(os_workgroup_t); sStatus = AudioUnitGetProperty(mAudioUnit, kAudioOutputUnitProperty_OSWorkgroup, kAudioUnitScope_Global, 1, &workgroup, &sSize); if (sStatus != noErr) { NSLog(@Error %d, sStatus); } And the same code works fine on iOS 15.3.1 but not macOS. Have you any hint to resolve this issue?
Replies
0
Boosts
0
Views
1.1k
Activity
Mar ’22
Can i stop notification sound?
in my app, notification has play 20sec sound. i want to stop notification sound when new push notification same thread identifier I tried the methods in the link below https://stackoverflow.com/questions/57568491/handling-remote-push-notification-sounds-when-app-is-terminated https://stackoverflow.com/questions/55324708/how-to-cancel-a-local-notification-trigger-in-swift But I didn't achieve what I wanted Is what I want impossible on OS? Additionally, the sound will only play continuously on the lock screen. If the screen is not locked, the sound is turned off and the sound applied to the new notification is played.
Replies
0
Boosts
0
Views
1.6k
Activity
Sep ’22
AVAssetWriter audio compression settings for multichannel audio
With a 4 channel audio input, I get error while recording a movie using AVAssetWriter and using LPCM codec. Are 4 audio channels not supported by AVAssetWriterInput? Here are my compression settings: var aclSize:size_t = 0 var currentChannelLayout:UnsafePointer? = nil /* * outputAudioFormat = CMSampleBufferGetFormatDescription(sampleBuffer) * for the latest sample buffer received in captureOutput sampleBufferDelegate */ if let outputFormat = outputAudioFormat { currentChannelLayout = CMAudioFormatDescriptionGetChannelLayout(outputFormat, sizeOut: &aclSize) } var currentChannelLayoutData:Data = Data() if let currentChannelLayout = currentChannelLayout, aclSize > 0 { currentChannelLayoutData = Data.init(bytes: currentChannelLayout, count: aclSize) } let numChannels = AVAudioSession.sharedInstance().inputNumberOfChannels audioSettings[AVSampleRateKey] = 48000.0 audioSettings[AVFormatIDKey] = kAudioFormatLinearPCM audioSettings[AVLinearPCMIsBigEndianKey] = false audioSettings[AVLinearPCMB
Replies
1
Boosts
0
Views
1.1k
Activity
Oct ’22
Playing Sounds
Hello, I’ve been trying to play system sounds in my app, but this hasn’t really been working. I am frequently switching between speech recognition (Speech framework) and sounds, so perhaps that’s where the issue lies. However, despite my best efforts, I haven't been able to solve the issue. I've been resetting the AVAudioSession category before playing a sound or starting speech recognition (as depicted in the code snippet below), to no avail. Has this happened to anyone else? Does anybody know how to fix the issue? recognizer = nil try? AVAudioSession.sharedInstance().setCategory(.playback, mode: .default, options: []) try? AVAudioSession.sharedInstance().setActive(true) AudioServicesPlaySystemSound(1113) try? AVAudioSession.sharedInstance().setCategory(.record, mode: .spokenAudio, options: []) try? AVAudioSession.sharedInstance().setActive(true) recognizer = SpeechRecognition(word: wordSheet) recognizer!.startRecognition() Thank you.
Replies
1
Boosts
0
Views
773
Activity
Feb ’24
AlarmKit - Custom Sounds?
Could someone please explain how to use a custom sound when setting up an alarm using AlarmKit? It keeps playing a default sound. Also, I keep having an issue where the alarm sound plays but doesn’t show the alarm interface buttons unless the screen is locked.
Replies
13
Boosts
0
Views
527
Activity
Jun ’25
Universal Links w/ 3D touch Peek and Pop
Our emails contain buttons w/ universal links behind them. Doing a preview (peek) shows the results of sending the link to Mobile Safari. Normally when the button is pressed (or pressing further into the peek--that is, doing a pop) the link is sent to our app.The page rendered by Mobile Safari may/will look different than what the app shows. So the transition from the peek to the pop can be very confusing to the user. This doesn't seem like correct behavior, although I don't know how the peek preview could be handled otherwise.Filed as bug #22870643.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
0
Boosts
0
Views
235
Activity
Sep ’15