Search results for

Popping Sound

19,349 results found

Post

Replies

Boosts

Views

Activity

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
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
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
675
Sep ’21
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
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
1k
Mar ’22
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
478
Sep ’24
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
734
Feb ’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
742
Jul ’17
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.
11
0
308
Jun ’25
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
478
Nov ’20
Record sounds from a speaker
Hi, everybody.I am doing a record audio function.(not jailbreak)I have a problem, I only recorded sound from microphone and can't recorded sounds from a speaker.do you have anyway to record the both?if apple rule don't allow record sounds from a speaker. please send for me document rule(because I want report this problem for my company)Please help me sovle it.Thanks so much.
1
0
367
Nov ’16