It seems there is a limit of 255 layers in a wavetable slot, is this correct ?
at least if i add one more, buzz crashes when loading the bmx.
if i load 270 or so, the wavetable gets truncated to only 40 layers or so.
can i assume that my machine will only have to deal with 255 layers per slot ?
and we probably should enforce this limit in the wavetable gui, since now you can easily load 500 layers into a slot, only to discover that the wavetable is trash after you save and reopen the bmx.
attached is the bmx with exactly 256 layers in slot 0, which crashes buzz on load.
Limit on WaveLevels in WaveSlot, is it 255 ?
Limit on WaveLevels in WaveSlot, is it 255 ?
- Attachments
-
- lotsoflayers4.rar
- (11.45 MiB) Downloaded 426 times
Re: Limit on WaveLevels in WaveSlot, is it 255 ?
Yes, looks like it's saved as a byte in .bmx.
Re: Limit on WaveLevels in WaveSlot, is it 255 ?
ok hm, but it looks like it crashes with 256 layers (0-255), shouldnt 256 work (and 257 not).
i'll have to test it again, but looks like an off-by-one-bug maybe?
we should enforce it in the wavetable gui that you can't load more than 255(256?) because it looks that .bmx get corrupted now if you load more.
i'll have to test it again, but looks like an off-by-one-bug maybe?
we should enforce it in the wavetable gui that you can't load more than 255(256?) because it looks that .bmx get corrupted now if you load more.
Re: Limit on WaveLevels in WaveSlot, is it 255 ?
(byte)256 == 0 (number of layers in the file)
it should be checked in the gui of course.
it should be checked in the gui of course.