MOLECULAR MUSIC BOX
@SIMONKIRBY

1

L 8 39: PN 0 I -1
L 8 39: PN 1 I -1
L 8 39: PN 2 I -1
L 8 39: PN 3 I -1
L 40 56: PN 0 I 0
L 40 56: PN 1 I 0

2

P.N 1
IF NE -1 P A: CV 2 N P A
IF NE -1 P A: TR.P 2

3

P.N 2
IF NE -1 P A: CV 3 N P A
IF NE -1 P A: TR.P 3

4

P.N 3
IF NE -1 P A: CV 4 N P A
IF NE -1 P A: TR.P 4
A WRAP + 1 A 8 + 7 PN 3 0

5

P.N 0
IF NE -1 P A: CV 1 N P A
IF NE -1 P A: TR.P 1
$ 2
$ 3
$ 4

6

IF < A 24: Y PN 0 + 32 A
ELSE: Y PN 1 + 16 A
IF NZ Y: PN.NEXT 2
$ 7
IF < A 24: PN 0 + 32 A Y
ELSE: PN 1 + 16 A Y

7

X PN.NEXT 0
IF EZ PN.I 0: PN.NEXT 1
X + X PN 1 PN.I 1
C + C PN 2 PN.I 2
PN Y A X; Y % + 1 Y 4

8

IF EQ T C: $ 6
$ 5
T + 1 T
PN.L 0 PN 3 1; PN.L 1 PN 3 2
PN.L 2 PN 3 3

M

$ 8

I

A 8; T 0; C 0
PN.I 0 0
PN.I 1 0
PN.I 2 0
$ 1

P

7 4 2 4
1 1 1 1
0 0 0 0
63 63 63 63

0 0 4 16
2 12 3 7
3 24 0 4
5 36 0 2
7 0 0 0
9 0 0 0
10 0 0 0
0 0 0 0
-1 -1 -1 -1
-1 -1 -1 -1
-1 -1 -1 -1
-1 -1 -1 -1
-1 -1 -1 -1
-1 -1 -1 -1
-1 -1 -1 -1
-1 -1 -1 -1
-1 -1 -1 -1
-1 -1 -1 -1
-1 -1 -1 -1
-1 -1 -1 -1
-1 -1 -1 -1
-1 -1 -1 -1
-1 -1 -1 -1
-1 -1 -1 -1
-1 -1 -1 -1
-1 -1 -1 -1
-1 -1 -1 -1
-1 -1 -1 -1
-1 -1 -1 -1
-1 -1 -1 -1
-1 -1 -1 -1
-1 -1 -1 -1
-1 -1 -1 -1
-1 -1 -1 -1
-1 -1 -1 -1
-1 -1 -1 -1
-1 -1 -1 -1
-1 -1 -1 -1
-1 -1 -1 -1
-1 -1 -1 -1
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0

G

0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000

0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Molecular Music Box by Simon Kirbi http…

MLR2

4 TRACK MLR SEQUENCER
CLOCK TO TRIGGER 1
RESET TO TRIGGER 8
4 LOWER ROWS ARE DIVIDERS

1

L 0 3: A I; SCRIPT 3

2

Y / G.BTNI 16; X % G.BTNI 16
IF G.BTNV: PN 0 Y % + X 15 16
Z + Y 8
IF NE PN 3 Z -1: SCRIPT 6
IF G.BTNV: PN 3 + Y 8 X
ELSE: PN 3 + Y 8 -1

3

PN 2 A + G.BTN.V + A 64 PN 2 A
IF LT PN 2 A PN 1 A: BREAK
PN 2 A 0
B + A 4; T + 1 PN 0 A
PN 0 A WRAP T PN 3 A PN 3 B
SCRIPT 5

4

I % PN 2 G.FDRI + 1 G.FDRN
PN 2 G.FDRI I
PN 1 G.FDRI + 1 G.FDRN

5

T - + 1 PN 3 B PN 3 A; I 4
IF EQ T 16: I 0
G.REC 0 A 16 1 0 0
G.REC PN 3 A A T 1 I I
G.LED PN 0 A A 15
CV + 1 A N PN 0 A

6

I MIN X PN 3 Z
IF G.BTNV: PN 3 Y I
I MAX X PN 3 Z
IF G.BTNV: PN 3 + Y 4 I

7

8

L 0 3: PN 0 I 15

M

SCRIPT 1
L 1 4: TR.P I

I

G.BTX 0 0 0 1 1 0 0 2 16 4
L 0 3: PN 1 I 1
G.FDX 0 0 4 8 1 0 2 4 1 4
L 0 3: PN 3 I 0; PN + I 8 -1
L 4 7: PN 3 I 15
G.BTX 64 15 4 1 1 1 2 0 1 4

P

0 4 0 3
1 1 1 1
0 0 0 0
63 63 63 63

5 1 0 4
11 3 0 10
3 2 0 2
4 4 2 2
0 0 0 8
0 0 0 12
0 0 0 8
0 0 0 8
0 0 0 -1
0 0 0 -1
0 0 0 -1
0 0 0 -1
0 0 0 -1
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0

G

0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000011110000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000

0 2 1 3 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0