Search results for

“Popping Sound”

20,041 results found

Post

Replies

Boosts

Views

Activity

How do I pop views from inside the GameScene class?
I am a noob to swift and programming in general and i am trying to make my first app.I have made it using a navigation controller which has a root view controller (MainViewController.swift). on this view controller i have a button which pushes the game view controller on to the scene: @IBAction func moveToGame(_ sender: Any) { let gameVC = self.storyboard?.instantiateViewController(withIdentifier: gameVC) as! GameViewController navigationController?.pushViewController(gameVC, animated: true) }I have then made the GameScene class conform to the SKPhysicsContactDelegate protocol and sat up this function inside the GameScene class: func didBegin(_ contact: SKPhysicsContact) { if contact.bodyA.node?.name == asteroide || contact.bodyA.node?.name == starman { } }what i then want to do, is to move back to the first view controller when this function is called. I first tried the function:navigationController?.popViewController(animated: true)but this doesn't seem to work inside the GameScene class. (It works when i p
0
0
598
Jun ’18
How to record audio in background
How can i record an audio when the app is in background? I tried on android and its working but on IOS its only recording on the foreground Its an Expo app and am using Expo Av library I have already allowed the permissions and set the UIBackgroundModes with audio infoPlist: { ... UIBackgroundModes: [ audio ] } And in the code also await Audio.setAudioModeAsync({ allowsRecordingIOS: true, playsInSilentModeIOS: true, staysActiveInBackground:true }); but once the app is in background mode it is failing to start recording. Can anyone help me how I can fix this ?
0
0
1.1k
Sep ’23
Text Selection ToolTip Pop View
Hey, I’m still relatively new to swiftUI and was wondering if swiftUIs ToolTip feature is what I was looking for. The thing I was looking for is something similar to the both Screenshots, where some Text is selected and upon the text selection, on the users view, immediately pops up a blurred (glassy design?) view with a variety of options. These options are usually buttons and when clicking on them, the user may be directed to another view (via navigation link?) and after the user may have done something in this new view, it gets popped from the navigation link. Thus the user again sees the initial view (like on the two example screenshots) with still the same text being selected and the tooltip view being shown. If the users taps elsewhere, thus the selection should go away as usual and therefore the tooltip view as well. To sum up, is tooltip that what I’m thinking it may can do? And eventually if it’s true that this feature, if it’s the right tool, is only available to iOS 15+? Thank you for your
1
0
1.6k
Jun ’22
"Tap into" an audio stream?
I am trying to understand if the tvOS app(s) I want to make are currently possible. Happy to file feature requests if useful... I want to build a sophisticated audio processor for tvOS. This processor would not be a media player but would pick up or tap into the audio stream, do things to it, and send it on its way. Something like what the MTAudioProcessingTap Audio Processor sample code does, but intercepting the audio stream rather than playing a media asset.Based on my initial read of the controls for tvOS (focus engine, etc), I'm guessing the audio control interface would be on an iOS device, talking to the tvOS app via Bluetooth or wifi. If anyone has any architectural suggestions to investigate I'd appreciate it. I've worked a little bit with AVFoundation, but have primarily stayed higher-level for my lightweight media code.
1
0
614
Sep ’15
AVPlayer Network Audio
So I'm using AVSampleBufferDisplayLayer to display a video. I also want to have the accompanying audio with an AVPlayer. Both files come from the network. I'm having an issue with the audio, and it refuses to play because the file on the network does not have a file extension (which is a constraint I have to work with).I've solved the issue by downloading the entire audio file, writing it to the disk and then loading that into the AVPlayer, which works fine. However this creates long loading times because most of the audio files are > 15MB, so the video actually ends up loading before the audio because I'm streaming it in segments. I've tried using a combination of AVAsset and AVPlayerItem to try to solve this already. Any ideas?
0
0
507
May ’17
Popped navigation view is still being updated
I'm having a problem with old views that have been popped from the navigation stack still seems to be updated in the background even though they are not visible or on the navigation stack. I do the following: The main view is pushing a sub view on the navigation stack. The sub view becomes visible. The user uses the back arrow to go back, popping the sub view from the navigation stack. The main view is now visible. The main view updates and this seems to cause the sub view to also update, even though it shouldn't be active. The problem I have is that when the data model is being updated the sub view crashes since it's trying to access data that doesn't exist anymore. Sample code: import SwiftUI struct ContentView: View { var body: some View { TestView(items: [1, 2, 3, 4, 5]) } } struct TestView: View { @State var items: [Int] var body: some View { NavigationView { VStack { Text(Hello) List { ForEach(items, id: .self) { item in NavigationLink(destination: SubView(items: self.$items, number: i
3
0
2.8k
Jun ’20
Car audio connection
Hi All,My application mutes the sound when the screen goes to sleep when connecting with car audio and USB.Is there a way to prevent muting?The application is created with objective-c.I do not use carplay.Thanks in advance.
0
0
1.3k
Aug ’18
NO SOUND
My iPad 7th generation updated to iOS 18.3 I’m getting the loading 5 bar symbol and No sound at all . Tried hard resetting multiple time and nothing works
3
0
447
Dec ’24
No audio input using M-Audio fasttrack in Garageband
Running El Capitan 10.11.4 BetaNot getting any audio input using Fast track M Audio. Is there a solution? Basically it shows up as an Unknown Device and is not being recognized. Tried reinsalling the driver; 1.9.6 but no luck (can get a very bad audio input when using quicktime)Also tried removing ~Library/Preferences/com.apple.BezelServices.plist ; rebooted and cleared the pram; Still No luck. Need a Solution so I can get back to work writing some serious musicThanks
0
0
398
Feb ’16
Using condensed version of peek view and pop to full view
I have just implemented the peek and pop feature of 3D Touch into the table view of my app. I am using a different, more condensed view controller for the peek view, and I would like the pop to take the user to the full version of the view (in a similar style to the Instagram app).I am trying to figure out how I could do this? I can't see how I could do it in the code when I instantiate the peek, so the only thing I could think of is to segue immediately to the full view after the pop?Anyone have any ideas?This is the sort of thing I mean:http://i.stack.imgur.com/td2m8.png
1
0
452
Sep ’15
Positional audio from an SKVideoNode
My SceneKit app includes a SpriteKit scene which renders video via an SKVideoNode. The SpriteKit scene is assigned as a material on a SceneKit node, so the 3D scene has a video, along with its audio, playing in it. Very cool. Thanks Apple for such great integration between SpriteKit and SceneKit!I'm wondering if its possible to do positional audio here. Lets say the AV file offers 5.1 sound. I'd like to take the 6 audio tracks and assign them to SceneKit nodes (as 6 loudspeakers in the scene). This way, as the user rotates they'll hear the audio rotating with them.SpriteKit offers a listener node - but it only knows about 2D, rotation can't be specified for it.SceneKit offers an audioListener node, which'd be great; but I can't see a way to tell it about the audio playing via SpriteKit. I have the AVPlayer/AVPlayerItem.Any ideas on if this is possible?
1
0
624
Nov ’15
How do I pop views from inside the GameScene class?
I am a noob to swift and programming in general and i am trying to make my first app.I have made it using a navigation controller which has a root view controller (MainViewController.swift). on this view controller i have a button which pushes the game view controller on to the scene: @IBAction func moveToGame(_ sender: Any) { let gameVC = self.storyboard?.instantiateViewController(withIdentifier: gameVC) as! GameViewController navigationController?.pushViewController(gameVC, animated: true) }I have then made the GameScene class conform to the SKPhysicsContactDelegate protocol and sat up this function inside the GameScene class: func didBegin(_ contact: SKPhysicsContact) { if contact.bodyA.node?.name == asteroide || contact.bodyA.node?.name == starman { } }what i then want to do, is to move back to the first view controller when this function is called. I first tried the function:navigationController?.popViewController(animated: true)but this doesn't seem to work inside the GameScene class. (It works when i p
Replies
0
Boosts
0
Views
598
Activity
Jun ’18
list of sound classes in Sound Analysis announced in WWDC 2021
Dear all, I found the announced built-in sound classifier pretty amazing. I would appreciate it if you could point me to a link or a document that is listed all 300 sound classes mentioned in https://developer.apple.com/videos/play/wwdc2021/10036/. Thank you
Replies
2
Boosts
0
Views
2.9k
Activity
Jun ’21
How to record audio in background
How can i record an audio when the app is in background? I tried on android and its working but on IOS its only recording on the foreground Its an Expo app and am using Expo Av library I have already allowed the permissions and set the UIBackgroundModes with audio infoPlist: { ... UIBackgroundModes: [ audio ] } And in the code also await Audio.setAudioModeAsync({ allowsRecordingIOS: true, playsInSilentModeIOS: true, staysActiveInBackground:true }); but once the app is in background mode it is failing to start recording. Can anyone help me how I can fix this ?
Replies
0
Boosts
0
Views
1.1k
Activity
Sep ’23
No sound on 5S
Clean install, reset all settings but still no sounds. Ocassionally system sounds will work, but with no rhyme nor reason. Calls work fine.Anyone else seeing similar issues?
Replies
0
Boosts
0
Views
97
Activity
Oct ’15
Text Selection ToolTip Pop View
Hey, I’m still relatively new to swiftUI and was wondering if swiftUIs ToolTip feature is what I was looking for. The thing I was looking for is something similar to the both Screenshots, where some Text is selected and upon the text selection, on the users view, immediately pops up a blurred (glassy design?) view with a variety of options. These options are usually buttons and when clicking on them, the user may be directed to another view (via navigation link?) and after the user may have done something in this new view, it gets popped from the navigation link. Thus the user again sees the initial view (like on the two example screenshots) with still the same text being selected and the tooltip view being shown. If the users taps elsewhere, thus the selection should go away as usual and therefore the tooltip view as well. To sum up, is tooltip that what I’m thinking it may can do? And eventually if it’s true that this feature, if it’s the right tool, is only available to iOS 15+? Thank you for your
Replies
1
Boosts
0
Views
1.6k
Activity
Jun ’22
"Tap into" an audio stream?
I am trying to understand if the tvOS app(s) I want to make are currently possible. Happy to file feature requests if useful... I want to build a sophisticated audio processor for tvOS. This processor would not be a media player but would pick up or tap into the audio stream, do things to it, and send it on its way. Something like what the MTAudioProcessingTap Audio Processor sample code does, but intercepting the audio stream rather than playing a media asset.Based on my initial read of the controls for tvOS (focus engine, etc), I'm guessing the audio control interface would be on an iOS device, talking to the tvOS app via Bluetooth or wifi. If anyone has any architectural suggestions to investigate I'd appreciate it. I've worked a little bit with AVFoundation, but have primarily stayed higher-level for my lightweight media code.
Replies
1
Boosts
0
Views
614
Activity
Sep ’15
Bug - Bluetooth Audio Streaming Metadata Missing
Using bluetooth audio streaming in the car my display now shows iPhone instead of the album, track, and artist title information. Occassionally I can skip numerous tracks and it will pop the information for one or two of them, but if allowed to continue playing will return to iPhone on the next track.
Replies
0
Boosts
0
Views
352
Activity
Jun ’17
AVPlayer Network Audio
So I'm using AVSampleBufferDisplayLayer to display a video. I also want to have the accompanying audio with an AVPlayer. Both files come from the network. I'm having an issue with the audio, and it refuses to play because the file on the network does not have a file extension (which is a constraint I have to work with).I've solved the issue by downloading the entire audio file, writing it to the disk and then loading that into the AVPlayer, which works fine. However this creates long loading times because most of the audio files are > 15MB, so the video actually ends up loading before the audio because I'm streaming it in segments. I've tried using a combination of AVAsset and AVPlayerItem to try to solve this already. Any ideas?
Replies
0
Boosts
0
Views
507
Activity
May ’17
Popped navigation view is still being updated
I'm having a problem with old views that have been popped from the navigation stack still seems to be updated in the background even though they are not visible or on the navigation stack. I do the following: The main view is pushing a sub view on the navigation stack. The sub view becomes visible. The user uses the back arrow to go back, popping the sub view from the navigation stack. The main view is now visible. The main view updates and this seems to cause the sub view to also update, even though it shouldn't be active. The problem I have is that when the data model is being updated the sub view crashes since it's trying to access data that doesn't exist anymore. Sample code: import SwiftUI struct ContentView: View { var body: some View { TestView(items: [1, 2, 3, 4, 5]) } } struct TestView: View { @State var items: [Int] var body: some View { NavigationView { VStack { Text(Hello) List { ForEach(items, id: .self) { item in NavigationLink(destination: SubView(items: self.$items, number: i
Replies
3
Boosts
0
Views
2.8k
Activity
Jun ’20
Car audio connection
Hi All,My application mutes the sound when the screen goes to sleep when connecting with car audio and USB.Is there a way to prevent muting?The application is created with objective-c.I do not use carplay.Thanks in advance.
Replies
0
Boosts
0
Views
1.3k
Activity
Aug ’18
NO SOUND
My iPad 7th generation updated to iOS 18.3 I’m getting the loading 5 bar symbol and No sound at all . Tried hard resetting multiple time and nothing works
Replies
3
Boosts
0
Views
447
Activity
Dec ’24
Can I output sound from the widget?
I have a question about widget Steve - the widget game had sound from the Today screen, but Can I get music from the home screen? I'd like to make it so that when you slide the screen to where the widget is, the sound plays.
Replies
0
Boosts
0
Views
719
Activity
Apr ’21
No audio input using M-Audio fasttrack in Garageband
Running El Capitan 10.11.4 BetaNot getting any audio input using Fast track M Audio. Is there a solution? Basically it shows up as an Unknown Device and is not being recognized. Tried reinsalling the driver; 1.9.6 but no luck (can get a very bad audio input when using quicktime)Also tried removing ~Library/Preferences/com.apple.BezelServices.plist ; rebooted and cleared the pram; Still No luck. Need a Solution so I can get back to work writing some serious musicThanks
Replies
0
Boosts
0
Views
398
Activity
Feb ’16
Using condensed version of peek view and pop to full view
I have just implemented the peek and pop feature of 3D Touch into the table view of my app. I am using a different, more condensed view controller for the peek view, and I would like the pop to take the user to the full version of the view (in a similar style to the Instagram app).I am trying to figure out how I could do this? I can't see how I could do it in the code when I instantiate the peek, so the only thing I could think of is to segue immediately to the full view after the pop?Anyone have any ideas?This is the sort of thing I mean:http://i.stack.imgur.com/td2m8.png
Replies
1
Boosts
0
Views
452
Activity
Sep ’15
Positional audio from an SKVideoNode
My SceneKit app includes a SpriteKit scene which renders video via an SKVideoNode. The SpriteKit scene is assigned as a material on a SceneKit node, so the 3D scene has a video, along with its audio, playing in it. Very cool. Thanks Apple for such great integration between SpriteKit and SceneKit!I'm wondering if its possible to do positional audio here. Lets say the AV file offers 5.1 sound. I'd like to take the 6 audio tracks and assign them to SceneKit nodes (as 6 loudspeakers in the scene). This way, as the user rotates they'll hear the audio rotating with them.SpriteKit offers a listener node - but it only knows about 2D, rotation can't be specified for it.SceneKit offers an audioListener node, which'd be great; but I can't see a way to tell it about the audio playing via SpriteKit. I have the AVPlayer/AVPlayerItem.Any ideas on if this is possible?
Replies
1
Boosts
0
Views
624
Activity
Nov ’15