### Navigation

- index
- modules |
- next |
- previous |
- cocos »
- cocos package »
- cocos.audio package »

# cocos.audio.effect module

class `Effect`(filename)

  Bases: `object`

  Effects are sounds effect loaded in memory

  Example

      shot = Effect('bullet.wav')
      shot.play() # Play right now
      sprite.do(shot.action)

  `play`()

### Navigation

- index
- modules |
- next |
- previous |
- cocos »
- cocos package »
- cocos.audio package »