Search results for

Popping Sound

19,349 results found

Post

Replies

Boosts

Views

Activity

Reply to How to import audio for an object for a game
Okay I'm stuck on a part with the code like you know how splashy fish and flappy bird make the game over sound when you die and the sound when you tap it the bird makes a sound I'm trying to do something like that, but I can't figure out how I'm stuck trying to make it where when you crash it makes a crash noise and game over and I'm also trying to get it to where you can tap it and it makes a noise when you tap I have the audio I just don't know how to input it.import SpriteKitclass GameScene: SKScene, SKPhysicsContactDelegate { var score = 0 var scoreLabel = SKLabelNode() var gameOverLabel = SKLabelNode() var goat = SKSpriteNode() var nite = SKSpriteNode() var labelHolder = SKSpriteNode() let goatGroup:UInt32 = 1 let objectGroup:UInt32 = 2 let gapGroup:UInt32 = 0 << 3 let playPopAction = SKAction.playSoundFileNamed(Powerup.mp3, waitForCompletion: false) var gameOver = 0 var movingObjects = SKNode() override func didMoveToView(view: SKView) { self.physicsWorld.contac
Topic: Programming Languages SubTopic: Swift Tags:
Jun ’15
sound effect
HiThere are a couple of integrated system sounds -- is it possible to access to those for playback in an own watchkit 1 app?I know in watchos 2 this will become possible, but what about 1?ThanksMarco
0
0
243
Jun ’15
Reply to Is this a generics bug or feature?
This isn't about runtime type information. If Swift properly performed generic specialization it could make the correct call with static type information. This is essential to a sane generics implementation IMO. It should be guaranteed by the semantics of the language so we can rely on it. I have to wonder if this code would behave differently when compiled under optimization if the optimizer chose to specialize the calls to baz on lines 22 and 23. If it does we have optimizer-dependent behavior which seems really bad. If it doesn't we have generic specialization that is really crippled.While I am really excited about Swift, love to see Apple doing it, and know the team is working really hard to improve it rapidly, I have to say this kind of issue seems to pop up in many corners of the language and really drive me nuts!
Topic: Programming Languages SubTopic: Swift Tags:
Jun ’15
El Capitan Beta 2 introduces clicks and pops to audio when using external DAC
After installing the latest beta release of El Capitan, I discovered loud clicks and pops when listening to any kind of audio (iTunes, YouTube videos, etc.) through my DragonFly external DAC. I reconnected audio to my Mac Mini's headphone jack and the clicks and pops disappeared, then reconnected the DAC and they returned, so I am assuming the speakers, and cables are not causing the problem. I also switched in a different DragonFly DAC I use for my laptop and got the same pops and clicks, so it does not appear that I have a faulty DAC, but that the problem exists within the beta's audio itself.
1
0
565
Jun ’15
Reply to App Store Updates Tab Frozen
Running El Capitan Beta 1. Went to App Store to update to Beta 2. Shows updates available. Go to Updates Tab, then within a few seconds, it starts spinning circle checking for updates. The Beta 2 had shown since I went to the update tab. From that point it was spinning and effectively frozen. I did see in Activity Monitor softwareupdated taking up all the CPU so killed it. While it may help to log out and log back into the App Store, you may also have trouble even doing this if the App Store is not responsive. What helped a bit was to boot into recovery mode (Command +R) on reboot and Run Disk First Aid from Disk Utility.Anyway, here's what didn't work:Selecting the Update button next to El Capitan Beta 2.Here's what worked:Selecting the Update All button from the top of the Update screen above the list of updates. But, after I selected Update All, nothing happened as far as I could see. When I went to Force Quit the App Store because it appeared unresponsive, it asked if I wanted to continue in progress down
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Reply to Is it true, no OpenAL in iOS9?
We are talking about pre-release stuff here and things can change of course but from everything I'm currently aware of OpenAL is not going anywhere just yet and I'm not sure why it's listed as Removed.We have officially stated that AVAudioEngine is our recommended API for spatial audio (see AVAudioEngine In Practice http://developer.apple.com/videos/wwdc/2014/#502) but it does take more than a year for the older API to disappear. You would generally see it marked as Deprecated first in an SDK giving a big hint of the future (and plenty of development time) before any type of removal happens.Glad to hear you've already been doing some porting and I think your Christmas is saved.
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Reply to updateApplicationContext -- what can be passed and how?
Thanks--though as Viking points out, sounds like it's not the most compact way to go. I guess my hack was the proper workaround for the issue, as I pass only the exact data I want/need. The bigger problem, honestly, was the lack of error messages: everything appeared to be working just fine, only nothing was being passed. I guess with more time and documentation it'll be easier to understand.
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Connecting a Sent Event to an Object
I am a new developer and im following a guide which asks me to create a method, and then attatch it to an object in the storyboard. I have correctly created the method in viewcontroller.m and viewcontroller.h, but the option to connect the two doesnt show. The guide is quite old and im wondering if the method of doing this has changed in the latest version of xcode? I have correctly created the method in viewcontroller.m and viewcontroller.hIn the guide, it says to:With the cursor over the “Tap Me” button, hold down the Controlkey, then click and drag to anywhere in the green background. You will see a blue line connecting the button to wherever you drag your cursor...When you release the mouse or trackpad button, a little window will pop up. Hey, cool — there’s thebuttonPressed method that was created earlier!Source (about half way down the page):http://www.raywenderlich.com/25561/learn-to-code-ios-apps-3-your-first-appSome help would be much appreciated! (sorry if any of the terms i have used are i
1
0
532
Jun ’15