Search results for

Popping Sound

19,354 results found

Post

Replies

Boosts

Views

Activity

Reply to POP Implementations with multiple files
I don’t think there’s a Silver Bullet™ solution for you here; it sounds like you are aware of your current options and you just have to decide on which of them best suits your needs.You might want to pop over to swift-evolution, where there is currently much debate about the future of access control and Swift submodules, both of which might give you better options in the future.Share and Enjoy — Quinn “The Eskimo!” Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1 + @apple.com
Topic: Programming Languages SubTopic: Swift Tags:
Mar ’17
iOS Audio Crackling issue when send audio data to UDP server and Play
I am experiencing an issue while recording audio using AVAudioEngine with the installTap method. I convert the AVAudioPCMBuffer to Data and send it to a UDP server. However, when I receive the Data and play it back, there is continuous crackling noise during playback. I am sending audio data using this library https://github.com/mindAndroid/swift-rtp by creating packet and send it. Please help me resolve this issue. I have attached the code reference that I am currently using. Thank you. ViewController.swift
0
0
536
Nov ’24
Recording Audio Noice
HiI have problems recording audio for an VoIP app on iPhone 6s and iPhone 7. The same code is working OK with iPhone 6. All the devices are running the last iOS version (11.1.2).I got a distortion/noice in the audio like a metallic voice.I am using Audio Queue and the AudioStreamBasicDescription is started:Format: LinearPCMFlags: PCMIsSignedInterger, PCMIsPackedFramesPerPacket: 1ChannelsPerFrame: 1BitsPerChannel: 16BytesPerPacket: 2BytesPerFrame: 2Reserved: 0I allocate and enqueue 3 buffers of 60 ms before stating. The buffer is enqueued again in the callback.I have noted from the log in Xcode the following lines:Dec 1 14:00:43 DEs-iPhone TetraFlexClientMobile(AudioToolbox)[644] <Notice>: AUBase.cpp:1474:DoRender: /BuildRoot/Library/Caches/com.apple.xbs/Sources/CoreAudioServices/CoreAudioServices-975.2.5/CoreAudioUtility/Source/CADSP/AUPublic/AUBase/AUBase.cpp:1474 86 frames, 2 bytes/frame, expected 172-byte buffer; ioData.mBuffers[0].mDataByteSize=170; kAudio_ParamErrorDec 1
2
0
1.2k
Dec ’17
Prevent audio from flowing through speakers
I need to prevent audio from flowing through the speakers, however I do want audio to flow through the headphones if they are plugged in.Basically I need to turn off the speakers while my app is running.I have searched high and low, but all I can find is how to prevent headphones from being used, which is the opposite of what I need.
0
0
320
Nov ’19
How do you add a Audio Player to Xcode?
How can you add a live audio player to Xcode where they will have a interactive UI to control the audio and they will be able to exit out of the app and or turn their device off and it will keep playing? Is their a framework or API that will work for this? Thanks! Really need help with this…. 🤩 I have looked everywhere and haven’t found something that works….
0
0
1.4k
Mar ’22
How to pause/stop all active audio playbacks when my application needs to start audio playback from background?
Intention: Our application goes to background (background audio playback enabled) > We open any iOS application that starts audio playback (i.e: youtube, or music player) > after some moments, our application activates it's audio session to start playingback some audio (while our application is still alive in the background)What We tried: When our application wants to play the audio from background, it set's the AVAudioSession category to AVAudioSessionCategoryPlayback. Expectation: The current foreground application with active audioplayback will pause it's audio playback, and our application's playback will be the only sound that would be heard.Observation:The current foreground application keeps playing it's audio session. And our application fails to activate audiosession (from background) with non-mixable AVAudioSessionCategoryPlayback.Counter measure that We tried: With the above category, we also set AVAudioSession Options AV
0
0
950
Mar ’20
ReplayKit with background audio
Hi, when I start a screen recording session (with microphone enabled) the phone automatically switch every audio playback from the default speaker to the call speaker (the one in the top, used during phone calls) and it returns normal when I stop the recording.The same result happens from my app using ReplayKit and from iOS 11 system screen recording, it behave the same, every sound (from game, spotify, whatever...) comes only from the top speaker, resulting in a very low volume.I tryed with iPhone 6s, 7 and X with iOS 11.2.2 and iOS 11.2.5, nothing change.I don't understand if this is a bug or a feature, and most of all if I can override this setting in my app, allowing the user to record his voice from microphone with music in the background.Many thanks,Michele
1
0
1.9k
Jan ’18
Ans: Solving 6S distorted audio - avoid bad audio format assumptions
Hi there,I have this following audio distorted audio issue. I play 48kHz Audio AAC file using the AVPlayer Framework and I experience distorted audio only on iPhone 6S.. So I'm trying to avoid some bad assumptions about audio formats with no luck with this following code :+ (void) setupAudioSpeaker{NSError * audioSessionError = nil; [[AVAudioSession sharedInstance] setCategory: AVAudioSessionCategoryPlayback error: &audioSessionError];if (audioSessionError) { NSLog(@AVAudioSession Error %ld, %@, (long)audioSessionError.code, audioSessionError.localizedDescription); }NSTimeInterval bufferDuration =.005; [[AVAudioSession sharedInstance] setPreferredIOBufferDuration:bufferDuration error:&audioSessionError];if (audioSessionError) { NSLog(@Error %ld, %@, (long)audioSessionError.code, audioSessionError.localizedDescription); }double sampleRate = 48000; [[AVAudioSession sharedInstance] setPreferredSampleRate:sampleRate error:&audioSessionError];if (audioSessio
2
0
1.3k
Oct ’15
Bachelor Audio Streaming
Hello fellow developers, I am currently working on my bachelor thesis. Therefore my task is to develop a rudimentary solution to stream 2 channel audio from MacOS to an IOS device over Wifi, highest quality possible. Latency is not a major concern, but keeping it low would be great. So i thought of developing something like Wifi2Hifi. That would probably be as rudimentary as possible. I'm not very deep inside the subject. Still researching and collecting thoughts and ideas. If someone could point me to sources and literature on audio related networking/streaming, i would be glad. Also thoughts on networking protocols i could use, or api's etc., would be greatly appreciated. Thanks a lot.
1
0
251
Jul ’20
Audio quality on custom rate
hi, i have a simple avaudioplayer, wich runs with a custom rate from -16% to +16%. If the rate is not exactly 1.0 the Sound quality is really bad.i tried 48khz aiff and wav format And set a 48khz sample rate To my Audio Session as well.quality is still bad... can anyone help me?
2
0
4k
Jun ’15
Audio processing in the background
I've been trying to generate a waveform from an audio file without having to play it all.Looks like the only solution is using an OfflineAudioContext but this seems to work on ALL the browsers but Safari. Am I missing something?https://codepen.io/nuthinking/pen/LzQqmP?editors=0010Thanks a lot!
0
0
540
May ’18