mirror of
https://github.com/vsariola/sointu.git
synced 2025-07-19 05:24:48 -04:00
feat(sointu): make patterns local to track
The global pattern table is constructed only during compilation. At this point, we can do also all sorts of optimizations / changes e.g. remove unnecessary releases and reuse patterns if there's a pattern already that could be used.
This commit is contained in:
@ -1,12 +1,13 @@
|
||||
bpm: 100
|
||||
output16bit: false
|
||||
hold: 1
|
||||
patterns: [[64, 0, 64, 64, 64, 0, 64, 64, 64, 0, 64, 64, 65, 0, 65, 65], [64, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [81, 0, 52, 0, 81, 0, 52, 0, 81, 0, 52, 0, 81, 0, 52, 0]]
|
||||
tracks:
|
||||
- numvoices: 1
|
||||
sequence: [0, 0]
|
||||
patterns: [[64, 0, 64, 64, 64, 0, 64, 64, 64, 0, 64, 64, 65, 0, 65, 65]]
|
||||
- numvoices: 1
|
||||
sequence: [1, 2]
|
||||
sequence: [0, 1]
|
||||
patterns: [[64, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [81, 0, 52, 0, 81, 0, 52, 0, 81, 0, 52, 0, 81, 0, 52, 0]]
|
||||
patch:
|
||||
instruments:
|
||||
- numvoices: 1
|
||||
|
Reference in New Issue
Block a user