Search results for

Popping Sound

19,349 results found

Post

Replies

Boosts

Views

Activity

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?
3
0
119
Mar ’25
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
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
481
Jan ’21
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
772
Aug ’17
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
390
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.2k
Aug ’22
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
415
Apr ’16
How to play audio file?
I have the following audio file:https://www.dropbox.com/s/996crway3omvx75/sample.m4a?dl=0Format : AACFormat / Info : Advanced Audio CodecFormatprofile : LCCodec-ID : 67Now I have no idea what the codec-id says but if I receive an audio file from my server content provider with a codec-id of 40. It all works, but if I receive the above audio file I can not play it in regular audio software like QuickTime in HTML5 Audio. (It does play in VLC)Is there anyone that can shine some light on this matter and how am I able to convert this data into an audio format that is playable. Using swift?
0
0
443
Nov ’15
Small audio glitch
I am getting a small audio glitch on Apple TV 2 & 3 when playing back a stream with multiple audio bitrates only as alternate audio (not muxed in with the video) that is occuring just as the playback first switches between the audio streams.Does anyone have a way to generate a known good reference stream with multiple audio tracks that works with Fairplay on Apple TV gen 2 and gen 3?
0
0
316
Mar ’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.2k
Oct ’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
649
Oct ’15
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
558
Jan ’17