Log In  

I'm working on a tune that features a lot of quick arpeggios, so I had to sequence it with double the intended speed so I could squeeze in all the note data. This uses up sfx slots fairly quickly, which wouldn't be such a problem if sound effects past no. 32 were usable as tracks in the music editor.

In case this isn't feasible, it would be nice if the documentation at least noted this limitation. I ended up using only two channels for one of the tunes in Let's Karate, since I had already used up some of the first 32 sfx slots for game sounds.

P#10990 2015-05-29 13:25 ( Edited 2015-05-29 21:46)

you could swap the sfx at runtime. I'm going to use this as a last resort to store more music in picodancer.

P#10991 2015-05-29 14:22 ( Edited 2015-05-29 18:22)

ok, that was a bug -- fixed for 0.1.1

The update will be available quite soon, but as a workaround:

Edit the music section of the .p8 file. Each row encodes one pattern as a 2-bitfield (ignore this) followed by the 4 sfx indexes written as 2-digit hexedecimal. Values 0x40 or greater (64 in decimal), means the channel is muted. So, to use sfx's with decimal indexes of 32,[33],34 and 42: (with 33 muted)

00 2061222a

P#10998 2015-05-29 17:10 ( Edited 2015-05-29 21:13)

That's wonderful to hear! I'm slowly warming up to the music editor, so I'll be glad to have the extra space.

P#11000 2015-05-29 17:46 ( Edited 2015-05-29 21:46)

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-03-29 10:03:52 | 0.005s | Q:11