Search results for

“Popping Sound”

20,620 results found

Post

Replies

Boosts

Views

Activity

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
930
May ’16
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
686
Oct ’22
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.5k
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
3.0k
Jan ’18
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?
3
0
345
Aug ’25
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.8k
Aug ’17
Apple Watch Sound settings
When trying to control the sound and haptic feedback on the Apple Watch there is no response whatsoever. The watch does not make a sound or the device does not vibrate when changing the haptic feedback as it should do so. I know this is not a hardware issue due to the fact that the watch does make a charging sound when placed on the charger and when starting a workout. Has anyone else come across the sound settings not working whatsoever or responding to any sort of changes with feedback.
2
0
452
Jun ’15
How to get rid of glitch sound when start to play audio with BT Connected
Hi All,I am working on VOIP application, I can clearly heared there is glitch when Starting audio session with Bluetooth connected, and happen on BT connected, HeadSet is fine.[[AVAudioSession sharedInstance] setCategory:AVAudioSessionCategoryPlayAndRecord withOptions:AVAudioSessionCategoryOptionMixWithOthers error:nil];[[AVAudioSession sharedInstance] setActive:YES error:nil];Is there a way to get rid of this glitch?App is registered to monitor Audio Routing changing event, andIt seems to occur when the there's a AVAudioSessionRouteChangeReasonRouteConfigurationChange as notified by AVAudioSessionRouteChangeReasonCategoryChange from no mic input, to mic input.Thanks,
1
0
742
Oct ’15
Saving Audio Files
Im new to Swift and I am trying to create a music application. I was wondering if anyone knows how to save an audio file (.mp3) permanently to the users device so that they can access the music when they are offline.Thanks
2
0
2.6k
Aug ’18
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
384
Jul ’15
Xcode audio problem with Webm
Hi, I have an app ready from Construct 3, everything is fine but I have audio problems only in Xcode. I exported the game from Construct 3 to Xcode using Cordova, but some high audio frequencies are distorting (aliasing). I think is a problem with WebM files. If I could add these audio files as m4a directly in Xcode, I think the problem would be solved. is this something that can be done? Thank you in advance
0
0
271
Oct ’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?
Replies
1
Boosts
0
Views
930
Activity
May ’16
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
Replies
0
Boosts
0
Views
686
Activity
Oct ’22
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.
Replies
11
Boosts
0
Views
4.5k
Activity
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?
Replies
3
Boosts
0
Views
3.0k
Activity
Jan ’18
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?
Replies
3
Boosts
0
Views
345
Activity
Aug ’25
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.
Replies
6
Boosts
0
Views
3.8k
Activity
Aug ’17
Apple Watch Sound settings
When trying to control the sound and haptic feedback on the Apple Watch there is no response whatsoever. The watch does not make a sound or the device does not vibrate when changing the haptic feedback as it should do so. I know this is not a hardware issue due to the fact that the watch does make a charging sound when placed on the charger and when starting a workout. Has anyone else come across the sound settings not working whatsoever or responding to any sort of changes with feedback.
Replies
2
Boosts
0
Views
452
Activity
Jun ’15
New Audio Landing Page
We now have a page at developer.apple.com/audio to assist in finding documentation, videos, and other resources related to the audio frameworks and APIs.
Replies
0
Boosts
0
Views
1.5k
Activity
Oct ’16
How to get rid of glitch sound when start to play audio with BT Connected
Hi All,I am working on VOIP application, I can clearly heared there is glitch when Starting audio session with Bluetooth connected, and happen on BT connected, HeadSet is fine.[[AVAudioSession sharedInstance] setCategory:AVAudioSessionCategoryPlayAndRecord withOptions:AVAudioSessionCategoryOptionMixWithOthers error:nil];[[AVAudioSession sharedInstance] setActive:YES error:nil];Is there a way to get rid of this glitch?App is registered to monitor Audio Routing changing event, andIt seems to occur when the there's a AVAudioSessionRouteChangeReasonRouteConfigurationChange as notified by AVAudioSessionRouteChangeReasonCategoryChange from no mic input, to mic input.Thanks,
Replies
1
Boosts
0
Views
742
Activity
Oct ’15
How to generate sound with iOS?
If I want to play musical notes from my iOS app that iOS generates itself, would I need to us Core Audio, MIDI Services, or AVFoundation, or another framework I haven't named?
Replies
2
Boosts
0
Views
1.2k
Activity
Feb ’19
Saving Audio Files
Im new to Swift and I am trying to create a music application. I was wondering if anyone knows how to save an audio file (.mp3) permanently to the users device so that they can access the music when they are offline.Thanks
Replies
2
Boosts
0
Views
2.6k
Activity
Aug ’18
CarPlay Audio Entitlements
Hi, Anyone know if there are a lot of issue requiring Audio Entitlements for CarPlay ? I know a lot of developer have request these entitlements without reply from Apple. Thanks for help me! Andrea
Replies
0
Boosts
0
Views
643
Activity
May ’23
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.
Replies
1
Boosts
0
Views
384
Activity
Jul ’15
Xcode audio problem with Webm
Hi, I have an app ready from Construct 3, everything is fine but I have audio problems only in Xcode. I exported the game from Construct 3 to Xcode using Cordova, but some high audio frequencies are distorting (aliasing). I think is a problem with WebM files. If I could add these audio files as m4a directly in Xcode, I think the problem would be solved. is this something that can be done? Thank you in advance
Replies
0
Boosts
0
Views
271
Activity
Oct ’20
CarPlay Audio entitlement
Hi, My account was approved for the com.apple.developer.playable-content entitlement, but now it's deprecated and I want to switch to the new one com.apple.developer.carplay-audio. I have some problems making the transition, do I need to submit a new request to Apple for the new entitlement? Thanks.
Replies
1
Boosts
0
Views
886
Activity
Jul ’21