Search results for

“Popping Sound”

20,619 results found

Post

Replies

Boosts

Views

Activity

Solving 6S distorted audio - avoid bad audio format assumptions
The internal speaker on the iPhone 6S models only support a sample rate of 48kHz while previous iPhone models supported a collection of sample rates.Some developers are running into problems (generally classified as distorted or bad sounding audio) due to some incorrect assumptions being made when the requested “preferred sample rate ends up being different than the current actual hardware sample rate.If you ignore these types of difference and for example set the client format to the hardware format expecting 44.1kHz when the actual sample rate is 48kHz, your application will suffer problems like audio distortion with the further possibility of other failures.Additionally, even if your application is specifying a client format of 44.1kHz, for example the render callback (in the case of the AURemoteIO (kAudioUnitSubType_RemoteIO)) may call you for a varying number of frames in cases where sample rate conversion is involved. Therefore, it is important that the application never assum
0
0
12k
Oct ’15
How do I mix 2 hardware audio devices and record them as 1 audio track?
I am trying to mix the audio from 2 different hardware audio devices together in real-time and record the results. Does anybody have any idea how to do this? This is on macOS. Things I have tried and why it didn't work: Adding 2 audio AVCaptureDevices to an AVCaptureMovieFileOutput or AVAssetWriter. This results in a file that has 2 audio tracks. This doesn't work for me for various reasons. Sure I can mix them together with an AVAssetExportSession, but it needs to be real-time. Programmatically creating an aggregate device and recording that as an AVCaptureDevice. This sort of works, but it always results in a recording with strange channel issues. For example, if I combine a 1 channel mic and a 2 channel device, I get a recording with 3 channel audio (L R C). If I make an aggregate out of 2 stereo devices, I get a recording with quadraphonic sound(L R Ls Rs), which won't even play back on some players. If I always force it to stereo, all stereo tracks ge
1
0
1.4k
May ’22
iOS 9 audio
I have a published app where the record and playback worked fine. Recently I upgraded to iOS 9. Now the record and playback works sporadically - like one time in ten tries. Using AVAudioSession, AVAudioRecorder, AVAudioPlayer.Normal functioning is that during playback the other sound-related buttons (such as record) are made inactive/grayed out for the few seconds duration of the playbackCurrently, when you record (or attempt to) and playback fails, the sound-related buttons are inactive/grayed out and just hang in that stateOther audio-related actions in this module (such as playback of pre-recorded narration of the verse) continue to function as expectedI used the record-playback function at least as recently as December 1 and it was working fineI am at a loss as to how to proceed to either investigate or repair the problem.I have at least one friend who has also had audio issues with iOS 9. Is there a bug here? Is Apple working on it? Is there a reason to just wait for A
0
0
141
Dec ’15
Siri Without Sound
Today I was going to use Siri on my iPhone 5C and I found out something: There are no sounds, not even Siri's voice. That's something strange because in my iPad Mini 2 there are all Siri's sounds. Anyone else experiencing this?
3
0
3.0k
Jun ’16
NowPlayingInfo for video and audio
In my tvOS App I play video with the AVPlayerViewController and use the externelMetadatafor providing Info to the NowPlayingInfo.I also play audio with the AVQueuePlayer and my custom UI. For audio, I set the infodirectly to the MPNowPlayingInfoCenter.When i run my app an play some audio first, the NowPlayingInfo is displayed correctly.Then I play a video and the NowPlayingInfo is also displayed correctly.But after presenting a video with the AVPlayerViewController, the playback of audioand setting of the info via MPNowPlayingInfoCenter no longer works. I also noticedthat in the Remote-App the NowPlayingInfo still shows the info from the last video.Prior to the tvOS 11 version everything worked as expected. I could play audio andvideo in any order and the NowPlayingInfo was always showing correctly.Is this a bug of tvOS 11 or must i do something else?Thanks.
0
0
427
Jul ’17
Default notification sound playing: how to handle custom notification sounds in objc?
I'm covering my bases here.I have registered my app for remote notifications in my AppDelegate and have included the sound property in the aps object. an example aps is given here: aps = { alert = scrubbed out content-available = 1; latitude = scrubbed out longitude = scrubbed out scrubbed out = 1; sound = BLE_alarmNoti.caf; title = scrubbed out };}If i have a look at the main bundle, the file BLE_alarmNoti.caf is included.How do you add custom sounds to a remote notification? The guide tbh is very ambiguous on this as the section for custom sounds only gives you instructions by making a local notification.the program has to be able to play this custom sound as it is an emergency reminder - if someone is lost, or they have an accident the notification comes from them to another device.Once i've established that the code works, then I'll go onto the next part, which is that it might be a device issue.
0
0
758
Nov ’17
USB Audio Failing
I've observed USB audio seems to fail in El Capitan Developer Preview 1 using a CEntrance HiFi-M8. This device supports a range of 2 channel 24 bit formats (44.1KHz, 48.0KHz, 88.2KHz, 96.0KHz, 176.4KHz, 192.0KHz, etc.). While it worked just great in Yosemite, what seems to occur now is a grainy/garbled sound that seems a bit like the wrong format is being played even when 44.1KHz is selected in Audio MIDI setup and a 44.1KHz file is played in iTunes or in Safari.
58
0
26k
Jun ’15
Audio Unit Extensions using other audio units
I'm looking into how to package an Audio Unit consisting of several other audio units. I came up with the following solution, calling the AUAudioUnit render function explicitly from the AUInternalRenderBlock. But the audio unit doesn't seem to run, since mData inside outputData remains uninitialized after the render function has been triggered.Any suggestions?From myAudioUnit.m inheriting from AUAudioUnit:- (AUInternalRenderBlock)internalRenderBlock { return ^AUAudioUnitStatus(AudioUnitRenderActionFlags *actionFlags, const AudioTimeStamp *timestamp, AVAudioFrameCount frameCount, NSInteger outputBusNumber, AudioBufferList *outputData, const AURenderEvent *realtimeEventListHead, AURenderPullInputBlock pullInputBlock) { [_eqAudioUnit.audioUnit renderBlock](actionFlags, timestamp, frameCount, outputBusNumber, outputData, pullInputBlock); return noErr; }; }_eqAudioUnit is an instance of EQAudioUnit (ensuring that allocateRenderResources is invoked before triggering the renderBlock):publi
0
0
606
Sep ’16
system sound for remote notification.
I am displaying the list of sound , retrieved from /System/Library/Audio/UISounds.When user select any sound from the app, I send the name of sound to the server. When server send the push notification , it configure that name in push notification, Still Device play the default system sound.What do I have to do so that system play selected system sound on push notification ? ( WhatsApp is giving this feature).
0
0
465
Jun ’16
Ducking and Un-ducking Audio
So I am working on an app that requires audio files to be played intermittently and it should duck audio coming from the background...(such as music from iPod or Pandora). I understand that you need to activate your audio session, then upon completion of the audio playback, you deactivate the audio session to get the background sound to return to its normal volume. My only problem I am having is that when there is no background audio playing, and the audio session is not active, the volume buttons on the side of the phone control the ringer volume and not the app audio volume. This is a problem for me, because I would like the user to be able use the volume buttons to control the volume of the upcoming audio alerts at all times. When the volume buttons are controlling the ringer, the user has no control over the app audio / alert volume. I know of at least two fitness apps in the app store that are able to duck
0
0
1.2k
May ’17
Start looped audio from background?
I'm trying to do something similar to Tile.app. When it shows a notification, it plays a sound. That seems simple enough-- use UILocalNotification and include the sound file name. But local notifications limit sounds to no more than 30 seconds, and Tile's sound keeps playing for a whole lot longer than that. I expect it's looping, and it continues until I can't stand the noise any more.The sound also plays even if the phone's mute switch is on, which doesn't happen with local notifications.I thought maybe I could post a text-only local notification and have my app play the sound. But using AVAudioPlayer, the play method returns NO and the sound doesn't play.I've seen it suggested that this is by design, that apps aren't supposed to be able to play sounds from the background-- only continue sound that's already playing. I'd accept that reasoning except that Tile does it, so it's obviously possible. One suggested workaround is to l
0
0
473
May ’16
listening to the Sound while recording?
Ive got a 13 pro max, and I wonder if apple forgot that function of hearing the sound in the headsets while recording. Not just afterwards playing it, which takes time. Plus doing documentary film its not always possable to do a second simullar recording, if the sound is bad. Do anybody know what to do?
1
0
307
Apr ’22
Solving 6S distorted audio - avoid bad audio format assumptions
The internal speaker on the iPhone 6S models only support a sample rate of 48kHz while previous iPhone models supported a collection of sample rates.Some developers are running into problems (generally classified as distorted or bad sounding audio) due to some incorrect assumptions being made when the requested “preferred sample rate ends up being different than the current actual hardware sample rate.If you ignore these types of difference and for example set the client format to the hardware format expecting 44.1kHz when the actual sample rate is 48kHz, your application will suffer problems like audio distortion with the further possibility of other failures.Additionally, even if your application is specifying a client format of 44.1kHz, for example the render callback (in the case of the AURemoteIO (kAudioUnitSubType_RemoteIO)) may call you for a varying number of frames in cases where sample rate conversion is involved. Therefore, it is important that the application never assum
Replies
0
Boosts
0
Views
12k
Activity
Oct ’15
How do I mix 2 hardware audio devices and record them as 1 audio track?
I am trying to mix the audio from 2 different hardware audio devices together in real-time and record the results. Does anybody have any idea how to do this? This is on macOS. Things I have tried and why it didn't work: Adding 2 audio AVCaptureDevices to an AVCaptureMovieFileOutput or AVAssetWriter. This results in a file that has 2 audio tracks. This doesn't work for me for various reasons. Sure I can mix them together with an AVAssetExportSession, but it needs to be real-time. Programmatically creating an aggregate device and recording that as an AVCaptureDevice. This sort of works, but it always results in a recording with strange channel issues. For example, if I combine a 1 channel mic and a 2 channel device, I get a recording with 3 channel audio (L R C). If I make an aggregate out of 2 stereo devices, I get a recording with quadraphonic sound(L R Ls Rs), which won't even play back on some players. If I always force it to stereo, all stereo tracks ge
Replies
1
Boosts
0
Views
1.4k
Activity
May ’22
iOS 9 audio
I have a published app where the record and playback worked fine. Recently I upgraded to iOS 9. Now the record and playback works sporadically - like one time in ten tries. Using AVAudioSession, AVAudioRecorder, AVAudioPlayer.Normal functioning is that during playback the other sound-related buttons (such as record) are made inactive/grayed out for the few seconds duration of the playbackCurrently, when you record (or attempt to) and playback fails, the sound-related buttons are inactive/grayed out and just hang in that stateOther audio-related actions in this module (such as playback of pre-recorded narration of the verse) continue to function as expectedI used the record-playback function at least as recently as December 1 and it was working fineI am at a loss as to how to proceed to either investigate or repair the problem.I have at least one friend who has also had audio issues with iOS 9. Is there a bug here? Is Apple working on it? Is there a reason to just wait for A
Replies
0
Boosts
0
Views
141
Activity
Dec ’15
Siri Without Sound
Today I was going to use Siri on my iPhone 5C and I found out something: There are no sounds, not even Siri's voice. That's something strange because in my iPad Mini 2 there are all Siri's sounds. Anyone else experiencing this?
Replies
3
Boosts
0
Views
3.0k
Activity
Jun ’16
NowPlayingInfo for video and audio
In my tvOS App I play video with the AVPlayerViewController and use the externelMetadatafor providing Info to the NowPlayingInfo.I also play audio with the AVQueuePlayer and my custom UI. For audio, I set the infodirectly to the MPNowPlayingInfoCenter.When i run my app an play some audio first, the NowPlayingInfo is displayed correctly.Then I play a video and the NowPlayingInfo is also displayed correctly.But after presenting a video with the AVPlayerViewController, the playback of audioand setting of the info via MPNowPlayingInfoCenter no longer works. I also noticedthat in the Remote-App the NowPlayingInfo still shows the info from the last video.Prior to the tvOS 11 version everything worked as expected. I could play audio andvideo in any order and the NowPlayingInfo was always showing correctly.Is this a bug of tvOS 11 or must i do something else?Thanks.
Replies
0
Boosts
0
Views
427
Activity
Jul ’17
Default notification sound playing: how to handle custom notification sounds in objc?
I'm covering my bases here.I have registered my app for remote notifications in my AppDelegate and have included the sound property in the aps object. an example aps is given here: aps = { alert = scrubbed out content-available = 1; latitude = scrubbed out longitude = scrubbed out scrubbed out = 1; sound = BLE_alarmNoti.caf; title = scrubbed out };}If i have a look at the main bundle, the file BLE_alarmNoti.caf is included.How do you add custom sounds to a remote notification? The guide tbh is very ambiguous on this as the section for custom sounds only gives you instructions by making a local notification.the program has to be able to play this custom sound as it is an emergency reminder - if someone is lost, or they have an accident the notification comes from them to another device.Once i've established that the code works, then I'll go onto the next part, which is that it might be a device issue.
Replies
0
Boosts
0
Views
758
Activity
Nov ’17
USB Audio Failing
I've observed USB audio seems to fail in El Capitan Developer Preview 1 using a CEntrance HiFi-M8. This device supports a range of 2 channel 24 bit formats (44.1KHz, 48.0KHz, 88.2KHz, 96.0KHz, 176.4KHz, 192.0KHz, etc.). While it worked just great in Yosemite, what seems to occur now is a grainy/garbled sound that seems a bit like the wrong format is being played even when 44.1KHz is selected in Audio MIDI setup and a 44.1KHz file is played in iTunes or in Safari.
Replies
58
Boosts
0
Views
26k
Activity
Jun ’15
Charging Sound Missing?
Anyone else notice the sound the watch makes when placed on a charger is missing in beta 4 and 5?
Replies
8
Boosts
0
Views
3.1k
Activity
Aug ’17
Audio Unit Extensions using other audio units
I'm looking into how to package an Audio Unit consisting of several other audio units. I came up with the following solution, calling the AUAudioUnit render function explicitly from the AUInternalRenderBlock. But the audio unit doesn't seem to run, since mData inside outputData remains uninitialized after the render function has been triggered.Any suggestions?From myAudioUnit.m inheriting from AUAudioUnit:- (AUInternalRenderBlock)internalRenderBlock { return ^AUAudioUnitStatus(AudioUnitRenderActionFlags *actionFlags, const AudioTimeStamp *timestamp, AVAudioFrameCount frameCount, NSInteger outputBusNumber, AudioBufferList *outputData, const AURenderEvent *realtimeEventListHead, AURenderPullInputBlock pullInputBlock) { [_eqAudioUnit.audioUnit renderBlock](actionFlags, timestamp, frameCount, outputBusNumber, outputData, pullInputBlock); return noErr; }; }_eqAudioUnit is an instance of EQAudioUnit (ensuring that allocateRenderResources is invoked before triggering the renderBlock):publi
Replies
0
Boosts
0
Views
606
Activity
Sep ’16
system sound for remote notification.
I am displaying the list of sound , retrieved from /System/Library/Audio/UISounds.When user select any sound from the app, I send the name of sound to the server. When server send the push notification , it configure that name in push notification, Still Device play the default system sound.What do I have to do so that system play selected system sound on push notification ? ( WhatsApp is giving this feature).
Replies
0
Boosts
0
Views
465
Activity
Jun ’16
Ducking and Un-ducking Audio
So I am working on an app that requires audio files to be played intermittently and it should duck audio coming from the background...(such as music from iPod or Pandora). I understand that you need to activate your audio session, then upon completion of the audio playback, you deactivate the audio session to get the background sound to return to its normal volume. My only problem I am having is that when there is no background audio playing, and the audio session is not active, the volume buttons on the side of the phone control the ringer volume and not the app audio volume. This is a problem for me, because I would like the user to be able use the volume buttons to control the volume of the upcoming audio alerts at all times. When the volume buttons are controlling the ringer, the user has no control over the app audio / alert volume. I know of at least two fitness apps in the app store that are able to duck
Replies
0
Boosts
0
Views
1.2k
Activity
May ’17
Audio Sound to MFI Hearing Devices Broken under IOs 16
Upgrading to IOs 16 causes MFI Hearing Devices to no longer receive music or app audio to users hearing devices, e.g., Cochlear Implants. However, telephone audio and voice mail continues to be transmitted normally, just not from any other sources like music files or youtube, etc.
Replies
0
Boosts
0
Views
251
Activity
Sep ’22
Start looped audio from background?
I'm trying to do something similar to Tile.app. When it shows a notification, it plays a sound. That seems simple enough-- use UILocalNotification and include the sound file name. But local notifications limit sounds to no more than 30 seconds, and Tile's sound keeps playing for a whole lot longer than that. I expect it's looping, and it continues until I can't stand the noise any more.The sound also plays even if the phone's mute switch is on, which doesn't happen with local notifications.I thought maybe I could post a text-only local notification and have my app play the sound. But using AVAudioPlayer, the play method returns NO and the sound doesn't play.I've seen it suggested that this is by design, that apps aren't supposed to be able to play sounds from the background-- only continue sound that's already playing. I'd accept that reasoning except that Tile does it, so it's obviously possible. One suggested workaround is to l
Replies
0
Boosts
0
Views
473
Activity
May ’16
listening to the Sound while recording?
Ive got a 13 pro max, and I wonder if apple forgot that function of hearing the sound in the headsets while recording. Not just afterwards playing it, which takes time. Plus doing documentary film its not always possable to do a second simullar recording, if the sound is bad. Do anybody know what to do?
Replies
1
Boosts
0
Views
307
Activity
Apr ’22
Presenting ATT Auth pop-up under iOS 14.5
After ios 14.5 release, should lower version also present ATT Auth pop-up? (for example, iOS 14.2.. etc)
Replies
0
Boosts
0
Views
1.3k
Activity
Apr ’21