Search results for

“Popping Sound”

20,844 results found

Post

Replies

Boosts

Views

Activity

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
698
Dec ’15
API to use for high-level audio playback to a specific audio device?
I'm working on a little light and sound controller in Swift, driving DMX lights and audio. For the audio portion, I need to play a bunch of looping sounds (long-duration MP3s), and occasionally play sound effects (short-duration sounds, varying formats). I want all of this mixed into selected channels on specific devices. That is, I might have one audio stream going to the left channel, and a completely different one going to the right channel. What's the right API to do this from Swift? Core Audio? AVPlayer stuff?
0
0
448
Oct ’24
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
899
Mar ’25
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
414
Apr ’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!
4
0
1.9k
Aug ’16
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
681
Oct ’15
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
810
Aug ’17
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
579
Jan ’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
0
0
2.9k
Sep ’20
MSMessageTemplateLayout with audio
According to the documentation, you can set the mediaFileURL of a custom message to an audio file - which will play and display with a graphical waveform representation.As far as I can tell (based on other posts, testing, looking at code), this is not the case at all.What's really irritating is that if you use a video file, it works, but the video is perpetually muted - there appears to be no way for the end user or the developer to enable sound.
1
0
631
Sep ’16
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
Ironic: Apple Music Authorization Pop-up blocked on iPhone
As you know, calling this in Javascript:let auth = music.authorize();Opens the authorization menu in a pop-up (when the user has yet to grant permissions to the app).But the problem here is that Safari is blocking this action *because* of the pop-up. Anyone had any luck solving it?
Replies
7
Boosts
0
Views
4.4k
Activity
Aug ’18
Web Audio - Media element source - Audio is cracking.
When trying to play an element through Web Audio using createMediaElementSource, I hear cracking noises at the beginning of the audio. This issue is observed on different iOS versions for eg. 13.0 and above. Kindly help us to resolve this issue for our web application.
Replies
0
Boosts
0
Views
456
Activity
Nov ’20
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
698
Activity
Dec ’15
API to use for high-level audio playback to a specific audio device?
I'm working on a little light and sound controller in Swift, driving DMX lights and audio. For the audio portion, I need to play a bunch of looping sounds (long-duration MP3s), and occasionally play sound effects (short-duration sounds, varying formats). I want all of this mixed into selected channels on specific devices. That is, I might have one audio stream going to the left channel, and a completely different one going to the right channel. What's the right API to do this from Swift? Core Audio? AVPlayer stuff?
Replies
0
Boosts
0
Views
448
Activity
Oct ’24
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
1k
Activity
Sep ’21
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
899
Activity
Mar ’25
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
414
Activity
Apr ’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.9k
Activity
Aug ’16
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
681
Activity
Oct ’15
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
810
Activity
Aug ’17
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
579
Activity
Jan ’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
MSMessageTemplateLayout with audio
According to the documentation, you can set the mediaFileURL of a custom message to an audio file - which will play and display with a graphical waveform representation.As far as I can tell (based on other posts, testing, looking at code), this is not the case at all.What's really irritating is that if you use a video file, it works, but the video is perpetually muted - there appears to be no way for the end user or the developer to enable sound.
Replies
1
Boosts
0
Views
631
Activity
Sep ’16
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