Search results for

Popping Sound

19,600 results found

Post

Replies

Boosts

Views

Activity

Localized name for default sounds in /System/Library/Sounds
In the Mail settings one can choose one of the default sounds located at /System/Library/Sounds. Playing them is easy, e.g. with NSSound(named: Purr)?.play(), but how can I show a localized name for those sounds as Mail does? I couldn't find any way of getting a localized name. Would I have to manually translate each one to each supported language?
Topic: UI Frameworks SubTopic: AppKit Tags:
0
0
436
Mar ’23
Does not play different sound when different sound is selected
When a different sound is selected in a TableView, the name of the sound is added to a variable. In a different view controller, it is supposed to access the variable and play the sound when a button is pressed, though it instead just plays the same sound. Here is the code:FirstSoundController (Plays Sound):class FirstViewController: UIViewController { var someVariable = SecondViewController() @IBAction func activation(sender: UIButton) { if sender.titleLabel!.text == ACTIVATE { sender.setTitle(DEACTIVATE, forState: UIControlState.Normal) var someSound = NSURL(fileURLWithPath: NSBundle.mainBundle().pathForResource(someVariable.soundSelected, ofType: mp3)!) audioPlayer = AVAudioPlayer(contentsOfURL: someSound, error: nil) audioPlayer.prepareToPlay() audioPlayer.play() } else { sender.setTitle(ACTIVATE, forState: UIControlState.Normal) audioPlayer.stop() }}SecondViewController (Shows table of Sounds):class SecondViewController: UIViewController, UITableViewD
2
0
238
Aug ’15
Missing Destination when "pop to" root View
I have referred to this Stack Overflow thread SwiftUI How to Pop to root view - https://stackoverflow.com/questions/57334455/swiftui-how-to-pop-to-root-view However it doesn't work for my case, of course no answer fits each persons use case perfectly so one always has to modify the answer slightly but of course keeping to the overall outline of the solution. The solution I went with is use an ObservableObject and set it as an EnvironmentObject of the root view. The navigation stack grows by 4 views: RootView().environmentObject(AppSettings.shared) FirstView() SecondView() ThirdView() FourthView() The NavigationLink isActive state for the FirstView is defined in AppSettings.shared, all the other states are found in the subsequent view and not in AppSettings. For example: FirstView -> SecondView the SecondView isActive state is defined in the ViewModel of the FirstView, and so on and so forth. What I am trying to achieve is to pop to RootView from the FourthView. So on the FourthVi
0
0
2.0k
Jul ’20
Reply to AVAudioEngine how to start engine without NSAssert
Hi Steve,We're actually in the process of updating the AVAE samples adding new functionality, fixing bugs etc. so it's a good time catching this now so we can update everything at once as the NSAssert's are removing critical lines of code from being compiled in with the release build which is of course bad.As for the popping...engineering informed me that this is a known issue where fades are not applied between buffers that get interrupted or stopped resulting in the popping very apparent with low frequency audio. Your work around is fine but annoying to have to deal with - we're hoping to address the issue in a future release (but as you know it's impossible for us to be more specific regarding when a fix will be available).
Topic: Media Technologies SubTopic: Audio Tags:
Nov ’15
Audio quality
Since updating to iOS 26, audio recordings made through apps like Snapchat and Instagram sound broken, saccaded and choppy. The issue happens with or without headphones. It feels like the microphone is either misused or filtered too aggressively by the app, leading to a stuttering or “cut-off” effect during speech. This doesn’t happen when recording audio in the Voice Memos app or the Camera app — only in social media apps.
0
0
70
Aug ’25
AVPlayerViewController for Audio?
The Player object available in TVJS presents a really nice UI for audio playback, is it possible to get this viewcontroller as a native component as well?For example the video version is available through AVPlayerViewController, but I can't find the equilevent audio version.
1
0
313
Sep ’15
No sound when playing audio over car system with Bluetooth
Hi I am developing an app which plays spoken audio. I experience problems when I want to play audio over the car system with Bluetooth. The Bluetooth connection is fine and other audio apps (e.g. Spotify) just work fine. When I want to play audio with my app, I can start audio playback successfully but I hear no sound. It works with the device speakers and interestingly even with another mobile Bluetooth sound box. Both the car system and the mobile soundbox use A2DP. Below you can find the relevant method that starts the audio playback. The full app can be found at https://gitlab.com/spiri-voyage/spiri-test. func play() { if playbackState == .Stopped { let url = Bundle.main.path(forResource: Kolinbrunnen, ofType: mp3) let item = AVPlayerItem(url: URL(fileURLWithPath: url!)) player.replaceCurrentItem(with: item) let audioSession = AVAudioSession.sharedInstance() do { try audioSession.setCategory(.playback, mode: .spokenAudio) addInfo(Audio
0
0
633
Jun ’21
iOS: degraded audio when using createMediaElementSource() with audio element
I am looking for an explanation, bug report or viable workaround regarding degraded audio quality when a html audio element is used as a source of a web audio graph. The issue seems to occur both when using chrome or safari at least on ios 12.1A recording of the introduced noise can be found here: https://st-h.github.io/test/ios_playback_noise.mp3A basic page to reproduce the issue can be found here: https://jsfiddle.net/st___h/36w7vxn2/27/showsource code is available here: https://jsfiddle.net/st___h/36w7vxn2/27Same code runs without any issue on macOS desktop and android devices, however leads to issues every now and then on every iOS I have tried. Please not that in order to reproduce the issue, a few reloads of the page might be required as the issue is not present every time audio is played back.I have opened a similar question over at stackoverflow, which currently hasn't received much attentionhttps://stackoverflow.com/questions/54982847/crackles-and-noises-when-play
0
0
2.0k
Mar ’19