Search results for

“Popping Sound”

20,148 results found

Post

Replies

Boosts

Views

Activity

Setting Audio Input node for AVAudioEngine causes outside audio to stop
I'm building an app that will allow users to record voice notes. The functionality of all that is working great; I'm trying to now implement changes to the AudioSession to manage possible audio streams from other apps. I want it so that if there is audio playing from a different app, and the user opens my app; the audio keep playing. When we start recording, any third party app audio should stop, and can then can resume again when we stop recording. This is my main audio setup code: private var audioEngine: AVAudioEngine! private var inputNode: AVAudioInputNode! func setupAudioEngine() { audioEngine = AVAudioEngine() inputNode = audioEngine.inputNode audioPlayerNode = AVAudioPlayerNode() audioEngine.attach(audioPlayerNode) let format = AVAudioFormat(standardFormatWithSampleRate: AUDIO_SESSION_SAMPLE_RATE, channels: 1) audioEngine.connect(audioPlayerNode, to: audioEngine.mainMixerNode, format: format) } private func setupAudioSession() { let audioSession = AVAudioSe
0
0
770
Jul ’24
Looping an audio file
Hi. I have a .m4a file stored in my app that I'd like to do looping playback with. I'm looking at all of the audio frameworks and the only way I see right now is to use the Audio Toolbox APIs to load the file and then feed chunks of it into a queue via callbacks. This seems like a painfully low-level API for my needs.Is there a way to just set up a playlist with the file that loops? The MediaPlayer framework has this, but it only seems to work with items that are in the user's media library. Not for regular audio files on disk.
2
0
1.5k
Sep ’15
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
Background audio processing
Hello,We are currently evaluating the possibility to port our Android app “SoniControl” to iOS. SoniControl is an ultrasonic firewall. It records audio in the background and looks for ultrasonic messages (e.g. Google Nearby messages) in the audio signal in the frequency range from 17-22kHz. Frequencies below 17kHz are removed by a bandpass filter. In case a message is detected, the app offers the user the option to block it. The main goal is to raise awareness and inform users about apps that use “data-over-sound” technologies like Google Nearby or Lisnr. These technologies use the microphone and loudspeaker of a smartphone to receive or send data over audio. Our current users let the app run in the background all day long, we show a notification in the status bar to remind them that it is running and is using battery (on iOS the status bar would turni red as when you use the Voice Memo app in the background).Before implementing the firewall for iOS we want to ask the follo
5
0
2.6k
Oct ’19
Native Audio Player?
We are an audio only app looking to create a version for tvOS. Using TVML it is possible to create a Player object and to add audio items to it. We can then present a very nice UI for audio playback. This is the same UI that is used for Apple Music.The problem is, to conform to our licencing we have to report all of our played audio data. Because our audio is often long-form, we need to keep track of exactly where the user has listened in the audio. We have functioning code for this in iOS, which is built on top of AVPlayer. We would like to put this code into the nice player presented through javascript. Ideally we would like to replace the underlying AVPlayer with our own wrapped version. I have seen there is a native AVPlayerViewController component, but this only seems to lay itself out for video. Not like Apple Music does, or the JS Player. Is there a way of making AVPlayerViewController look like the one in Apple Music? Is there a native way of doing
0
0
642
Sep ’15
Passkey QR code pop up Question
We are using performRequestsWithOptions to enable passkey on ios app. [authController performRequestsWithOptions:ASAuthorizationControllerRequestOptionPreferImmediatelyAvailableCredentials]; Based on apple doc, this will Tells the authorization controller to prefer credentials that are immediately available on the local device., and fail silently if there are no credentials available. However, in recent testing, we identified that on one device, we are seeing QR code popping up even though there's no credential on the device. Question is this a bug on the OS system? If this is a bug, what are the causes that will trigger this condition? Is there a recommendation to mitigate the issue? Should we move to the new api? Thank you.
1
0
569
Sep ’24
Voice Over Sound
Hello, When I listen to title in my app with VoiceOver, it makes a strange sound. This characters make with Korean+number+Alphabet. Is this combination makes some strange sound with voice over? I would like to ask if Apple can fix this issue. Thank you.
1
0
225
Mar ’25
Reply to How to Fix Cracking and Popping Sound ?
I *really* want to see the flow of audio in macOS, and the changes in gain/amplitude along the way.If I use the test osc plugin in Logic Pro X, running thru a specific CoreAudio driver, I can succesfully manage keeping a consistent gain structure all the way thru my mixer, using Apple supplied Class-Compliant driver. 0db sine wave is exactly that all the way thru. Easy enough. If I go over that, I hear distortion.Now... safe to say that's calibrated, but... if I use the Music app, or audio coming from Safari, signal is about 4.5db hotter. That simply *cannot* be right. Send that to internal speakers and of course they're cracking and popping.
Topic: Community SubTopic: Apple Developers Tags:
May ’20
AnimatedImage displayed something wrong when slide to pop.
1. create an animated image with nature method `+ (UIImage *)animatedImageWithImages: duration:`2. add an imageview to VC1, playing an animated image created in step13. push VC24. slide to pop VC2, using nature method tooAnd u will see that the imageview didn't display correctly, but if we tap `back` button on the navigation bar, the animated image displayed correctly.anyone got the same problem with me?since I don't known how to submit my simple demo, if someone get interested in the issue, contact me and i'll show you the demo.E-mail: welsonxl@163.com
Topic: UI Frameworks SubTopic: UIKit Tags:
0
0
228
Feb ’17
Play sound on watch
I tried to play sound, putting the files in WatchKit app, then: let soundURL = NSURL.fileURLWithPath(NSBundle.mainBundle().pathForResource(ShipBullet, ofType:wav)!) let asset = WKAudioFileAsset(URL:soundURL) let sound = WKAudioFilePlayerItem(asset:asset) let audioPlayer = WKAudioFilePlayer(playerItem:sound) audioPlayer!.play()And the app crashed. Am I doing something wrong?
13
0
6.1k
Jun ’15
Setting Audio Input node for AVAudioEngine causes outside audio to stop
I'm building an app that will allow users to record voice notes. The functionality of all that is working great; I'm trying to now implement changes to the AudioSession to manage possible audio streams from other apps. I want it so that if there is audio playing from a different app, and the user opens my app; the audio keep playing. When we start recording, any third party app audio should stop, and can then can resume again when we stop recording. This is my main audio setup code: private var audioEngine: AVAudioEngine! private var inputNode: AVAudioInputNode! func setupAudioEngine() { audioEngine = AVAudioEngine() inputNode = audioEngine.inputNode audioPlayerNode = AVAudioPlayerNode() audioEngine.attach(audioPlayerNode) let format = AVAudioFormat(standardFormatWithSampleRate: AUDIO_SESSION_SAMPLE_RATE, channels: 1) audioEngine.connect(audioPlayerNode, to: audioEngine.mainMixerNode, format: format) } private func setupAudioSession() { let audioSession = AVAudioSe
Replies
0
Boosts
0
Views
770
Activity
Jul ’24
Why is Peek and Pop(Apple's sample code) not working?
https://developer.apple.com/documentation/uikit/deprecated_symbols/implementing_peek_and_pop I got a sample code on the apple's website to test things about peek and pop. But it's not working. I couldn't find anything wrong with the sample code. Any idea?
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
1
Boosts
0
Views
279
Activity
Apr ’23
Looping an audio file
Hi. I have a .m4a file stored in my app that I'd like to do looping playback with. I'm looking at all of the audio frameworks and the only way I see right now is to use the Audio Toolbox APIs to load the file and then feed chunks of it into a queue via callbacks. This seems like a painfully low-level API for my needs.Is there a way to just set up a playlist with the file that loops? The MediaPlayer framework has this, but it only seems to work with items that are in the user's media library. Not for regular audio files on disk.
Replies
2
Boosts
0
Views
1.5k
Activity
Sep ’15
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
Custom sound and haptic
Hi, what is the best approach of customising the sound (notification) and haptic feedback on apple watch 6 and later? I wonder if I can play a sound/haptic feedback when receiving a remote (can be silent?) notification to apple watch? Thanks
Replies
1
Boosts
0
Views
741
Activity
Oct ’21
Background audio processing
Hello,We are currently evaluating the possibility to port our Android app “SoniControl” to iOS. SoniControl is an ultrasonic firewall. It records audio in the background and looks for ultrasonic messages (e.g. Google Nearby messages) in the audio signal in the frequency range from 17-22kHz. Frequencies below 17kHz are removed by a bandpass filter. In case a message is detected, the app offers the user the option to block it. The main goal is to raise awareness and inform users about apps that use “data-over-sound” technologies like Google Nearby or Lisnr. These technologies use the microphone and loudspeaker of a smartphone to receive or send data over audio. Our current users let the app run in the background all day long, we show a notification in the status bar to remind them that it is running and is using battery (on iOS the status bar would turni red as when you use the Voice Memo app in the background).Before implementing the firewall for iOS we want to ask the follo
Replies
5
Boosts
0
Views
2.6k
Activity
Oct ’19
how can i hear Audio, during dictataion
is it possible, to enable backround audio while using dictat?
Replies
0
Boosts
0
Views
240
Activity
Jan ’22
Native Audio Player?
We are an audio only app looking to create a version for tvOS. Using TVML it is possible to create a Player object and to add audio items to it. We can then present a very nice UI for audio playback. This is the same UI that is used for Apple Music.The problem is, to conform to our licencing we have to report all of our played audio data. Because our audio is often long-form, we need to keep track of exactly where the user has listened in the audio. We have functioning code for this in iOS, which is built on top of AVPlayer. We would like to put this code into the nice player presented through javascript. Ideally we would like to replace the underlying AVPlayer with our own wrapped version. I have seen there is a native AVPlayerViewController component, but this only seems to lay itself out for video. Not like Apple Music does, or the JS Player. Is there a way of making AVPlayerViewController look like the one in Apple Music? Is there a native way of doing
Replies
0
Boosts
0
Views
642
Activity
Sep ’15
Passkey QR code pop up Question
We are using performRequestsWithOptions to enable passkey on ios app. [authController performRequestsWithOptions:ASAuthorizationControllerRequestOptionPreferImmediatelyAvailableCredentials]; Based on apple doc, this will Tells the authorization controller to prefer credentials that are immediately available on the local device., and fail silently if there are no credentials available. However, in recent testing, we identified that on one device, we are seeing QR code popping up even though there's no credential on the device. Question is this a bug on the OS system? If this is a bug, what are the causes that will trigger this condition? Is there a recommendation to mitigate the issue? Should we move to the new api? Thank you.
Replies
1
Boosts
0
Views
569
Activity
Sep ’24
Voice Over Sound
Hello, When I listen to title in my app with VoiceOver, it makes a strange sound. This characters make with Korean+number+Alphabet. Is this combination makes some strange sound with voice over? I would like to ask if Apple can fix this issue. Thank you.
Replies
1
Boosts
0
Views
225
Activity
Mar ’25
Reply to How to Fix Cracking and Popping Sound ?
I *really* want to see the flow of audio in macOS, and the changes in gain/amplitude along the way.If I use the test osc plugin in Logic Pro X, running thru a specific CoreAudio driver, I can succesfully manage keeping a consistent gain structure all the way thru my mixer, using Apple supplied Class-Compliant driver. 0db sine wave is exactly that all the way thru. Easy enough. If I go over that, I hear distortion.Now... safe to say that's calibrated, but... if I use the Music app, or audio coming from Safari, signal is about 4.5db hotter. That simply *cannot* be right. Send that to internal speakers and of course they're cracking and popping.
Topic: Community SubTopic: Apple Developers Tags:
Replies
Boosts
Views
Activity
May ’20
Route Audio of UILocalNotification
Hi,Is there a way to determine the output speaker for the sound of a UILocalNotification? For example provide an option for the user to choose wether the sound will be played through a bluetooth connected device or the phone's speakers?Thanks
Replies
0
Boosts
0
Views
315
Activity
Apr ’16
how to hide audio tab if there is no multi audio in AVPlayerView Controller for TVOS app
I want to hide audio tab/panel when there is no multi audio in AVPlayerView Controller for tvos app. Is it possible to hide audio tab?
Replies
0
Boosts
0
Views
376
Activity
Jun ’20
AnimatedImage displayed something wrong when slide to pop.
1. create an animated image with nature method `+ (UIImage *)animatedImageWithImages: duration:`2. add an imageview to VC1, playing an animated image created in step13. push VC24. slide to pop VC2, using nature method tooAnd u will see that the imageview didn't display correctly, but if we tap `back` button on the navigation bar, the animated image displayed correctly.anyone got the same problem with me?since I don't known how to submit my simple demo, if someone get interested in the issue, contact me and i'll show you the demo.E-mail: welsonxl@163.com
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
0
Boosts
0
Views
228
Activity
Feb ’17
Play sound on watch
I tried to play sound, putting the files in WatchKit app, then: let soundURL = NSURL.fileURLWithPath(NSBundle.mainBundle().pathForResource(ShipBullet, ofType:wav)!) let asset = WKAudioFileAsset(URL:soundURL) let sound = WKAudioFilePlayerItem(asset:asset) let audioPlayer = WKAudioFilePlayer(playerItem:sound) audioPlayer!.play()And the app crashed. Am I doing something wrong?
Replies
13
Boosts
0
Views
6.1k
Activity
Jun ’15