Search results for

Popping Sound

19,600 results found

Post

Replies

Boosts

Views

Activity

Advanced audio in SpriteKit
Hi! I'm doing a project where I need to do some more advanced audio features, and I'm wondering how others approach this topic. In a previous project I didn't find enough ready-made audio features in SpriteKit, so I kind of just hacked around to get what I needed. I was juggling mainly between playing sounds with SKAction and AVAudioPlayer. Now I've been asked to implement dynamic filtering to a group of sounds, such as low-pass filtering, and I'm trying to assess if this is even possible in SpriteKit.So I wanted to ask if anyone has any experiences with advanced audio? If so, did AVAudioPlayer fit your needs? Does SKAudioNode add some relevant stuff? I'm a total noob about audio stuff, so don't take everything I say as fact 😀.
4
0
658
Dec ’16
Streaming Audio with AVPlayer disables audio after 42 minutes.
I'm trying to stream audio from aws using AVPlayer. However, after ~42 minutes of flawless streaming (the audio tracks are all an hour long or more) AVPlayerItem fires a didPlayToEndTime event. After this happens, the app isn't allowed to play audio any more. Trying to play any audio at all appears to just kick out didPlayToEndTime events almost immediately.It appears to work fine when targeting local files.Is there something I'm missing? I'm instaniating new players, a new avaudiosession doesn't do anything, nothing is throwing any errors, and failedToPlayToEndTime is never evoked.
4
0
550
Nov ’17
Is UIBackgroundModes audio required for WKWebView to play audio/airplay etc in the background?
I know WKWebview is in another process from the main app. My question is is the UIBackgroundModes audio entry in Info.plist required on the main app for WKWebview to play audio/video/airplay in the background? Or is simply setting WKWebViewConfiguration allowsAirPlayForMediaPlayback and allowsPictureInPictureMediaPlayback enough? I recall having issues with background audio from WKWebView on older versions of iOS a couple years ago so I added the audio entry to the Info.plist.... but I just removed the key from the Info.plist and background audio from WKWebview seems to be working fine...maybe audio background mode is not required? Or does it only seem to be working because my app is attached to the debugger? Or is this a bug?
1
0
1.4k
Aug ’22
How to avoid pop-up message on VPN connection?
Hi, I've created a IPSec VPN profile with Apple Configurator 2. Installation and controlling [ means starting and stopping ] IPSecVPN service from my Mac OS app. My question is can i configure to suppress/avoid the VPN authentication failure pop-up messages in any way. I'm using scutil --nc command to start and stop the service from my Mac OS app. Thanks in advance.
0
0
386
Jan ’18
iOS 15.1 - Notification sound is not playing when only .sound option
We have an issue when we tried to fire only the sound in the push notification in iOS 15. Sound does not play when UNNotificationPresentationOptions is only set as sound. [.sound] (see snippet code attached) It seems iOS 15 silence this. It was working before in iOS 14 but stopped working for iOS 15. The following StackOverflow's URLs recommend playing a sound with AudioServicesPlaySystemSound. https://stackoverflow.com/questions/69023854/ios-15-notification-sounds-are-not-playing-for-foreground-notifications https://stackoverflow.com/questions/69277080/before-ios-15-i-was-able-to-send-sound-only-local-notification-now-i-have-to-s Any tips/recommendations on how to resolve this? Does anyone know if Apple does not allow this anymore? func taskNotificationCenter(_ center: TaskNotificationCenterType, willPresent notification: UNNotificationType, withCompletionHandler completionHandler: @escaping (UNNotificationPresentationOptions) -> Void) { compl
2
0
3.0k
Nov ’21
No Audio
Hi All,I've read the other comments but haven't figured this out. Is it possible to play audio to the watch speaker as of beta 1? I can get the mp3 file to tell me I need an external bluetooth speeker on the simulator but my watch just crashes. I just can't figure it out and it looks like others can't fix it either. Then I see a hack for nanoFlappy that plays all audio to the watch speaker...***? I have tried the code on other post but it just doesn't work. So if anyone has code (Swift) that actually works, I would appreciate seeing it...Thanks.
6
0
614
Jun ’15
Audio MIDI Set Up wont load
Hi - I've been using logic for a few years now. Three days ago I whilst opening it, a pop up said MIDICORE was not working and I haven't been able to fix it since. I read online that booting up in safe mode + opening audio MIDI set up would fix it, thing is audio MIDI set up wont load up. Anyone knows how I can fix it? I am on the verge of tears as I cannot seam to find any information online about audio MIDI set up not opening. And I cannot seam to fix the MIDI issue without it. Thanks!
0
0
242
Feb ’25
Audio scratch problem
Hello, I have a question... I own a MacBook Pro 14'' M1 MAX and I have a problem with the audio, practically when I try to use AppleTV+ with the built-in audio on my Mac, the audio starts scratching. I don't know if it's a Codec problem or something else, is there anyone with my same problem or anyone who can help me? Thank you very much!
1
0
544
Jan ’22
USB Audio
Latest 10.11 beta, I've discovered that USB Audio degrades over time to really rough with a lot of drops. Unplugging and reattaching the device clears the problem for a while, but then it goes crappy again.
2
0
498
Jun ’15
Mutichannel audio decoding
Goodmorning everyone, I am having a problem regarding deconding of multichannel .aac audio files (number of channels = 16) in Safari desktop. I am using the Web Audio API library with input the video tag or the audio tag. Processing with this library outputs 2 channels. With other browsers (e.g. Chrome) the decoding works, while with Safari it doesn't. Do you have any ideas about it? Is there any documentation indicating the maximum number of audio channels? Thanks in advance for your support
0
0
437
Mar ’21
Text Selection ToolTip Pop View
Hey, I’m still relatively new to swiftUI and was wondering if swiftUIs ToolTip feature is what I was looking for. The thing I was looking for is something similar to the both Screenshots, where some Text is selected and upon the text selection, on the users view, immediately pops up a blurred (glassy design?) view with a variety of options. These options are usually buttons and when clicking on them, the user may be directed to another view (via navigation link?) and after the user may have done something in this new view, it gets popped from the navigation link. Thus the user again sees the initial view (like on the two example screenshots) with still the same text being selected and the tooltip view being shown. If the users taps elsewhere, thus the selection should go away as usual and therefore the tooltip view as well. To sum up, is tooltip that what I’m thinking it may can do? And eventually if it’s true that this feature, if it’s the right tool, is only available to iOS 15+? Thank you for your
1
0
1.5k
Jun ’22
Play Audio for a Metronome
Hi, I am looking for a good way to play sounds at a high frequency. At the moment I am using the AVAudioEngine, and create a couple AVAudioPlayerNode and for each sound I need to play I create a AVAudioPCMBuffer. When the app needs to play a sound, I get the correct AVAudioPCMBuffer for the sound and use the first available AVAudioPlayerNode and feed it to the buffer. The timing for a metronome app has to be very precise because if it's of by about 16ms the user can hear that it is not playing had the right interval. For low speeds this is working without any problems, but at high speeds it is getting worse. Maybe anyone has an idea on how I can improve my method. Its a Plugin for Flutter. import AVFoundation class FastSoundPlayer { private var audioPlayers: [SoundPlayer?] = [] private var sounds: [String: Sound] = [:] private var engine = AVAudioEngine() let session = AVAudioSession.sharedInstance() init() { do { try session.setCategory(AVAudioSession.Cat
1
0
113
Mar ’25
pop-up menu
What would be a way to allow the user to hold down on a control and a menu pops up above the control that allows the user to pick one of the icons on the menu to select the state of the control, which then causes the control to look like the icon the user selected?
Topic: UI Frameworks SubTopic: UIKit Tags:
0
0
238
Jun ’17