# Sound kills performance

**URL:** <https://forum.kirupa.com/t/sound-kills-performance/303534>\
**Category:** programming\
**Created:** [January 21, 2010, 6:45pm UTC](https://forum.kirupa.com/t/sound-kills-performance/303534 "2010-01-21T18:45:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![AndyZ](https://avatars.discourse-cdn.com/v4/letter/a/8dc957/32.png) [@AndyZ](https://forum.kirupa.com/u/AndyZ)\
**Post date:** [January 21, 2010, 6:45pm UTC](https://forum.kirupa.com/t/sound-kills-performance/303534/1 "2010-01-21T18:45:39Z")

</div>

Searching the forums I found one thread about how just calling sound.play() can be a very expensive call - the response was about increasing bit rate on export.  
But I am developing purely in actionscript and FlexBuilder so I looked for other solutions. Here is one pitfall to look out for: [http://www.ghostwire.com/blog/archives/as3-fixing-the-lag-that-arises-when-playing-a-short-sound-effect/](http://www.ghostwire.com/blog/archives/as3-fixing-the-lag-that-arises-when-playing-a-short-sound-effect/)

But even after this I found my game’s frame rate could jump around quite a bit with sounds playing so if anyone has more tips for optimizing sound playback in games please post.  
thanx
