Search results for

“Popping Sound”

20,844 results found

Post

Replies

Boosts

Views

Activity

Record Audio Passively
For an app built on ResearchKit, is it possible to record audio at pre-programmed intervals throughout the day? Does anyone have examples of this? The patient would actively consent to the audio recording prior to study start date.Any advice would be greatly appreciated- thank you!
0
0
505
Feb ’19
NavigationStack does not pop back if NavigationLink disappears
Imagine a SwiftUI View having an @ObservedObject var someObject that can update anytime in the background (for example via network connection) and showing a NavigationLink based on some condition of it: if someObject.someCondition { NavigationLink(destination: { DetailView() }, label: { ... }) } If you now tapped the NavigationLink, DetailView will be pushed on the current NavigationView. Now if afterwards someCondition would change to false, DetailView would be popped off again, since the Link to the View would not exist anymore: This was always the behaviour of NavigationViews with .navigationViewStyle(.stack) set since I use them. navigationViewStyle is deprecated now, but by using NavigationStack I don't get this behaviour anymore. The DetailView would stay on the Stack, even if the NavigationLink would not exist anymore at all. Is there a way to reproduce this old behavior again?
0
0
759
Apr ’23
Bundle.main.url(forResource: sound, withExtension: "wav", subdirectory: "Resources/Sounds") returns nil
Hi everyone, I'm trying to play sounds in my playground, but whenever I try to get the path, nothing comes out. I've tried everything possible to fix the error, but somehow it doesn't work Here my Sound File: import Foundation import AVFoundation var audioPlayer: AVAudioPlayer! /// Play sounds /// - Parameter sound: Sound filename func playSound(sound: String) { let url = Bundle.main.url(forResource: sound, withExtension: wav, subdirectory: Resources/Sounds) guard url != nil else { print(error) return } do { audioPlayer = try AVAudioPlayer(contentsOf: url!) if !audioPlayer.isPlaying { audioPlayer?.play() } else { audioPlayer?.stop() } } catch { print(error) } }
4
0
1.6k
Apr ’23
Custom sounds
I have an app that has been working fine but since iOS10 the custom sound of an APNS does not seem to work.This is my APNS payload...{aps:{alert:{loc-args:[TEST ALERT,TEST,TEST/TEST],loc-key:APNS_MSG2},sound:cabinbong.aiff,badge:0,category:testAlert},custom:{a:b,c:0,d:54.1}}
5
0
867
Sep ’16
Reply to Avoid showing of VPN pop up window while activating transparent proxy
Could you please give some light on any use case and when it can be used? SFAuthorization - https://developer.apple.com/documentation/securityfoundation/sfauthorization?language=objc is an API used to authorize and preauthorize services. This API is also used to access privileged operations. This sounds like what you are looking for, and just to double check, I did set an AuthorizationRef and it did not have any affect. I am exploring any option to hide the second VPN pop up, if any way to work around. This is an Enhancement Request. I should note that many developers ask for a way to preauthorize this pop-up and, without MDM services for a Web Content Filter, this is an Enhancement Request. I will also note that you should want to keep this prompt available as a way to let your users know that your application is filtering their network traffic. Matt Eaton DTS Engineering, CoreOS meaton3@apple.com
Topic: App & System Services SubTopic: Drivers Tags:
Sep ’20
Reply to Local network access disabled after macOS restart
The downloads page for my app is here: https://minimserver.com/downloads.html Under MinimServer downloads, select the Intel and Apple Silicon link in the macOS row. This shows a pop-up window. In this window, select I accept these terms and conditions and click the Download button. Now install Java 21. There are instructions for downloading and installing Java on this page: https://minimserver.com/install-java-macos.html Open the downloaded .dmg file and drag the green MinimServer icon to the Applications folder. Launch the MinimServer app and confirm that you want to open an application downloaded from the internet. If you see a pop-up saying that MinimServer wants access to control SystemUIServer, click Allow. If you see a pop-up saying that MinimServer notifications may include alerts, sounds and icon badges, click X to close the pop-up. You should now see a pop-up asking if you want to allow MinimServer to find devices on local networks. Click Allow. M
Dec ’24
AVAudioEngine no sound from Mac mini built-in audio devices
Hi,I've tried to get some audio things going on a new Mac mini 8,1 macOS 10.14.2 (18C54), and ran into an issue where there is no output from the built-in audio devices when using AVAudioEngine.Xcode prints this while setting up the AVAudioEngine:[AudioHAL_Client] HALC_ShellDriverPlugIn.cpp:104:Open: HALC_ShellDriverPlugIn::Open: opening the plug-in failed, Error: 2003329396 (what)If the built-in speaker or the headphone jack is selected as sound output device, no sound comes out from my AVAudioEngine app.If I select output via DisplayPort or AirPlay, sound is working, even though above error is also being printed.Here's repo with an example project: https://github.com/nsdvr/avaudioengine_basic_outputIt just plays a .wav file when you press the button. My own project uses a custom AudioUnit generator, and its internalRenderBlock is getting called, so the engine seems to be running fine, there's just silence at the physical outputs.Relevant setup code:- (void) setup
7
0
6.5k
Dec ’18
Periodic sounds from the background
I appreciate that very similar questions have been asked already, but users of my app have requested certain functionality that simply doesn’t seem possible given the current background mode regulations in iOS. However, many similar apps do have this functionality. So, could it be that I am missing something.Basically, a meditation timer app needs to be able to play bell sounds periodically. Some users, those who meditate for long periods of time for example, like to switch their screens off to preserve the battery charge, and because of that the app needs to play these bell sounds from the background.So far, my solution has been to use Local Notifications to play the sounds as they can be timed accurately and also can play custom sounds.However, there are two issues that my users are unhappy about:1. They want the bell sounds to play even when the silent switch is on (they don't want to be disturbed by other notifications, but do want the meditation bells)2. They want the
0
0
1k
Mar ’19
Real-time Audio Analysis of Audio Played by Other Apps on iPhone
I’m evaluating a simple iOS application that would perform real-time beat detection and audio analysis. My question is: Can an App Store-compliant iOS application access or analyze audio that is being played by other applications on the same device (e.g. Spotify, Apple Music, YouTube, TikTok, Safari, etc.) in real time, without using the microphone? Specifically: Is there any Apple-supported framework that allows access to system audio for real-time beat detection or frequency analysis? Can ReplayKit be used to analyze audio buffers from other applications in real time without recording or saving the audio? If direct access is not permitted, what Apple-approved architecture would be recommended for synchronizing external hardware with music being played on the iPhone? Would such an implementation be acceptable under App Store Review Guidelines? I am trying to determine whether real-time beat detection from audio played by other apps is technically and poli
0
0
571
Jun ’26
How to record output audio
I have an app that produce kind of sounds / music taping buttons. I need to record those sounds as I play with the app. I cannot find any doc or example about this issue. I have tried with many approaches but I couldn't get any good result. Any insight ?
0
0
265
Apr ’16
Bluetooth Audio Streaming
Does anyone else have to put their watch into airplane mode when streaming music via Bluetooth. I have already completely factory reset my watch and iPhone and continue to have this issue. If the watch is allowed to be connected while Bluetooth audio streaming is occurring, the audio becomes choppy.
6
0
854
Jun ’16
Record Audio Passively
For an app built on ResearchKit, is it possible to record audio at pre-programmed intervals throughout the day? Does anyone have examples of this? The patient would actively consent to the audio recording prior to study start date.Any advice would be greatly appreciated- thank you!
Replies
0
Boosts
0
Views
505
Activity
Feb ’19
NavigationStack does not pop back if NavigationLink disappears
Imagine a SwiftUI View having an @ObservedObject var someObject that can update anytime in the background (for example via network connection) and showing a NavigationLink based on some condition of it: if someObject.someCondition { NavigationLink(destination: { DetailView() }, label: { ... }) } If you now tapped the NavigationLink, DetailView will be pushed on the current NavigationView. Now if afterwards someCondition would change to false, DetailView would be popped off again, since the Link to the View would not exist anymore: This was always the behaviour of NavigationViews with .navigationViewStyle(.stack) set since I use them. navigationViewStyle is deprecated now, but by using NavigationStack I don't get this behaviour anymore. The DetailView would stay on the Stack, even if the NavigationLink would not exist anymore at all. Is there a way to reproduce this old behavior again?
Replies
0
Boosts
0
Views
759
Activity
Apr ’23
Bundle.main.url(forResource: sound, withExtension: "wav", subdirectory: "Resources/Sounds") returns nil
Hi everyone, I'm trying to play sounds in my playground, but whenever I try to get the path, nothing comes out. I've tried everything possible to fix the error, but somehow it doesn't work Here my Sound File: import Foundation import AVFoundation var audioPlayer: AVAudioPlayer! /// Play sounds /// - Parameter sound: Sound filename func playSound(sound: String) { let url = Bundle.main.url(forResource: sound, withExtension: wav, subdirectory: Resources/Sounds) guard url != nil else { print(error) return } do { audioPlayer = try AVAudioPlayer(contentsOf: url!) if !audioPlayer.isPlaying { audioPlayer?.play() } else { audioPlayer?.stop() } } catch { print(error) } }
Replies
4
Boosts
0
Views
1.6k
Activity
Apr ’23
Unwanted "Redeem Code" pop up window when app starts
One of the users of an app I have developed tells me that a Redeem Code window is popping up every time he starts the app. I have not seen this in any of the testing I have done. How do I make sure that this pop up window will not appear? (The app is a fixed price app without in In-App Purchase or Subscription.)
Replies
0
Boosts
0
Views
271
Activity
Nov ’22
Custom sounds
I have an app that has been working fine but since iOS10 the custom sound of an APNS does not seem to work.This is my APNS payload...{aps:{alert:{loc-args:[TEST ALERT,TEST,TEST/TEST],loc-key:APNS_MSG2},sound:cabinbong.aiff,badge:0,category:testAlert},custom:{a:b,c:0,d:54.1}}
Replies
5
Boosts
0
Views
867
Activity
Sep ’16
Play spatial audio
I'm developing the VisionOS app. I want to know how to play spatial audio in addition to RealityKit? If it's iOS or macOS, how to play spatial audio in addition to RealityKit?
Replies
2
Boosts
0
Views
555
Activity
Mar ’25
Reply to Avoid showing of VPN pop up window while activating transparent proxy
Could you please give some light on any use case and when it can be used? SFAuthorization - https://developer.apple.com/documentation/securityfoundation/sfauthorization?language=objc is an API used to authorize and preauthorize services. This API is also used to access privileged operations. This sounds like what you are looking for, and just to double check, I did set an AuthorizationRef and it did not have any affect. I am exploring any option to hide the second VPN pop up, if any way to work around. This is an Enhancement Request. I should note that many developers ask for a way to preauthorize this pop-up and, without MDM services for a Web Content Filter, this is an Enhancement Request. I will also note that you should want to keep this prompt available as a way to let your users know that your application is filtering their network traffic. Matt Eaton DTS Engineering, CoreOS meaton3@apple.com
Topic: App & System Services SubTopic: Drivers Tags:
Replies
Boosts
Views
Activity
Sep ’20
Reply to Local network access disabled after macOS restart
The downloads page for my app is here: https://minimserver.com/downloads.html Under MinimServer downloads, select the Intel and Apple Silicon link in the macOS row. This shows a pop-up window. In this window, select I accept these terms and conditions and click the Download button. Now install Java 21. There are instructions for downloading and installing Java on this page: https://minimserver.com/install-java-macos.html Open the downloaded .dmg file and drag the green MinimServer icon to the Applications folder. Launch the MinimServer app and confirm that you want to open an application downloaded from the internet. If you see a pop-up saying that MinimServer wants access to control SystemUIServer, click Allow. If you see a pop-up saying that MinimServer notifications may include alerts, sounds and icon badges, click X to close the pop-up. You should now see a pop-up asking if you want to allow MinimServer to find devices on local networks. Click Allow. M
Replies
Boosts
Views
Activity
Dec ’24
Audio input sources.
Is it possible for an external microphone to work as an audio input for a session?I'm wondering if a microphone on a monitor can be used as an input device,which will work with audio units and the AV frameworks. Regards,Brian
Replies
1
Boosts
0
Views
381
Activity
Oct ’15
No notification sound
Hello All,I'm having an app works on the background recording sounds all the time, when its running will block all notifcations sonds (No Sound no vibration) Please advice further.BestAnwar
Replies
0
Boosts
0
Views
157
Activity
Jun ’16
AVAudioEngine no sound from Mac mini built-in audio devices
Hi,I've tried to get some audio things going on a new Mac mini 8,1 macOS 10.14.2 (18C54), and ran into an issue where there is no output from the built-in audio devices when using AVAudioEngine.Xcode prints this while setting up the AVAudioEngine:[AudioHAL_Client] HALC_ShellDriverPlugIn.cpp:104:Open: HALC_ShellDriverPlugIn::Open: opening the plug-in failed, Error: 2003329396 (what)If the built-in speaker or the headphone jack is selected as sound output device, no sound comes out from my AVAudioEngine app.If I select output via DisplayPort or AirPlay, sound is working, even though above error is also being printed.Here's repo with an example project: https://github.com/nsdvr/avaudioengine_basic_outputIt just plays a .wav file when you press the button. My own project uses a custom AudioUnit generator, and its internalRenderBlock is getting called, so the engine seems to be running fine, there's just silence at the physical outputs.Relevant setup code:- (void) setup
Replies
7
Boosts
0
Views
6.5k
Activity
Dec ’18
Periodic sounds from the background
I appreciate that very similar questions have been asked already, but users of my app have requested certain functionality that simply doesn’t seem possible given the current background mode regulations in iOS. However, many similar apps do have this functionality. So, could it be that I am missing something.Basically, a meditation timer app needs to be able to play bell sounds periodically. Some users, those who meditate for long periods of time for example, like to switch their screens off to preserve the battery charge, and because of that the app needs to play these bell sounds from the background.So far, my solution has been to use Local Notifications to play the sounds as they can be timed accurately and also can play custom sounds.However, there are two issues that my users are unhappy about:1. They want the bell sounds to play even when the silent switch is on (they don't want to be disturbed by other notifications, but do want the meditation bells)2. They want the
Replies
0
Boosts
0
Views
1k
Activity
Mar ’19
Real-time Audio Analysis of Audio Played by Other Apps on iPhone
I’m evaluating a simple iOS application that would perform real-time beat detection and audio analysis. My question is: Can an App Store-compliant iOS application access or analyze audio that is being played by other applications on the same device (e.g. Spotify, Apple Music, YouTube, TikTok, Safari, etc.) in real time, without using the microphone? Specifically: Is there any Apple-supported framework that allows access to system audio for real-time beat detection or frequency analysis? Can ReplayKit be used to analyze audio buffers from other applications in real time without recording or saving the audio? If direct access is not permitted, what Apple-approved architecture would be recommended for synchronizing external hardware with music being played on the iPhone? Would such an implementation be acceptable under App Store Review Guidelines? I am trying to determine whether real-time beat detection from audio played by other apps is technically and poli
Replies
0
Boosts
0
Views
571
Activity
Jun ’26
How to record output audio
I have an app that produce kind of sounds / music taping buttons. I need to record those sounds as I play with the app. I cannot find any doc or example about this issue. I have tried with many approaches but I couldn't get any good result. Any insight ?
Replies
0
Boosts
0
Views
265
Activity
Apr ’16
Bluetooth Audio Streaming
Does anyone else have to put their watch into airplane mode when streaming music via Bluetooth. I have already completely factory reset my watch and iPhone and continue to have this issue. If the watch is allowed to be connected while Bluetooth audio streaming is occurring, the audio becomes choppy.
Replies
6
Boosts
0
Views
854
Activity
Jun ’16