Messing with effects col stuff.

This commit is contained in:
2018-08-15 05:16:27 +10:00
parent d887a2a2e9
commit e32942b7be

View File

@@ -32,8 +32,12 @@ with open("out.mod", "wb") as fo:
for i in range(0, 1): for i in range(0, 1):
for r in range(0,64): for r in range(0,64):
for c in range(0, 4): for c in range(0, 4):
period = 214 etype = 1
effect = 0 evall = 32
evalh = evall >> 4
period = 202
effect = (evall & 0xF) | ((evalh & 0xF) * 16) | ((etype & 0xF) * 256)
sample = 1 sample = 1
div0 = (period & 0xFFF) | ((sample & 0xF0) * 256) div0 = (period & 0xFFF) | ((sample & 0xF0) * 256)