mirror of
https://github.com/vsariola/sointu.git
synced 2025-05-28 03:10:24 -04:00
The preprocessing is done sointu-cli and (almost) nothing is done by the NASM preprocessor anymore (some .strucs are still there. Now, sointu-cli loads the .yml song, defines bunch of macros (go functions / variables) and passes the struct to text/template parses. This a lot more powerful way to generate .asm code than trying to fight with the nasm preprocessor. At the moment, tests pass but the repository is a bit of monster, as the library is still compiled using the old approach. Go should generate the library also from the templates.
30 lines
1.2 KiB
YAML
30 lines
1.2 KiB
YAML
bpm: 100
|
|
output16bit: false
|
|
hold: 1
|
|
patterns: [[80, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0]]
|
|
tracks:
|
|
- numvoices: 1
|
|
sequence: [0]
|
|
patch:
|
|
instruments:
|
|
- numvoices: 1
|
|
units:
|
|
- type: envelope
|
|
parameters: {attack: 80, decay: 80, gain: 128, release: 80, stereo: 0, sustain: 64}
|
|
- type: oscillator
|
|
parameters: {color: 128, detune: 64, gain: 128, lfo: 0, phase: 0, shape: 64, stereo: 0, transpose: 64, type: 1, unison: 0}
|
|
- type: mulp
|
|
parameters: {stereo: 0}
|
|
- type: delay
|
|
parameters: {count: 1, damp: 64, delay: 0, dry: 128, feedback: 0, notetracking: 0, pregain: 40, stereo: 0}
|
|
- type: pan
|
|
parameters: {panning: 64, stereo: 0}
|
|
- type: out
|
|
parameters: {gain: 128, stereo: 1}
|
|
- type: oscillator
|
|
parameters: {color: 128, detune: 64, gain: 128, lfo: 1, phase: 64, shape: 64, stereo: 0, transpose: 50, type: 0, unison: 0}
|
|
- type: send
|
|
parameters: {amount: 65, port: 4, sendpop: 1, stereo: 0, unit: 3, voice: 0}
|
|
delaytimes: [1000]
|
|
sampleoffsets: []
|