Not sure if this is intentional or not, but I figured I should make a report just in case.
The SFX editor allows for up to 384 SFX to be defined. However, to me there seem to currently be some limits.
- Code can only invoke the first 64 SFX. This seems to be intentional, judging from the user manual.
- Patterns are limited to the first 256 SFX. This does not match the max number of SFX that can be defined.
I therefore have 2 questions.
- Is it intentional that patterns are limited to the lower 256 SFX?
- Is there a way to access SFX beyond 256? I do not expect an exact answer to this question, the answer is probably yes.



Actually, looking at the code for the tracker, the documentation is straight up wrong for the layout of patterns.
Pattern is actually currently laid out as follows:
track (I8 * 8) flow (U8) track_mask (U8) |
The wonders of alpha software!
So I guess I answered my own question. Right now we are limited to using only the first 256 sfx in music.
When I decided to plunge even further into the tracker source code, I also found another error in the manual. It claims that sfx() is limited to the first 64 SFX, but in fact any SFX can be played, including the SFX above 256.
So yeah, might want to update the manual.
[Please log in to post a comment]