Search results for

“Popping Sound”

20,151 results found

Post

Replies

Boosts

Views

Activity

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
Play sound on watchOS 3
Does anybody got any luck playing sound on Apple Watch? I have tried since watchOS 2 and never get to work. In watchOS 3 documentation (https://developer.apple.com/library/prerelease/content/documentation/General/Conceptual/WatchKitProgrammingGuide/AudioandVideo.html#//apple_ref/doc/uid/TP40014969-CH24-SW19), it says:Any audio you play is routed to a paired Bluetooth headset if one is available. If no Bluetooth headset is available, audio is routed to the Apple Watch speaker.Here's my code - instead of hearing the sound, the UI hung. I have placed the sound asset ShipHit.m4a in both Watch App and Watch Extension for testing purpose. let url = NSURL.fileURL(withPath: Bundle.main().pathForResource(ShipHit, ofType: m4a)!) let asset = WKAudioFileAsset(url: url) let playerItem = WKAudioFilePlayerItem(asset: asset) soundPlayer = WKAudioFilePlayer(playerItem: playerItem) ... if soundPlayer.status == .readyToPlay { soundPlayer.play() }
7
0
7.5k
Jun ’16
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
754
Mar ’16
Use of Graphics and audio in playground
I'm using few images and audio in my playground/playgroundbook which is from a famous TV show. I'm not sure if there's any copyright infringement against use of those images/audio. The swift student challenge guidelines state that, any public domain images and/or audio files can be used with rightful credits and and a brief explanation. So, is it safe/sufficient if I give the credits and explanation, or should I consider replacing those assets ? Thanks in advance.
1
0
901
Apr ’21
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
465
Apr ’23
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
in app purchase audio files
We selling pre-record attraction audio guide through our app, when we first submit for review we have been told that because the audio files would be use on the cunsumers' device therefore it classified as service on the apple platform we can not direct the payment process to third party, the payment has to be make through Apple. but recently we have just fund out that one of the app has very similar functions but they can sell their audio files through wechat payment system. can anyone tell me why is this?The App is can be fund through the link below:https://itunes.apple.com/cv/app/yu-yin-dao-you-dao-ting-tu-shuo/id1035532946?mt=8there first audio always free all others are chargeable.
0
0
178
Jan ’17
Airplay audio drops in tvOS
There has been a bug affecting music streaming from iTunes to AppleTV that started with tvOS 13 and has persisted in each release, including the most recent beta (13.4.5 17L5543d). It seems to primarily affect those streaming music from a PC using iTunes for Windows. A detailed description of the behavior can be found below. If anyone has any suggestions, they would be appreciated.When playing music via iTunes to an AppleTV running tvOS 13 or higher, audio on the AppleTV drops out frequently during song playback. Audio drops about 20 seconds into the track and returns with about 10 seconds remaining before the end of the track. Sound continues playing on unaffected Airplay devices without interruption. It occurs every 1 to 5 songs and seems to be random. It is not track specific (ie it can happen to a specific song, but later that same song can complete without an audio drop). After the sound has dropped, deselecting the affected AppleTV as an audio destin
3
0
1.8k
Apr ’20
Strange Behavior of UITabBarController selectedIndex and UINavigationController pop
UITabBarController | | VC_Tab1 --------------------------- VC_Tab2 | | | | VC_Tab1_Child VC_Tab2_Child | (HeaderView) | (MyButton) The structure of the view controllers and views in the project is as described above. self.navigationController?.popToRootViewController(animated: false) tabBarController.selectedIndex = 1 When popToRootViewController(animated: false) is called in VC_Tab1_Child, followed by setting the tab controller’s selectedIndex = 1, the following results are observed: viewWillAppear(_:), deinit, viewDidAppear(_:), The originally expected results are as follows viewWillDisappear(_:), viewDidDisappear(_:), deinit, deinit, deinit, headerView.backButton.rx.tap -> Event completed headerView.backButton.rx.tap -> isDisposed viewWillAppear(_:), viewDidAppear(_:), The HeaderView belonging to VC_Tab1_Child was not deallocated, and the resources associated with that view were also not released. Similarly, VC_Tab1_Child.viewWillDisappear and VC_Tab1_Child.didDisappear were not called. s
0
0
328
Dec ’24
Audio Unit v3 UI
I've written an audio unit which I've been testing by loading it in the application from the sample code (https://developer.apple.com/library/content/samplecode/AudioUnitV3Example/Introduction/Intro.html).The good part All audio processing works as expected.The problem The audio unit extention's view doesn't show. The extension is registered as having a UI, by the NSExtensionPointIdentifier property being set to com.apple.AudioUnit-UI, and the sample code host will open the custom view pane, but the UI is simply blank.The frustration As said, the audio is being processed, but the UI doesn't appear. And to make matters worse; there is no errors reported, so it's difficult to troubleshoot.The question Why? — What is wrong, since the audio unit won't show its UI?There seems to be some discrepancies in the documentation as to why this could be happening.One place states that it's all about the plist, opting in or out for UI:The name of the main storyboard file for the
4
0
2.0k
Apr ’17
Safari Audio player doesn't play next track of the audio playlist when iPhone screen locked
I am using iPhone 8 Plus, IOS version 15.4.1, browser is Safari I played an audio in an audio playlist, when the audio is end it will automatically play the next track of the audio playlist. It will work fine if iPhone screen is not locked. But when the screen is locked, the audio will not play next track. Here is an example link: http://relaxinglive.com/album.php?id=1 Open this link, choose a song. Wait to the end of audio, if the screen is locked then the audio player will not play next track. Note: The issue only happens in my iPhone, It doesn't happen on my MacBook. The issue happen when my iPhone update version to 15.4.1 (the issue doesn't happen before) Is it possible to make the browser play next audio track when screen locked?
0
0
1.5k
May ’22
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
318
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
980
Dec ’21
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
Play sound on watchOS 3
Does anybody got any luck playing sound on Apple Watch? I have tried since watchOS 2 and never get to work. In watchOS 3 documentation (https://developer.apple.com/library/prerelease/content/documentation/General/Conceptual/WatchKitProgrammingGuide/AudioandVideo.html#//apple_ref/doc/uid/TP40014969-CH24-SW19), it says:Any audio you play is routed to a paired Bluetooth headset if one is available. If no Bluetooth headset is available, audio is routed to the Apple Watch speaker.Here's my code - instead of hearing the sound, the UI hung. I have placed the sound asset ShipHit.m4a in both Watch App and Watch Extension for testing purpose. let url = NSURL.fileURL(withPath: Bundle.main().pathForResource(ShipHit, ofType: m4a)!) let asset = WKAudioFileAsset(url: url) let playerItem = WKAudioFilePlayerItem(asset: asset) soundPlayer = WKAudioFilePlayer(playerItem: playerItem) ... if soundPlayer.status == .readyToPlay { soundPlayer.play() }
Replies
7
Boosts
0
Views
7.5k
Activity
Jun ’16
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
754
Activity
Mar ’16
Use of Graphics and audio in playground
I'm using few images and audio in my playground/playgroundbook which is from a famous TV show. I'm not sure if there's any copyright infringement against use of those images/audio. The swift student challenge guidelines state that, any public domain images and/or audio files can be used with rightful credits and and a brief explanation. So, is it safe/sufficient if I give the credits and explanation, or should I consider replacing those assets ? Thanks in advance.
Replies
1
Boosts
0
Views
901
Activity
Apr ’21
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
465
Activity
Apr ’23
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 can 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…. 🤩
Replies
1
Boosts
0
Views
624
Activity
Mar ’22
in app purchase audio files
We selling pre-record attraction audio guide through our app, when we first submit for review we have been told that because the audio files would be use on the cunsumers' device therefore it classified as service on the apple platform we can not direct the payment process to third party, the payment has to be make through Apple. but recently we have just fund out that one of the app has very similar functions but they can sell their audio files through wechat payment system. can anyone tell me why is this?The App is can be fund through the link below:https://itunes.apple.com/cv/app/yu-yin-dao-you-dao-ting-tu-shuo/id1035532946?mt=8there first audio always free all others are chargeable.
Replies
0
Boosts
0
Views
178
Activity
Jan ’17
Airplay audio drops in tvOS
There has been a bug affecting music streaming from iTunes to AppleTV that started with tvOS 13 and has persisted in each release, including the most recent beta (13.4.5 17L5543d). It seems to primarily affect those streaming music from a PC using iTunes for Windows. A detailed description of the behavior can be found below. If anyone has any suggestions, they would be appreciated.When playing music via iTunes to an AppleTV running tvOS 13 or higher, audio on the AppleTV drops out frequently during song playback. Audio drops about 20 seconds into the track and returns with about 10 seconds remaining before the end of the track. Sound continues playing on unaffected Airplay devices without interruption. It occurs every 1 to 5 songs and seems to be random. It is not track specific (ie it can happen to a specific song, but later that same song can complete without an audio drop). After the sound has dropped, deselecting the affected AppleTV as an audio destin
Replies
3
Boosts
0
Views
1.8k
Activity
Apr ’20
Strange Behavior of UITabBarController selectedIndex and UINavigationController pop
UITabBarController | | VC_Tab1 --------------------------- VC_Tab2 | | | | VC_Tab1_Child VC_Tab2_Child | (HeaderView) | (MyButton) The structure of the view controllers and views in the project is as described above. self.navigationController?.popToRootViewController(animated: false) tabBarController.selectedIndex = 1 When popToRootViewController(animated: false) is called in VC_Tab1_Child, followed by setting the tab controller’s selectedIndex = 1, the following results are observed: viewWillAppear(_:), deinit, viewDidAppear(_:), The originally expected results are as follows viewWillDisappear(_:), viewDidDisappear(_:), deinit, deinit, deinit, headerView.backButton.rx.tap -> Event completed headerView.backButton.rx.tap -> isDisposed viewWillAppear(_:), viewDidAppear(_:), The HeaderView belonging to VC_Tab1_Child was not deallocated, and the resources associated with that view were also not released. Similarly, VC_Tab1_Child.viewWillDisappear and VC_Tab1_Child.didDisappear were not called. s
Replies
0
Boosts
0
Views
328
Activity
Dec ’24
Audio Unit v3 UI
I've written an audio unit which I've been testing by loading it in the application from the sample code (https://developer.apple.com/library/content/samplecode/AudioUnitV3Example/Introduction/Intro.html).The good part All audio processing works as expected.The problem The audio unit extention's view doesn't show. The extension is registered as having a UI, by the NSExtensionPointIdentifier property being set to com.apple.AudioUnit-UI, and the sample code host will open the custom view pane, but the UI is simply blank.The frustration As said, the audio is being processed, but the UI doesn't appear. And to make matters worse; there is no errors reported, so it's difficult to troubleshoot.The question Why? — What is wrong, since the audio unit won't show its UI?There seems to be some discrepancies in the documentation as to why this could be happening.One place states that it's all about the plist, opting in or out for UI:The name of the main storyboard file for the
Replies
4
Boosts
0
Views
2.0k
Activity
Apr ’17
Safari Audio player doesn't play next track of the audio playlist when iPhone screen locked
I am using iPhone 8 Plus, IOS version 15.4.1, browser is Safari I played an audio in an audio playlist, when the audio is end it will automatically play the next track of the audio playlist. It will work fine if iPhone screen is not locked. But when the screen is locked, the audio will not play next track. Here is an example link: http://relaxinglive.com/album.php?id=1 Open this link, choose a song. Wait to the end of audio, if the screen is locked then the audio player will not play next track. Note: The issue only happens in my iPhone, It doesn't happen on my MacBook. The issue happen when my iPhone update version to 15.4.1 (the issue doesn't happen before) Is it possible to make the browser play next audio track when screen locked?
Replies
0
Boosts
0
Views
1.5k
Activity
May ’22
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
318
Activity
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.
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
980
Activity
Dec ’21