Search results for

“Popping Sound”

20,041 results found

Post

Replies

Boosts

Views

Activity

Create Aggregate Audio Device Using Core Audio
Hi. I have been looking all over to find a good answer on how to create an aggregate audio device using Core Audio on iOS or OS X. According to the Core Audio documentation, it is possible, but the only tutorial I could find was outdated and written in Objective-C. I woud appreciate a good example of how I would go about doing this, preferably with bluetooth speakers, or even a good explanation of how it works. I would like to note that I have started a thread on Stackoverflow, but I haven't had any luck. I did also remove a few links so that this could be posted. Thanks in advance!
4
0
1.8k
Aug ’16
NSNotification Custom Sound
Hi All,I'd like to use a custom sound for Notification Center, but cannot find much documentation on this. I know how to assign a sound to a notification, and I know how to copy new sound files to ~/Library/Sounds then use these new sounds. My app is sandboxed so I of course have to ask the user to confirm they want to install the new sounds, but am concerned about app store rejection based on:2.15Apps must be self-contained, single application installation bundles, and cannot install code or resources in shared locationsAnyways, is there a way to use a custom sound with an NSNotification without copying a resource to ~/Library/Sounds ?Thanks in advance,Will
Topic: UI Frameworks SubTopic: AppKit Tags:
2
0
682
Dec ’15
Cant able to open pop ups in WKWebview
In one of my iOS application I need to integrate a website, and I am successfully done that part, inside we have a option to deposit money to play the poker game for that we have two modes of payment 1. cashfree and 2. paytm. Though paytm mode I can able to do that part successfully, but through cashfree mode, I can't able to do it, out of my debugging I cam e to know that through the cashfree mode at the final stage, the website is trying to show a success or failure selection pop up in a new tab. From the WKWebView success or failure selection pop up is not loading. I followed couple of solutions which are exist over different articles and forums but no luck. below are my respective WKWebView references @IBOutlet weak var wkWebView: WKWebView! var popupWebView : WKWebView? func configureWebView(webViewName: WKWebView?, url: String) { if let webView = webViewName{ webView.isOpaque = false webView.uiDelegate = self webView.backgroundColor = colorLiteral(red: 0.1333333333, green: 0.1725490196
0
0
2.9k
Sep ’20
Pass through the sound
I want to pass through the sound on real time.Input Bluetooth headset Mic ==== Output iPhone Line out(3.5mm jack or lightning adobpter)andInput iPhone Mic ==== Output Bluetooth headset speakerI found aurioTouch which works with the sound as I want, but I have no way to use this in my app.How can I make it possible?
0
0
791
Aug ’17
How to override the Audio Track Details underneath the audio panel in AVPlayer.
https://learn.microsoft.com/en-us/answers/questions/320776/how-to-override-the-audio-track-details-underneath.html Audio/subtitles #EXT-X-MEDIA:NAME=eng-300,TYPE=AUDIO,LANGUAGE=eng”,GROUP-ID=audio,CODECS=mp4a.40.2,DEFAULT=YES,AUTOSELECT=YES,URI=300/2043--profile--4.3.m3u8 #EXT-X-MEDIA:NAME=“eng-500,TYPE=AUDIO,LANGUAGE=“eng”,GROUP-ID=audio,CODECS=mp4a.40.2,DEFAULT=NO,AUTOSELECT=YES,URI=500/2043--profile--4.3.m3u8 Currently we are getting English, English are audio track names Requirement’s : We should show like English(Dolby) , English(Stereo) please provide suggestions will be helpful to us 1.Since we are using TVOS native AvPlayer so customisation was not possible
1
0
1.2k
Dec ’22
Background Audio Recording
I have an app that uses background audio recording. From what others say, I have enabled the audio background mode to keep the audio session active, and this worked. But when submitting the app to the app store, the app was rejected because the audio background mode is only supposed to be used for audio playback. How do I create this background mode while following Apple's guidelines?
4
0
306
Mar ’25
App Review, Background Audio Modes and Playback of Silent Audio
Hello, We're developing a music streaming application. We ran into a problem where if the audio stream is interrupted while the app is in the background, the operating system will aggressively terminate the application within seconds. This means that if the user is listening to the audio stream, and the network connection gets interrupted, the app will terminate, unless we've managed to reestablish the network connection within <5 seconds. This is obviously a terrible user experience. To get around this problem we've opted to play a silent audio file in the background whenever the audio stream is interrupted. This extends the background running time of the app, which gives us extra time to reestablish the network connection, and resume audio playback. My question: does this run afoul of the App Store Guidelines? The relevant section of the App Store Guidelines reads (Section 2.5.4): Multitasking apps may only use background services for their intended purposes:
0
0
507
Jan ’21
Can a tvOS app use system audio output as audio input?
I'd like to develop a music visualizer app for tvOS which has the ability to listen to whatever background audio is playing (like Spotify, Pandora, etc.). Does anyone know if this is even possible on iOS/tvOS? In other words, there would have to be some functionality that allows the system audio output to be treated like an audio input. I imagine that it would be the same functionality as doing a screen recording capture, at least the audio part. My goal is to be able to do this programatically (Objective-C) so that the user doesn't have to do anything, it just works out of the box, so to speak. Thanks
0
0
404
Apr ’22
SwiftUI sound manager singleton that can play two sounds at once?
Hi all, fairly new to SwiftUI, I'm following a sound manager class recipe, and it works fine if I just want to play one sound at a time, but now in the app I'm working on I need the sounds to overlap each other sometimes, and the singleton I'm using can't seem to do that. I'm not sure if it's the instance of the class, or the instance of the AVAudioPlayer that's the problem. Here is the code I'm using... import Foundation import AVKit class SoundManager { static let instance = SoundManager() var player: AVAudioPlayer? func playMySound() { guard let url = Bundle.main.url(forResource: mySound, withExtension: .wav) else { return } do { player = try AVAudioPlayer(contentsOf: url) player?.play() } catch let error { print(Error playing sound. (error.localizedDescription)) } } // each additional sound is another func like above. I've poked around on SO and other places looking for better code examples, but nothing I have found works. Any help would be appreciated! Thanks!
1
0
1.3k
Aug ’22
Autorotate Disabled by UIViewControllerPreviewing (3D Touch Peek/Pop)
I have implemented peek and pop in most of my apps however sometimes after peeking or popping the window will no longer autorotate until the app is quit and reopened. Also, sometimes after peeking briefly the entire UI is non-interactable and the app must be quit. Does anyone have any possible idea what might be causing these issues? Is anyone else experiencing the same issues? I'm using Swift 2.0 on an iPhone 6s.
Topic: UI Frameworks SubTopic: UIKit Tags:
2
0
667
Oct ’15
Background Audio Volume
Hi,I am working on a TVML App with a ProductBundleTemplate.<productBundleTemplate> <background> <audio> <asset src=path to mp3/> </audio> </background>I've added an Background Audio and it works fine, the only Issue is it is very loud.Is there a way to control the volume of the Background Audio in TVML? So that it only plays 50% of the volume or so?
1
0
428
Apr ’16
safari can not play audio or visit audio by url
We have a program used html5 audio, it works well in IE, Chrome, Firefox, but failed in Safari of IOS. Could you help?zk/html:<audio id=au_captcha src=sound/A.wav height=0px width=0px></audio>Java:@Listen(onOK=#tbtnPlaySound)public void onOKTbtnPlaySound() {au_captcha.setSrc(/playSoundServlet?r= + Math.random()); au_captcha.setAutostart(true); au_captcha.setLoop(false); au_captcha.setVisible(true); au_captcha.invalidate();}playSoundServletprivate void playCaptchaSound(HttpServletRequest request,HttpServletResponse response, HttpSession session) { String sPath = request.getSession().getServletContext() .getRealPath(/).toString().replace(, /) + sound/; // Set to expire far in the past. response.setDateHeader(Expires, 0); // Set standard HTTP/1.1 no-cache headers. response.setHeader(Cache-Control, no-store, no-cache, must-revalidate); // Set IE extended HTTP/1.1 no-cache headers (use addHeader). response.addHeader(Cache-Control, post-check=0, pre-check=0);
1
0
576
Jan ’17
How to sync video and audio?
Background I use AVAssetWriterInput.append to append sample buffer to the writer. Sometimes, I switch off the audio input(if user wants to temporarily disable audio input), so the append method will not be executed while the append method in video input will always be executed. Problem If user pause the audio and resume it later. The audio after resuming will immediately begin when user pause it (in the final video). Example '=' refers to CMSampleBuffer. '|' means user paused the audio input. Video: ---------------================================= Audio(expected): ----=======|----------------============= Audio(I got): ---------=======|=============---------------- I have printed the presentationTime from the audio sample buffer, it turns out it's correct. Maybe my understanding to the AVAssetWriterInput.append is wrong? My current solution is to always append the buffer, but when user wants to pause, I simply append an empty SampleBuffer
1
0
1.3k
Oct ’22
Create Aggregate Audio Device Using Core Audio
Hi. I have been looking all over to find a good answer on how to create an aggregate audio device using Core Audio on iOS or OS X. According to the Core Audio documentation, it is possible, but the only tutorial I could find was outdated and written in Objective-C. I woud appreciate a good example of how I would go about doing this, preferably with bluetooth speakers, or even a good explanation of how it works. I would like to note that I have started a thread on Stackoverflow, but I haven't had any luck. I did also remove a few links so that this could be posted. Thanks in advance!
Replies
4
Boosts
0
Views
1.8k
Activity
Aug ’16
NSNotification Custom Sound
Hi All,I'd like to use a custom sound for Notification Center, but cannot find much documentation on this. I know how to assign a sound to a notification, and I know how to copy new sound files to ~/Library/Sounds then use these new sounds. My app is sandboxed so I of course have to ask the user to confirm they want to install the new sounds, but am concerned about app store rejection based on:2.15Apps must be self-contained, single application installation bundles, and cannot install code or resources in shared locationsAnyways, is there a way to use a custom sound with an NSNotification without copying a resource to ~/Library/Sounds ?Thanks in advance,Will
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
2
Boosts
0
Views
682
Activity
Dec ’15
Notification Sounds
On iOS 15 has anyone else noticed that sometimes notification sounds do not play? Works fine for a while and then nothing, returning again later ?
Replies
1
Boosts
0
Views
839
Activity
Sep ’21
Cant able to open pop ups in WKWebview
In one of my iOS application I need to integrate a website, and I am successfully done that part, inside we have a option to deposit money to play the poker game for that we have two modes of payment 1. cashfree and 2. paytm. Though paytm mode I can able to do that part successfully, but through cashfree mode, I can't able to do it, out of my debugging I cam e to know that through the cashfree mode at the final stage, the website is trying to show a success or failure selection pop up in a new tab. From the WKWebView success or failure selection pop up is not loading. I followed couple of solutions which are exist over different articles and forums but no luck. below are my respective WKWebView references @IBOutlet weak var wkWebView: WKWebView! var popupWebView : WKWebView? func configureWebView(webViewName: WKWebView?, url: String) { if let webView = webViewName{ webView.isOpaque = false webView.uiDelegate = self webView.backgroundColor = colorLiteral(red: 0.1333333333, green: 0.1725490196
Replies
0
Boosts
0
Views
2.9k
Activity
Sep ’20
Pass through the sound
I want to pass through the sound on real time.Input Bluetooth headset Mic ==== Output iPhone Line out(3.5mm jack or lightning adobpter)andInput iPhone Mic ==== Output Bluetooth headset speakerI found aurioTouch which works with the sound as I want, but I have no way to use this in my app.How can I make it possible?
Replies
0
Boosts
0
Views
791
Activity
Aug ’17
How to override the Audio Track Details underneath the audio panel in AVPlayer.
https://learn.microsoft.com/en-us/answers/questions/320776/how-to-override-the-audio-track-details-underneath.html Audio/subtitles #EXT-X-MEDIA:NAME=eng-300,TYPE=AUDIO,LANGUAGE=eng”,GROUP-ID=audio,CODECS=mp4a.40.2,DEFAULT=YES,AUTOSELECT=YES,URI=300/2043--profile--4.3.m3u8 #EXT-X-MEDIA:NAME=“eng-500,TYPE=AUDIO,LANGUAGE=“eng”,GROUP-ID=audio,CODECS=mp4a.40.2,DEFAULT=NO,AUTOSELECT=YES,URI=500/2043--profile--4.3.m3u8 Currently we are getting English, English are audio track names Requirement’s : We should show like English(Dolby) , English(Stereo) please provide suggestions will be helpful to us 1.Since we are using TVOS native AvPlayer so customisation was not possible
Replies
1
Boosts
0
Views
1.2k
Activity
Dec ’22
Background Audio Recording
I have an app that uses background audio recording. From what others say, I have enabled the audio background mode to keep the audio session active, and this worked. But when submitting the app to the app store, the app was rejected because the audio background mode is only supposed to be used for audio playback. How do I create this background mode while following Apple's guidelines?
Replies
4
Boosts
0
Views
306
Activity
Mar ’25
App Review, Background Audio Modes and Playback of Silent Audio
Hello, We're developing a music streaming application. We ran into a problem where if the audio stream is interrupted while the app is in the background, the operating system will aggressively terminate the application within seconds. This means that if the user is listening to the audio stream, and the network connection gets interrupted, the app will terminate, unless we've managed to reestablish the network connection within <5 seconds. This is obviously a terrible user experience. To get around this problem we've opted to play a silent audio file in the background whenever the audio stream is interrupted. This extends the background running time of the app, which gives us extra time to reestablish the network connection, and resume audio playback. My question: does this run afoul of the App Store Guidelines? The relevant section of the App Store Guidelines reads (Section 2.5.4): Multitasking apps may only use background services for their intended purposes:
Replies
0
Boosts
0
Views
507
Activity
Jan ’21
Can a tvOS app use system audio output as audio input?
I'd like to develop a music visualizer app for tvOS which has the ability to listen to whatever background audio is playing (like Spotify, Pandora, etc.). Does anyone know if this is even possible on iOS/tvOS? In other words, there would have to be some functionality that allows the system audio output to be treated like an audio input. I imagine that it would be the same functionality as doing a screen recording capture, at least the audio part. My goal is to be able to do this programatically (Objective-C) so that the user doesn't have to do anything, it just works out of the box, so to speak. Thanks
Replies
0
Boosts
0
Views
404
Activity
Apr ’22
SwiftUI sound manager singleton that can play two sounds at once?
Hi all, fairly new to SwiftUI, I'm following a sound manager class recipe, and it works fine if I just want to play one sound at a time, but now in the app I'm working on I need the sounds to overlap each other sometimes, and the singleton I'm using can't seem to do that. I'm not sure if it's the instance of the class, or the instance of the AVAudioPlayer that's the problem. Here is the code I'm using... import Foundation import AVKit class SoundManager { static let instance = SoundManager() var player: AVAudioPlayer? func playMySound() { guard let url = Bundle.main.url(forResource: mySound, withExtension: .wav) else { return } do { player = try AVAudioPlayer(contentsOf: url) player?.play() } catch let error { print(Error playing sound. (error.localizedDescription)) } } // each additional sound is another func like above. I've poked around on SO and other places looking for better code examples, but nothing I have found works. Any help would be appreciated! Thanks!
Replies
1
Boosts
0
Views
1.3k
Activity
Aug ’22
Autorotate Disabled by UIViewControllerPreviewing (3D Touch Peek/Pop)
I have implemented peek and pop in most of my apps however sometimes after peeking or popping the window will no longer autorotate until the app is quit and reopened. Also, sometimes after peeking briefly the entire UI is non-interactable and the app must be quit. Does anyone have any possible idea what might be causing these issues? Is anyone else experiencing the same issues? I'm using Swift 2.0 on an iPhone 6s.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
2
Boosts
0
Views
667
Activity
Oct ’15
Background Audio Volume
Hi,I am working on a TVML App with a ProductBundleTemplate.<productBundleTemplate> <background> <audio> <asset src=path to mp3/> </audio> </background>I've added an Background Audio and it works fine, the only Issue is it is very loud.Is there a way to control the volume of the Background Audio in TVML? So that it only plays 50% of the volume or so?
Replies
1
Boosts
0
Views
428
Activity
Apr ’16
safari can not play audio or visit audio by url
We have a program used html5 audio, it works well in IE, Chrome, Firefox, but failed in Safari of IOS. Could you help?zk/html:<audio id=au_captcha src=sound/A.wav height=0px width=0px></audio>Java:@Listen(onOK=#tbtnPlaySound)public void onOKTbtnPlaySound() {au_captcha.setSrc(/playSoundServlet?r= + Math.random()); au_captcha.setAutostart(true); au_captcha.setLoop(false); au_captcha.setVisible(true); au_captcha.invalidate();}playSoundServletprivate void playCaptchaSound(HttpServletRequest request,HttpServletResponse response, HttpSession session) { String sPath = request.getSession().getServletContext() .getRealPath(/).toString().replace(, /) + sound/; // Set to expire far in the past. response.setDateHeader(Expires, 0); // Set standard HTTP/1.1 no-cache headers. response.setHeader(Cache-Control, no-store, no-cache, must-revalidate); // Set IE extended HTTP/1.1 no-cache headers (use addHeader). response.addHeader(Cache-Control, post-check=0, pre-check=0);
Replies
1
Boosts
0
Views
576
Activity
Jan ’17
Audio gets disabled
Audio getting disabled, Not able to control audio, When opening music player audio works but not on instagram or any other apps. Audio button on notification bar is greyed out as getting disabled.
Replies
1
Boosts
0
Views
734
Activity
Jul ’24
How to sync video and audio?
Background I use AVAssetWriterInput.append to append sample buffer to the writer. Sometimes, I switch off the audio input(if user wants to temporarily disable audio input), so the append method will not be executed while the append method in video input will always be executed. Problem If user pause the audio and resume it later. The audio after resuming will immediately begin when user pause it (in the final video). Example '=' refers to CMSampleBuffer. '|' means user paused the audio input. Video: ---------------================================= Audio(expected): ----=======|----------------============= Audio(I got): ---------=======|=============---------------- I have printed the presentationTime from the audio sample buffer, it turns out it's correct. Maybe my understanding to the AVAssetWriterInput.append is wrong? My current solution is to always append the buffer, but when user wants to pause, I simply append an empty SampleBuffer
Replies
1
Boosts
0
Views
1.3k
Activity
Oct ’22