Search results for

Popping Sound

19,351 results found

Post

Replies

Boosts

Views

Activity

iOS 26 beta 8 – AlarmKit – Custom sounds in Library/Sounds do not play
I put a test.mp3 (30 sec) file into the App Bundle. I scheduled an AlarmKit alarm with the file name test.mp3. The custom sound plays ✅ I copied the file from the App Bundle to Library/Sounds/test2.mp3. I scheduled an AlarmKit alarm with the file name test2.mp3. Instead of playing the custom sound, it falls back to the default sound ❌ According to the documentation, sounds placed in Library/Sounds should be playable: I filed report FB19779004 on August 20, but haven’t received any response yet. This functionality is critical for our use case, so could you please let me know whether this is expected to be fixed soon, or if I’m misunderstanding the intended behavior?
2
0
145
Aug ’25
Adding sound to SKAction.sequence
Hi,I am trying to add sound to a sequence.First, in GameScene.swift in func didMove (after creating the mySprite of course), I added the property to the sequence:let demoAction = SKAction.move(to: CGPoint(x: 450, y: 300), duration: 3)let growAction = SKAction.scale(to: 3, duration: 3)let dialogueOne = SKAction.playSounfFileNamed(DialogueOne.m4a, waitForCompletion: false)let sequence = SKAction.sequence([demoAction, growAction, dialogueOne])mySprite.run(sequence)...and this didn't work.Then in GameScene.swift I added the property (globally):let dialogueOne = SKAction.playSounfFileNamed(DialogueOne.m4a, waitForCompletion: false)and called it at the end of the function:let demoAction = SKAction.move(to: CGPoint(x: 450, y: 300), duration: 3)let growAction = SKAction.scale(to: 3, duration: 3)let sequence = SKAction.sequence([demoAction, growAction])mySprite.run(sequence)self.run(dialogueOne)...this also didn't work.I also imported AVFoundation in both GameViewController.swift and GameScene.swift btw - not
2
0
742
Dec ’18
Playing periodic audio in background using AVFoundation - facing audio session startup failure
Hello everyone, I’m new to Swift development and have been working on an audio module that plays a specific sound at regular intervals - similar to a workout timer that signals switching exercises every few minutes. Following AVFoundation documentation, I’m configuring my audio session like this: let session = AVAudioSession.sharedInstance() try session.setCategory( .playback, mode: .default, options: [.interruptSpokenAudioAndMixWithOthers, .duckOthers] ) self.engine.attach(self.player) self.engine.connect(self.player, to: self.engine.outputNode, format: self.audioFormat) try? session.setActive(true) When it’s time to play cues, I schedule playback on a DispatchQueue: // scheduleAudio uses DispatchQueue self.scheduleAudio(at: interval.start) { do { try audio.engine.start() audio.node.play() for sample in interval.samples { audio.node.scheduleBuffer(sample.buffer, at: AVAudioTime(hostTime: sample.hostTime)) } } catch { print(Audio activation failed: (error)) } } This works p
0
0
148
Jul ’25
Can't stop playing audio
private let walkAudioSource = SCNAudioSource(fileNamed: Scenes.scnassets/Audio/RamboWalk.wav)! init() { super.init() walkAudioSource.isPositional = true walkAudioSource.load() } private func moveHero() { node.runAction(SCNAction.playAudio(walkAudioSource, waitForCompletion: false), forKey: walkAudioSource) node.runAction(SCNAction.wait(duration: 1.0)) { Swift.print(self.node.removeAction(forKey: walkAudioSource)) self.node.removeAction(forKey: walkAudioSource) } }when executing:moveHero()i can hear the audio playing and see output:self.node.removeAction(forKey: walkAudioSource)but audio is still playingAnybody knows how to stop audio playing?
1
0
759
May ’17
AVPlayer live audio buffer
I have an app which plays a live .m3u8 audio stream using an AVPlayer instance. The audio plays as expected and keeps up with the live version. I have some user reports which claim that if they stop the player for 30-60 seconds, when they resume, it resumes from its last position, not the live position. This suggests that the player is caching/buffering some of the audio they've missed. How do I ensure this does not happen? I want the audio to play at as close to live as possible.
0
0
616
Jul ’20
play audio on end of drag
I have some problem with autoplay.I added event listener on touchend to an element. I want to play audio when i finish drag finger on this element.Everywhere is written that on touchend event audio should be playing, but it doesn't. Audio is playing only if i click fast on the element without drag,I found here: https://bugs.webkit.org/show_bug.cgi?id=149367 that: Allowing media to play on touchstart means that ads videos and audio will autoplay when you scrollCan I suppose that if touchend event comes from drag then audio will not play?
1
0
881
May ’16
No sound in beta 2
I have no sound. I am on a Macbook Pro Retina 13 Early 2015.I noticed this sometime after using a Fretlight Guitar and accomanying software. I am not sure if using MIDI triggered it somehow, but sound was working while I was using it.I have no airplay audio devices listed when option clicking the speaker icon.Under Sound Preferences, everything appears normal.MIDI Audio setup the master volume slider is greyed out and set all the way down.I've tried resetting the SMC and PRAM to no avail.There is sound on boot, but abosultely nothing in OS X.Volume controls are fine, no cross circle or red light.
1
0
359
Jul ’15
Fade in background sound with SKAudioNode
From the first glance, it looked like SKAudioNode would deliver all the sound functionaliy I need for a simple game-like app.But it seems to be making life difficult.I wanted to create an AudioNode, and have it start with zero volume, and then fade up to an audio level.After a few attempts, I now have this. //create audio in paused state amb.runAction(SKAction.pause()) amb.runAction(SKAction.changeVolumeTo(0.0, duration: 0.0)) //and then after a delay - unpause and fade in amb.runAction(SKAction.play()) amb.runAction(SKAction.changeVolumeTo(0.2, duration: 20))But the duration parameter seems to be ignored.Also finding that scene transitions don't like scenes with audio. I am occasionally seeing crashes. XCode itself crashes when previewing a scene with looping audio. And (just a little) worried that Demo Bots example code does not include any sound at all. I am puzzled about how best to proceed.
11
0
4.4k
Apr ’16
Combining two audio AVAssetWriterInput
Hello,I am working with Replay Kit 2, to record the screen, the app output audio, and the phone input microphone.This means I can have up to 3 AVAssetWriterInput instances:- 1 for the app video (screen recording)- 1 for app audio (stereo, 2 channels, 441000 sample rate, 64000 bit rate)- 1 for microphone audio (mono, 1 channel, 441000 sample rate, 64000 bit rate)I am using a AVAssetWriter to combine these three inputs. (using add: method)This results in an mp4 with two different audio tracks, one with only the app audio, and another with the microphone audio. This means in some players like VLC only one track at a time is played.Is there any specific way to combine both inputs into one in the final MP4?
3
0
2.9k
Jan ’18
how to record audio at distance?
Hi,Can someone explain me how I can run a remote recording audio on my phone?I found an example of an audio recorder with swift. It's works great and I can upload records in Firebase.Now, I want to execute the same things but without using the record button in my app.For example a web page with a button start recording on the IOs phone.Or another app on a second phone starts the action to register on the first phoneI don't know how it's possible and which types of communication, I can use it for remote access.If my project it's not clear, ask me details.Thank you for your help.
6
0
3.7k
Aug ’17
Audio Passthrough
Hi, I'm trying to pass audio through from an input directly to the built-in speakers in a macOS app. It's to go along with passing through video to the form. I have successfully populated an AVCaptureDevice object and then initialised an AVCaptureDeviceInput from it. I've then added it as an input to my session. Am I missing something to actually output the session to the speakers though? Thanks, Jimmy -(void) initCaptureSession { session = [[AVCaptureSession alloc] init]; if ([session canSetSessionPreset : AVCaptureSessionPresetHigh]) [session setSessionPreset : AVCaptureSessionPresetHigh]; if (@available(macOS 10.14, *)) { if ([AVCaptureDevice authorizationStatusForMediaType: AVMediaTypeVideo] == AVAuthorizationStatusNotDetermined) { [AVCaptureDevice requestAccessForMediaType:AVMediaTypeVideo completionHandler:^(BOOL granted) { if (granted) { //self.videoConsentState = PrivacyConsentStateGranted; } else { //self.videoConsentState = PrivacyConsentStateDenied; }}]; } } else { // Fallback on earlier v
0
0
621
Oct ’22
Frustrating pop-up "Cannot Verify Server Identity"
For the last several betas, I keep getting the following error: Cannot Verify Server Identity The identity of domain name cannot be verified. This post won't allow me to type in the server, but it is in the attached picture. I keep assuming it is a beta issue, but it is persisting across betas. Any ideas on how to get rid of this or what is causing it? It also popped up on my new iPhone 14 Pro after synching with the iPhone 13 Pro it replaced.
0
0
302
Sep ’22