# Sound Problems

**URL:** <https://forum.kirupa.com/t/sound-problems/234427>\
**Category:** Uncategorized\
**Created:** [August 2, 2007, 3:56am UTC](https://forum.kirupa.com/t/sound-problems/234427 "2007-08-02T03:56:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![underworldling](https://avatars.discourse-cdn.com/v4/letter/u/f04885/32.png) [@underworldling](https://forum.kirupa.com/u/underworldling)\
**Post date:** [August 2, 2007, 3:56am UTC](https://forum.kirupa.com/t/sound-problems/234427/1 "2007-08-02T03:56:52Z")

</div>

It seems that there is some kind of limit to how many sounds can be played at once (or maybe a limit to instances of one sound). Is this true? Here is my code, maybe there is some other problem with it. It plays about 8 notes then just stops and won’t play anymore.

```auto
onClipEvent(enterFrame){
    if(_root.axiom[t]=='e'){
        this['note'+t]=new Sound();
        this['note'+t].attachSound('enote');
        this['note'+t].start();
    } else if(_root.axiom[t]=='g'){
        this['note'+t]=new Sound();
        this['note'+t].attachSound('gnote');
        this['note'+t].start();
    } else if(_root.axiom[t]=='a'){
        this['note'+t]=new Sound();
        this['note'+t].attachSound('anote');
        this['note'+t].start();
    } else if(_root.axiom[t]=='b'){
        this['note'+t]=new Sound();
        this['note'+t].attachSound('bnote');
        this['note'+t].start();
    } else if(_root.axiom[t]=='c'){
        this['note'+t]=new Sound();
        this['note'+t].attachSound('cnote');
        this['note'+t].start();
    } else if(_root.axiom[t]=='d'){
        this['note'+t]=new Sound();
        this['note'+t].attachSound('dnote');
        this['note'+t].start();
    }
    t++;
}

```

I have defined t, all of the notes, and axiom so thats not the problem.  
if anyone can help it would be greatly appreciated.
