Search results for

“Popping Sound”

20,421 results found

Post

Replies

Boosts

Views

Activity

Record and PlayBack audio
Hello,I want to do recording and playing back audio on my iOS device.Can someone give me a short hint, which classes are useful for this use case?I googled around this topic a lot and read a lot of different things.But I'm not really sure, what classes are the right one for me.Examples: AVAudioSinkNode, AVAudioSourceNode, AVAudioSession, AVAudioRecorder,AVAudioPlayer, AVAudioQueue etc. Maybe someone could show me a code snippet or sample project (if possible).My current state: I would try it with AVAudioRecorder and AVAudioPlayer.My Recorder class logic:if let dir = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask).first { let file = dir.appendingPathComponent(audiofile.wav) // setup audio session with crazy framework let format: [String: Any] = [AVSampleRateKey: 44100.0, AVNumberOfChannelsKey : 2, AVFormatIDKey: kAudioFormatLinearPCM, AVEncoderBitRateKey: 320000, AVEncoderAudioQualityKey : AVAudioQuality.high.rawValue] recorder = try AVAudioRecorder.init(url: file, sett
0
0
2.7k
Sep ’19
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
Audio Plugin for Networked Device
Hello,I'm developing a pre-amp that will accept a music stream over ethernet. On OSX side, I'm writing a driver (just plugin) that will take system audio and send it over ethernet. I'm able to collect the audio data. Now I need to figure out how to stream it out.What is the proper way to do sockets in an audio plugin? I tried using socket callbacks with CFRunLoop but it seems to be freezing all of coreaudiod. Any other suggestion on this architecutre will be appreciated. For example, does anyone see a need for a kernel level driver or will the plugin suffice?Thanks,Konstantin
1
0
403
Apr ’16
Push notifications have lost their sound
We've been using remote push notifications from a gateway to allow us to provide auth information. In some cases there's no sound to tell the user that a notification has arrived. In our code we specify UNAuthorizationOptionSounds, and the notification settings on the devices are set to allow notifications and sounds for the application. The client code hasn't changed in a couple of years, so I'm wondering whether something might have happened from the sending side. That's not my strongest area though. Does anyone know whether there could have been a change in the call generating the push notification which cut off the sound, and where I would look for documentation on that?
0
0
710
Sep ’21
Compressed audio over BLE
Hello,We are trying to send compressed audio data over BLE.Our test setup includes a Linux PC(Peripheral) and an iPhone acting as the Central.We have the below characteristics on the Peripheral for audio transfer.Char1 (Read | Notify)Char2 (Write)We have an use case where audio transfer happens both ways simultaneously using these two characteristics.Peripheral -> Central (using Char1)Central -> Peripheral (using Char2)The Peripheral -> Central transfer seems to be fast enough for audio playback.But with the Central -> Peripheral transfer, we see a considerable lag.This transfer takes more than double the time required for Peripheral -> Central transfer.We also tried sending a connection parameter update request to set the connection interval between 20-21ms.But still we see no increase in the transfer speed.Are we missing out something here that enables faster transfer rates when sending data from the iPhone to PC?
1
0
758
Mar ’16
Stop notifications lowering audio
Whenever I get a notification, it lowers the audio that I’m currently listening to at the moment. Everywhere I look, the answer I see is just to mute my phone or put it on do not disturb, but I still wish to hear the ringer go off when I get a notification. is there a way I can stop the audio from lowering without needing to mute the ringer?
1
0
474
Apr ’23
How to record mixture of mic input and an audio file while playing back the audio file solely on iOS ?
I am working on an iOS app for mixing an audio file with the user's voice input into a new file, and playing the content of this audio file simultaneously. You can just consider this app as a Karaoke player which records both the singer’s voice and the original soundtrack into file while playing the original soundtrack for the singer.I use AUGraph to establish the audio process flow as:One mixer AudioUnit (with type kAudioUnitType_Mixer and subtype kAudioUnitSubType_MultiChannelMixer) with 2 inputs;One resampler AudioUnit for necessary sample rate converting( kAudioUnitType_FormatConverter, kAudioUnitSubType_AUConverter) from the sample rate of the audio file to that of the mic input in order to make formats of the mixer's 2 input buses match;Then connect these nodes: Mic’s output(output element of IO node's input scope) —> Mixer’s input 0, Resampler’s input —> Mixer’s input 1, Mixer’s output —> Speaker’s input(input element of IO node's output scope);Set a render
0
0
1.7k
Apr ’19
Xcode, Button, Audio, Fade and Loop
is there a way to fade out my audio file once the button is pressed, and only have the audio fade on the first loop? At the moment i have an action where the button plays audio and changes page, but the audio comes in two early, i'm trying to find away so that the audio only comes in when the page changes, so if theres an altenative way that would awesome 🙂
0
0
323
Jul ’17
Notifications Not Making Sound
Some of our clients that have updated their devices to iOS 11 have reported that they are not receiving any sound or vibration when receiving notifications, after testing myself I can confirm that this is the case. The notification is constructed on our API with ping.aiff as the value for sound like so:string appleSound = ping.aiff;var appleNotificationMessage = ${{aps:{{alert:{message}, sound:{appleSound}}}}};I've tried to search around a bit but I haven't found anything, any ideas why this may have stopped working? Notifications are coming through fine they are just silent and as far as I can tell the notification settings on the app are fine.
2
0
1.8k
Dec ’17
Web Audio Context getOutputTimestamp
I'm having difficulties with AudioContext.getOutputTimestamp on Apple devices, which i use for synchronizing animation data to Audio. the difference between Audio Context current time and getOutputTimestamp context time, ie a measure of Audio processing to speaker output latency, which can differ, depending on device. Since the original getOutputTimestamp introduction, I have not been able to use the output timestamp in Safari, but could use it in Chrome on Apple devices. However, since upgrading to iOS 15.1 getOutputTimestamp is giving contextTime values that is approx /10,000 smaller than Audio context current time, when they are supposed to be in the same units as audio context currentTime See the following modification of example from Web Audio examples which illustrates the problems with AudioContext.getOutputTimestamp on Apple devices getOutputTimestamp() reference Any help in understanding why I'm seeing such big differences here on Apple devices wo
1
0
988
Dec ’21
Playing Audio When tvOS App Backgrounded
In an iOS app, it's possible to have an app that has been backgrounded continue to play audio if the Info.plist setting 'Required background modes includes the item: App plays audio or streams audio/video using AirPlay.Using this key in tvOS seems to have no effect, and audio stops when I open another applicaiton while my AVPlayerViewController is playing audio. Is this a bug with tvOS or is there a different key?
1
0
1.3k
Sep ’15
How to disable Bluetooth ON pop up in IPhone 6 and IPhone5 through Info.plist?
Hi,In My app developement, I have enabled the Bluetooth ON feature through Info.plist (<key>NSBluetoothPeripheralUsageDescription</key>), this switches on Bluetooth in IPhone7 and IPhone8 without any popup.But with same app settings , it opens up a pop up for confirmation to switch on Bluetooth in IPhone 6 and IPhone5.PLease advise on this. Why this happens, what is the difference in terms of UI implementation.Regards,Raja
0
0
1k
May ’19
Record and PlayBack audio
Hello,I want to do recording and playing back audio on my iOS device.Can someone give me a short hint, which classes are useful for this use case?I googled around this topic a lot and read a lot of different things.But I'm not really sure, what classes are the right one for me.Examples: AVAudioSinkNode, AVAudioSourceNode, AVAudioSession, AVAudioRecorder,AVAudioPlayer, AVAudioQueue etc. Maybe someone could show me a code snippet or sample project (if possible).My current state: I would try it with AVAudioRecorder and AVAudioPlayer.My Recorder class logic:if let dir = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask).first { let file = dir.appendingPathComponent(audiofile.wav) // setup audio session with crazy framework let format: [String: Any] = [AVSampleRateKey: 44100.0, AVNumberOfChannelsKey : 2, AVFormatIDKey: kAudioFormatLinearPCM, AVEncoderBitRateKey: 320000, AVEncoderAudioQualityKey : AVAudioQuality.high.rawValue] recorder = try AVAudioRecorder.init(url: file, sett
Replies
0
Boosts
0
Views
2.7k
Activity
Sep ’19
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
Audio Plugin for Networked Device
Hello,I'm developing a pre-amp that will accept a music stream over ethernet. On OSX side, I'm writing a driver (just plugin) that will take system audio and send it over ethernet. I'm able to collect the audio data. Now I need to figure out how to stream it out.What is the proper way to do sockets in an audio plugin? I tried using socket callbacks with CFRunLoop but it seems to be freezing all of coreaudiod. Any other suggestion on this architecutre will be appreciated. For example, does anyone see a need for a kernel level driver or will the plugin suffice?Thanks,Konstantin
Replies
1
Boosts
0
Views
403
Activity
Apr ’16
Push notifications have lost their sound
We've been using remote push notifications from a gateway to allow us to provide auth information. In some cases there's no sound to tell the user that a notification has arrived. In our code we specify UNAuthorizationOptionSounds, and the notification settings on the devices are set to allow notifications and sounds for the application. The client code hasn't changed in a couple of years, so I'm wondering whether something might have happened from the sending side. That's not my strongest area though. Does anyone know whether there could have been a change in the call generating the push notification which cut off the sound, and where I would look for documentation on that?
Replies
0
Boosts
0
Views
710
Activity
Sep ’21
How to export audio file from `AVAudioEngine`
I have an AVAudioEngine,but I don't know how to export the audio in AVAudioEngine to a file. Anyone can help?
Replies
0
Boosts
0
Views
1.2k
Activity
Nov ’21
notifications iwatch sound and vibration
i want to add vibration and sound with the notification on iwatch, when it arrives on apple watch. I dont know how to do it. Currently my notifications are being displayed on apple wtch but without any sound or vibrations. I want to add these stuff with the notification.
Replies
1
Boosts
0
Views
613
Activity
Jul ’15
Compressed audio over BLE
Hello,We are trying to send compressed audio data over BLE.Our test setup includes a Linux PC(Peripheral) and an iPhone acting as the Central.We have the below characteristics on the Peripheral for audio transfer.Char1 (Read | Notify)Char2 (Write)We have an use case where audio transfer happens both ways simultaneously using these two characteristics.Peripheral -> Central (using Char1)Central -> Peripheral (using Char2)The Peripheral -> Central transfer seems to be fast enough for audio playback.But with the Central -> Peripheral transfer, we see a considerable lag.This transfer takes more than double the time required for Peripheral -> Central transfer.We also tried sending a connection parameter update request to set the connection interval between 20-21ms.But still we see no increase in the transfer speed.Are we missing out something here that enables faster transfer rates when sending data from the iPhone to PC?
Replies
1
Boosts
0
Views
758
Activity
Mar ’16
Stop notifications lowering audio
Whenever I get a notification, it lowers the audio that I’m currently listening to at the moment. Everywhere I look, the answer I see is just to mute my phone or put it on do not disturb, but I still wish to hear the ringer go off when I get a notification. is there a way I can stop the audio from lowering without needing to mute the ringer?
Replies
1
Boosts
0
Views
474
Activity
Apr ’23
How to record mixture of mic input and an audio file while playing back the audio file solely on iOS ?
I am working on an iOS app for mixing an audio file with the user's voice input into a new file, and playing the content of this audio file simultaneously. You can just consider this app as a Karaoke player which records both the singer’s voice and the original soundtrack into file while playing the original soundtrack for the singer.I use AUGraph to establish the audio process flow as:One mixer AudioUnit (with type kAudioUnitType_Mixer and subtype kAudioUnitSubType_MultiChannelMixer) with 2 inputs;One resampler AudioUnit for necessary sample rate converting( kAudioUnitType_FormatConverter, kAudioUnitSubType_AUConverter) from the sample rate of the audio file to that of the mic input in order to make formats of the mixer's 2 input buses match;Then connect these nodes: Mic’s output(output element of IO node's input scope) —> Mixer’s input 0, Resampler’s input —> Mixer’s input 1, Mixer’s output —> Speaker’s input(input element of IO node's output scope);Set a render
Replies
0
Boosts
0
Views
1.7k
Activity
Apr ’19
Xcode, Button, Audio, Fade and Loop
is there a way to fade out my audio file once the button is pressed, and only have the audio fade on the first loop? At the moment i have an action where the button plays audio and changes page, but the audio comes in two early, i'm trying to find away so that the audio only comes in when the page changes, so if theres an altenative way that would awesome 🙂
Replies
0
Boosts
0
Views
323
Activity
Jul ’17
Sound effects with wheel rotation
In my app there is a spinning wheel. I am using KeyFrameAnimations. I want to add sound effects to the wheel rotation animation. I tried AVAudioPlayer. But I want the audio speed to change with the speed of wheel rotation. Please help me ASAP.
Replies
0
Boosts
0
Views
80
Activity
Jul ’15
Notifications Not Making Sound
Some of our clients that have updated their devices to iOS 11 have reported that they are not receiving any sound or vibration when receiving notifications, after testing myself I can confirm that this is the case. The notification is constructed on our API with ping.aiff as the value for sound like so:string appleSound = ping.aiff;var appleNotificationMessage = ${{aps:{{alert:{message}, sound:{appleSound}}}}};I've tried to search around a bit but I haven't found anything, any ideas why this may have stopped working? Notifications are coming through fine they are just silent and as far as I can tell the notification settings on the app are fine.
Replies
2
Boosts
0
Views
1.8k
Activity
Dec ’17
Web Audio Context getOutputTimestamp
I'm having difficulties with AudioContext.getOutputTimestamp on Apple devices, which i use for synchronizing animation data to Audio. the difference between Audio Context current time and getOutputTimestamp context time, ie a measure of Audio processing to speaker output latency, which can differ, depending on device. Since the original getOutputTimestamp introduction, I have not been able to use the output timestamp in Safari, but could use it in Chrome on Apple devices. However, since upgrading to iOS 15.1 getOutputTimestamp is giving contextTime values that is approx /10,000 smaller than Audio context current time, when they are supposed to be in the same units as audio context currentTime See the following modification of example from Web Audio examples which illustrates the problems with AudioContext.getOutputTimestamp on Apple devices getOutputTimestamp() reference Any help in understanding why I'm seeing such big differences here on Apple devices wo
Replies
1
Boosts
0
Views
988
Activity
Dec ’21
Playing Audio When tvOS App Backgrounded
In an iOS app, it's possible to have an app that has been backgrounded continue to play audio if the Info.plist setting 'Required background modes includes the item: App plays audio or streams audio/video using AirPlay.Using this key in tvOS seems to have no effect, and audio stops when I open another applicaiton while my AVPlayerViewController is playing audio. Is this a bug with tvOS or is there a different key?
Replies
1
Boosts
0
Views
1.3k
Activity
Sep ’15
How to disable Bluetooth ON pop up in IPhone 6 and IPhone5 through Info.plist?
Hi,In My app developement, I have enabled the Bluetooth ON feature through Info.plist (<key>NSBluetoothPeripheralUsageDescription</key>), this switches on Bluetooth in IPhone7 and IPhone8 without any popup.But with same app settings , it opens up a pop up for confirmation to switch on Bluetooth in IPhone 6 and IPhone5.PLease advise on this. Why this happens, what is the difference in terms of UI implementation.Regards,Raja
Replies
0
Boosts
0
Views
1k
Activity
May ’19