Search results for

Popping Sound

19,349 results found

Post

Replies

Boosts

Views

Activity

How to implement 3d touch peek without pop?
Getting Started with 3D Touch | Peek and Pop describes peek preview and optional navigation (pop.) But I can't find any way to implement peek -- by implementing:- (UIViewController*)previewingContext:(id<UIViewControllerPreviewing>)previewingContext viewControllerForLocation:(CGPoint)locationwithout the pop gesture also being implemented. If I fail to implement the commit callback:- (void) previewingContext:(id<UIViewControllerPreviewing>)previewingContext commitViewController:(UIViewController *)viewControllerToCommitit still dismisses my peek/preview view controller after providing a second haptic feedback vibration.Since Apple describes it as optional, am I missing something?(I'm trying to implement Contacts app like behavior and I do realize there's no API to do this. My thought was to do this within the peek/preview, but pop/commit is getting in the way.)
Topic: UI Frameworks SubTopic: UIKit Tags:
1
0
764
Nov ’16
macOS avoid VoiceOver audio ducking for certain sounds
Is it possible to play certain sounds from a macOS app that remain at full volume when VoiceOver is speaking? Here's some background: I want to play sounds from my app (even when it's not in focus) to notify a VoiceOver user that an action is available (this action can be triggerred even when the app is not in focus; and is comfigurable by the user). I tired using an NSSound for this, but VoiceOver ducks the audio of my sound when it is speaking. Is there some way to avoid audio ducking for certain sounds? Or is there another, perhaps lower level, audio API that i can use to achieve this?
1
0
487
Dec ’24
Reply to How to Fix Cracking and Popping Sound ?
what worked for my case was: (Menu Bar): Go > Computer > Macintosh HD > Library > Preferences > Audio Delete the com.apple.audio.DeviceSettings.plist and com.apple.audio.SystemSettings.plist files Empty trash Restart your computer After this I tried listening to the same YouTube videos and Spotify and no longer had any crackling/popping so far. Was really excited that Apple's Support was able to help solve it so quickly. Hope this helps!
Topic: Community SubTopic: Apple Developers Tags:
Jul ’24
Reply to How to Fix Cracking and Popping Sound ?
what worked for my case was: (Menu Bar): Go > Computer > Macintosh HD > Library > Preferences > Audio Delete the com.apple.audio.DeviceSettings.plist and com.apple.audio.SystemSettings.plist files Empty trash Restart your computer After this I tried listening to the same YouTube videos and Spotify and no longer had any crackling/popping so far. Was really excited that Apple's Support was able to help solve it so quickly. Hope this helps!
Topic: Community SubTopic: Apple Developers Tags:
Jul ’24
iOS - Play audio from remote URL, with audio meters
So, I've been working on an app, and for part of it I have a record/playback system. For this to work correctly, I need to be able to: Record and play back local audio Use power levels to hook up to an audio level meter Play back remote audio from my server To be clear, I'm not asking for any help with the UI: I already have a working interface as well as an audio level meter. The problem is, AVAudioPlayer has audio metering, but it can't stream audio from the network. AVPlayer, on the other hand, can stream audio from the network, but doesn't have audio metering. I'm not sure what the thought process behind that was, but so far it seems like neither option works. AVAudioPlayer could work if I just downloaded the audio before playing, but it would be a lot nicer if I could just stream it. Is there something I'm missing, or is it impossible to stream audio with AVAudioPlayer (or have metering with AVPlayer)?
1
0
1.7k
Aug ’20
Reply to How to Fix Cracking and Popping Sound ?
I listen to music via Bluetooth on a BoseQC45 headphones on a M1 Max (64GB Ram) without any memory pressure, and this glitch happens very often (while typing this text, the glitch happened at least 3 times - it sounds like a scratch sound you would get on the old vinyl records). For me I noticed the glitch or pop / crackle sound occurs when a A2DP packet flushed occurs. At first I thought it was RF interference, but I am doubting this more and more. I am considering getting a bluetooth dongle for the M1, but have not gotten round to do that just yet. Has apple responded to this problem in this thread yet? Here is a log extract of when the sound glitch occurs: error 19:46:49.546658+1200 bluetoothd A2DP packet flushed: L2CAP (chip) flush occured. Current sequence=40623, timestamp=18463685
Topic: Community SubTopic: Apple Developers Tags:
Apr ’24
Alert structure and playing sound
Hello, I'm working on an SwiftUI iOS app that shows a list of timers. When the timer is up then I pop up an alert struct. The user hits ok to dismiss the alert. I am trying to include an alarm sound using AVFoundation. I can get the sounds to play if I change the code to play when a button clicks so I believe I have the url path correct. But I really want it to play during the alert pop up. I have not been able to find examples where this is done using an alert so I suspect I need a custom view but thought I'd try the alert route first. Anyone try this before? @State var audioPlayer: AVAudioPlayer? .alert(isPresented: $showAlarmAlert) { playSound() -- Calls AVFoundation return Alert(title: Text(Time's Up!)) } func playSound() { let alertSoundPath = Bundle.main.url(forResource: classicAlarm, withExtension: mp3)! do { audioPlayer = try AVAudioPlayer(contentsOf: alertSoundPath) audioPlayer?.play() } catch { appData.logger.debug(Error playing sound: (alertSoundPath)) }
4
0
78
Apr ’25
Special audio tracks in AVPlayerViewController audio selector
We are facing an issue with the audio tracks displayed by AVPlayerViewController in our tvOS client. When we have a stream with alternative audio tracks, we set for sure the language and the name in the manifest of the HLS stream as described by https://tools.ietf.org/html/rfc8216 eg: NAME=French,DEFAULT=NO,AUTOSELECT=YES,LANGUAGE=fr This works for common audio tracks with different languages. The Audio Track is then displayed correctly by AVPlayerViewController, showing the name of the language localized based on the user's device language preference. But as soon as we offer more special audio tracks like Miscellaneous our audio track is defined like: NAME=Other (mis),DEFAULT=NO,AUTOSELECT=YES,LANGUAGE=mis When it comes to displaying these audio tracks to the customer, they appear as mis. This cryptic Audio Track name is the issue. Other special audio tracks with the same issue are: mis, for uncoded languages; for languages that
2
0
2.4k
Jun ’20
direct phone call without pop-up?
I have a button in my app that places a call when touched.Code - let call = detail.value(forKey: Phone) as? String if let url = URL(string: tel:/ { UIApplication.shared.open(url, options: [:], completionHandler: nil) }However, when touched, a pop up appears asking to Call or Cancel. Is there a way to take the user direct to the phone app and avoid this pop up?
1
0
1.1k
Mar ’17
Analytics Audio Unit and Audio Unit Controlling Another
I am developing some generalized analytics functions to be performed on real-time audio such as autocorrelation, etc. The analytics results will then be used to control particular audio processing functions (e.g., effects audio units). Does it make sense to define an audio unit type for performing analytics, i.e., an audio unit that doesn't actually process the audio in-band, but only performs some analytics on audio and the results of the analytics are used in real-time to control the processing behavior of another audio unit? If so, can one audio unit be used to control another one? In particular, is there any well defined design pattern or API that allows one audio unit to control another via control signals that are generated as the result of some analytics performed on real-time audio. Any insight into this question or examples of code illustrating such a scenario would be greatly appreciated. Thanks.
1
0
449
Jun ’17
iOS14 missing TabBar on popping multiple ViewControllers
Seems like there is a confirmed bug on Xcode12 + iOS14. I have a UINavigationController on each item of a UITabBar, and I've set hidesBottomBarWhenPushed to YES on every secondary ViewControllers, so the TabBar will only be shown on the rootViewController of navigationController. But when I try popping multiple ViewControllers, like pop C from stacks like A-B-C, I found that the TabBar just missing on A. Also another weird part, when I print navigationController.viewControllers in viewWillDisappear: method on C, I found it printing like C-A. How C moved to the top of the array?? This is confirmed on a simple demo app, wonder when it will be fixed.
18
0
1.0.0k
Sep ’20
What are the interactions between a hog-mode audio player and an audio driver ?
Hi everyone !I have developped a virtual audio driver which gets audio samples from the audio engine and sends those samples through the network.It works as expected but I have some issues when using some audio players with hog-mode enabled.While testing my driver with a hog-mode audio player, I was surprised to see that it works, I was just earing the sound from the hog-mode player and other sounds where muted.Sometimes, it doesn't work that well, it seems that the audio engine is broken.To understand what was going on, I add some traces in my audio driver code, at different levels (nub, bus, device, engine), but don't see yet any specific calls from the hog-mode player.Does anyone have an idea how such player can hog the audio device bypassing the driver ? Using AUHAL / HAL perhaps ?Thanks in advance.
0
0
401
Feb ’16