I keep forgetting this isn't C, also readme.md
This commit is contained in:
@@ -32,9 +32,9 @@ 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;
|
period = 214
|
||||||
effect = 0;
|
effect = 0
|
||||||
sample = 1;
|
sample = 1
|
||||||
|
|
||||||
div0 = (period & 0xFFF) | ((sample & 0xF0) * 256)
|
div0 = (period & 0xFFF) | ((sample & 0xF0) * 256)
|
||||||
div1 = (effect & 0xFFF) | ((sample & 0xF) * 4096)
|
div1 = (effect & 0xFFF) | ((sample & 0xF) * 4096)
|
||||||
|
|||||||
Reference in New Issue
Block a user