Pico-8 API Documentation
Audio
Audio

Audio manipulation
| function | description |
|---|---|
music([n, [fade_len, [channel_mask]]]) | Play music |
sfx(n, [channel, [offset]]) | Play sfx |
music()
Play music
music([n, [fade_len, [channel_mask]]])| parameter | description |
|---|---|
n = -1 | stop |
sfx()
Play sfx
sfx(n, [channel, [offset]])| parameter | description |
|---|---|
n = -1 | stop in channel |
n = -2 | release loop in channel |