Search results for

Popping Sound

19,600 results found

Post

Replies

Boosts

Views

Activity

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
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
496
May ’17
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
586
Jun ’18
"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
593
Sep ’15
NavigationStack does not pop back if NavigationLink disappears
Imagine a SwiftUI View having an @ObservedObject var someObject that can update anytime in the background (for example via network connection) and showing a NavigationLink based on some condition of it: if someObject.someCondition { NavigationLink(destination: { DetailView() }, label: { ... }) } If you now tapped the NavigationLink, DetailView will be pushed on the current NavigationView. Now if afterwards someCondition would change to false, DetailView would be popped off again, since the Link to the View would not exist anymore: This was always the behaviour of NavigationViews with .navigationViewStyle(.stack) set since I use them. navigationViewStyle is deprecated now, but by using NavigationStack I don't get this behaviour anymore. The DetailView would stay on the Stack, even if the NavigationLink would not exist anymore at all. Is there a way to reproduce this old behavior again?
0
0
689
Apr ’23
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
410
Dec ’24
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
615
Nov ’15
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
388
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
440
Sep ’15