Search results for

“Popping Sound”

20,025 results found

Post

Replies

Boosts

Views

Activity

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
973
Mar ’20
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
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
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
279
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
4.1k
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
555
May ’18
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
Import of external recorded sound
Dear AppleI am currently using your iPad Pro 12,9” for a lot of my work editing using Lightroom Mobila, Photoshop mobile and the LumaFusion video app.As a photographer it was great to get the support of RAW files, especially when importing the DSLR picture files from SDcard into the ipad.But when doing video editing on the iPad, I am missing the ability to import external recorded sound from an SDcard into the iPad. The Apple Lightning adapter is only supporting video and picture files, but not sound files. Whe is that?The only way I can get my external recorded sound into the LumaFusion video app, is to use a wifi hotspot unit that support SDcard. By using that unit i am able to connect my ipad to the hotspot and transfer the audio files into the ipad, where I then can use it for my video editing.Juse downloaded the beta version of iOS 11 on my iPad Pro and was hoping that the function of letting me import sound files into the ipad by using the original Apple ligh
1
0
684
Jul ’17
Audio Crackling in Playback
when using my 2015 Version MacBook pro plugged into my audio interface for playback I'm getting a crackling noise. When I playback directly from my mac with headphones or through the CPU speakers it plays fine. I've tried replacing the interface, cords & wires and still no luck. if I cant fix this I'll probably sell my mac.
0
0
1.4k
May ’22
Modal View Controller is dismissed when Peek and popped on link in UITextView
I have a link in a UITextView in a ViewController which is part of a UINavigationControler, which I present as Modal. When I do a Peek and pop (force touch /3d touch) twice on the link it opens the link in Safari which is default behavior. But When I go back to my app, the View controller is dismissed. Does anyone have encountered this issue and know how to stop the view controller being dismissed.Thanks in Advance.
Topic: UI Frameworks SubTopic: UIKit Tags:
0
0
283
Jul ’16
Stereo recording and audio quality
Hello, I started to set audio stereo recording (both audio and video are recorded) and the audio quality seems to be lower than quality obtained with native camera application (configured for stereo). Using console to check the log, I found a difference between camera app and mine regarding MXSessionMode (of mediaserverd) in fact, camera application gives MXSessionMode = SpatialRecording and mine MXSessionMode = VideoRecording How can I configure capture session to finally have MXSessionMode = SpatialRecording? Any suggestion? Best regards
2
0
1.5k
Oct ’23
External sound cards.
Is anyone having issues with inputs on external interfaces such as motu, apollo or presonus usb/firewire/thunderbolt 2/3 devices? Specifically the motu ultralite mk3 hybrid. the drivers work in high sierra but in mojave for some reason the inputs are showing in audio midi setup but are completely greyed out. Outputs are working fine
1
0
1.4k
Aug ’18
Convert Video to Audio
I have a converted video file(.mp4) to audio file(.mp3). Where can I store it in my iphone and how can i do using Objective C/C++(primary)? Technologies used: FFMPEG OBJ-C Wrappers C++ Thanks for your help.
Replies
0
Boosts
0
Views
462
Activity
Apr ’21
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
Replies
0
Boosts
0
Views
973
Activity
Mar ’20
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
Replies
2
Boosts
0
Views
1.3k
Activity
Oct ’15
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
Replies
2
Boosts
0
Views
1.2k
Activity
Dec ’17
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.
Replies
1
Boosts
0
Views
279
Activity
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?
Replies
2
Boosts
0
Views
4.1k
Activity
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!
Replies
0
Boosts
0
Views
555
Activity
May ’18
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
Replies
1
Boosts
0
Views
1.9k
Activity
Jan ’18
Import of external recorded sound
Dear AppleI am currently using your iPad Pro 12,9” for a lot of my work editing using Lightroom Mobila, Photoshop mobile and the LumaFusion video app.As a photographer it was great to get the support of RAW files, especially when importing the DSLR picture files from SDcard into the ipad.But when doing video editing on the iPad, I am missing the ability to import external recorded sound from an SDcard into the iPad. The Apple Lightning adapter is only supporting video and picture files, but not sound files. Whe is that?The only way I can get my external recorded sound into the LumaFusion video app, is to use a wifi hotspot unit that support SDcard. By using that unit i am able to connect my ipad to the hotspot and transfer the audio files into the ipad, where I then can use it for my video editing.Juse downloaded the beta version of iOS 11 on my iPad Pro and was hoping that the function of letting me import sound files into the ipad by using the original Apple ligh
Replies
1
Boosts
0
Views
684
Activity
Jul ’17
Capturing audio being sent to a specific driver
Hi All I need to be able to capture the audio being sent to a specific audio driver (such as internal speakers) and manipulate it - is there a specific API that allows me to capture audio without inserting anything into the audio graph? (Use case is to add audio to an NDI video feed for ingestion into another application) Thanks!
Replies
0
Boosts
0
Views
494
Activity
Dec ’20
Audio Crackling in Playback
when using my 2015 Version MacBook pro plugged into my audio interface for playback I'm getting a crackling noise. When I playback directly from my mac with headphones or through the CPU speakers it plays fine. I've tried replacing the interface, cords & wires and still no luck. if I cant fix this I'll probably sell my mac.
Replies
0
Boosts
0
Views
1.4k
Activity
May ’22
Modal View Controller is dismissed when Peek and popped on link in UITextView
I have a link in a UITextView in a ViewController which is part of a UINavigationControler, which I present as Modal. When I do a Peek and pop (force touch /3d touch) twice on the link it opens the link in Safari which is default behavior. But When I go back to my app, the View controller is dismissed. Does anyone have encountered this issue and know how to stop the view controller being dismissed.Thanks in Advance.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
0
Boosts
0
Views
283
Activity
Jul ’16
Stereo recording and audio quality
Hello, I started to set audio stereo recording (both audio and video are recorded) and the audio quality seems to be lower than quality obtained with native camera application (configured for stereo). Using console to check the log, I found a difference between camera app and mine regarding MXSessionMode (of mediaserverd) in fact, camera application gives MXSessionMode = SpatialRecording and mine MXSessionMode = VideoRecording How can I configure capture session to finally have MXSessionMode = SpatialRecording? Any suggestion? Best regards
Replies
2
Boosts
0
Views
1.5k
Activity
Oct ’23
External sound cards.
Is anyone having issues with inputs on external interfaces such as motu, apollo or presonus usb/firewire/thunderbolt 2/3 devices? Specifically the motu ultralite mk3 hybrid. the drivers work in high sierra but in mojave for some reason the inputs are showing in audio midi setup but are completely greyed out. Outputs are working fine
Replies
1
Boosts
0
Views
1.4k
Activity
Aug ’18
Identify recording sound is pleasant or unpleasant
How to identify recording audio is pleasant or unpleasant in iOS. I am recording of a motor vehicle sound and want to measure sound is pleasant/unpleasant or noisy means basically want to measure motor sound of vehicle for maintenance in iOS.
Replies
0
Boosts
0
Views
455
Activity
Nov ’20