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.
you could swap the sfx at runtime. I'm going to use this as a last resort to store more music in picodancer.
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
That's wonderful to hear! I'm slowly warming up to the music editor, so I'll be glad to have the extra space.
[Please log in to post a comment]