Search results for

“Popping Sound”

20,148 results found

Post

Replies

Boosts

Views

Activity

Suppress focus sound?
Is there a way to suppress the focus sound when using the remote to swipe across multiple buttons?I'm writing a music app and want the buttons to play their own sounds (rather than the tvOS system sound) when scrolling over the buttons.
1
0
442
Oct ’15
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
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
707
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
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
519
Nov ’20
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
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
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
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.
14
0
620
Jun ’25
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
777
Feb ’24
Sound quality
Am a musician/DJ. Jumped from 14 Pro Max iOS 17 to 16 Pro Max iOS 18.1 b4. For each audio source(music app/yt music etc.) same track/eq/volume compared side by side. With the new device, overall it's a bit muffled and damping music when highs and lows are mixed. Most noticeable when listening to high vocals and acoustic instruments. Drum and bass sound much like on an old Nokia. On 14 Pro it's nothing like that. Thank you
1
0
539
Sep ’24
Is it possible to play a sound?
Is it actually possible to play a sound on iOSplaySoundFileNamed() causes memory leaksSKAudioNode() crashes when you leave the app and return, and you can't play sounds simultaneouslyAVAudioPlayer causes lag, and you can't play sounds simultaneouslyIs it even possible?
1
0
766
Jul ’17
Suppress focus sound?
Is there a way to suppress the focus sound when using the remote to swipe across multiple buttons?I'm writing a music app and want the buttons to play their own sounds (rather than the tvOS system sound) when scrolling over the buttons.
Replies
1
Boosts
0
Views
442
Activity
Oct ’15
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
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
707
Activity
Sep ’21
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
266
Activity
Jan ’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
955
Activity
Mar ’19
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
519
Activity
Nov ’20
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
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
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
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
14
Boosts
0
Views
620
Activity
Jun ’25
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
777
Activity
Feb ’24
Sound quality
Am a musician/DJ. Jumped from 14 Pro Max iOS 17 to 16 Pro Max iOS 18.1 b4. For each audio source(music app/yt music etc.) same track/eq/volume compared side by side. With the new device, overall it's a bit muffled and damping music when highs and lows are mixed. Most noticeable when listening to high vocals and acoustic instruments. Drum and bass sound much like on an old Nokia. On 14 Pro it's nothing like that. Thank you
Replies
1
Boosts
0
Views
539
Activity
Sep ’24
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
882
Activity
Mar ’23
Is it possible to play a sound?
Is it actually possible to play a sound on iOSplaySoundFileNamed() causes memory leaksSKAudioNode() crashes when you leave the app and return, and you can't play sounds simultaneouslyAVAudioPlayer causes lag, and you can't play sounds simultaneouslyIs it even possible?
Replies
1
Boosts
0
Views
766
Activity
Jul ’17