mirror of
https://github.com/vsariola/sointu.git
synced 2025-07-23 23:44:42 -04:00
feat(sointu, tracker,...): restructure domain & tracker models
send targets are now by ID and Song has "Score" part, which is the notes for it. also, moved the model part separate of the actual gioui dependend stuff. sorry to my future self about the code bomb; ended up too far and did not find an easy way to rewrite the history to make the steps smaller, so in the end, just squashed everything.
This commit is contained in:
@ -1,54 +1,56 @@
|
||||
bpm: 100
|
||||
rowsperpattern: 16
|
||||
rowsperbeat: 4
|
||||
tracks:
|
||||
- numvoices: 1
|
||||
sequence: [0]
|
||||
patterns: [[64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 65, 65, 65, 65]]
|
||||
- numvoices: 1
|
||||
sequence: [0]
|
||||
patterns: [[76, 0, 0, 0, 0, 0, 0, 0, 76, 0, 0, 0, 0, 0, 0, 0]]
|
||||
score:
|
||||
rowsperpattern: 16
|
||||
length: 1
|
||||
tracks:
|
||||
- numvoices: 1
|
||||
order: [0]
|
||||
patterns: [[64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 65, 65, 65, 65]]
|
||||
- numvoices: 1
|
||||
order: [0]
|
||||
patterns: [[76, 0, 0, 0, 0, 0, 0, 0, 76, 0, 0, 0, 0, 0, 0, 0]]
|
||||
patch:
|
||||
instruments:
|
||||
- numvoices: 1
|
||||
units:
|
||||
- type: envelope
|
||||
parameters: {attack: 64, decay: 64, gain: 16, release: 64, stereo: 0, sustain: 64}
|
||||
- type: envelope
|
||||
parameters: {attack: 64, decay: 64, gain: 16, release: 64, stereo: 0, sustain: 64}
|
||||
- type: oscillator
|
||||
parameters: {color: 128, detune: 64, gain: 128, lfo: 0, phase: 0, shape: 64, stereo: 0, transpose: 88, type: 1, unison: 0}
|
||||
- type: oscillator
|
||||
parameters: {color: 128, detune: 64, gain: 128, lfo: 0, phase: 0, shape: 64, stereo: 0, transpose: 88, type: 1, unison: 0}
|
||||
- type: mulp
|
||||
parameters: {stereo: 1}
|
||||
- type: send
|
||||
parameters: {amount: 128, port: 0, sendpop: 1, stereo: 0, unit: 0, voice: 3}
|
||||
- type: send
|
||||
parameters: {amount: 128, port: 1, sendpop: 1, stereo: 0, unit: 0, voice: 3}
|
||||
- numvoices: 1
|
||||
units:
|
||||
- type: envelope
|
||||
parameters: {attack: 64, decay: 64, gain: 128, release: 64, stereo: 0, sustain: 64}
|
||||
- type: envelope
|
||||
parameters: {attack: 64, decay: 64, gain: 128, release: 64, stereo: 0, sustain: 64}
|
||||
- type: oscillator
|
||||
parameters: {color: 128, detune: 64, gain: 128, lfo: 0, phase: 0, shape: 64, stereo: 0, transpose: 88, type: 0, unison: 0}
|
||||
- type: oscillator
|
||||
parameters: {color: 128, detune: 64, gain: 128, lfo: 0, phase: 0, shape: 64, stereo: 0, transpose: 88, type: 0, unison: 0}
|
||||
- type: mulp
|
||||
parameters: {stereo: 1}
|
||||
- type: send
|
||||
parameters: {amount: 128, port: 0, sendpop: 1, stereo: 0, unit: 0, voice: 3}
|
||||
- type: send
|
||||
parameters: {amount: 128, port: 1, sendpop: 1, stereo: 0, unit: 0, voice: 3}
|
||||
- numvoices: 1
|
||||
units:
|
||||
- type: receive
|
||||
parameters: {stereo: 1}
|
||||
- type: compressor
|
||||
parameters: {attack: 32, invgain: 32, ratio: 96, release: 64, stereo: 1, threshold: 64}
|
||||
- type: mulp
|
||||
parameters: {stereo: 1}
|
||||
- type: out
|
||||
parameters: {gain: 128, stereo: 1}
|
||||
- numvoices: 1
|
||||
units:
|
||||
- type: envelope
|
||||
parameters: {attack: 64, decay: 64, gain: 16, release: 64, stereo: 0, sustain: 64}
|
||||
- type: envelope
|
||||
parameters: {attack: 64, decay: 64, gain: 16, release: 64, stereo: 0, sustain: 64}
|
||||
- type: oscillator
|
||||
parameters: {color: 128, detune: 64, gain: 128, lfo: 0, phase: 0, shape: 64, stereo: 0, transpose: 88, type: 1, unison: 0}
|
||||
- type: oscillator
|
||||
parameters: {color: 128, detune: 64, gain: 128, lfo: 0, phase: 0, shape: 64, stereo: 0, transpose: 88, type: 1, unison: 0}
|
||||
- type: mulp
|
||||
parameters: {stereo: 1}
|
||||
- type: send
|
||||
parameters: {amount: 128, port: 0, sendpop: 1, stereo: 0, target: 1}
|
||||
- type: send
|
||||
parameters: {amount: 128, port: 1, sendpop: 1, stereo: 0, target: 1}
|
||||
- numvoices: 1
|
||||
units:
|
||||
- type: envelope
|
||||
parameters: {attack: 64, decay: 64, gain: 128, release: 64, stereo: 0, sustain: 64}
|
||||
- type: envelope
|
||||
parameters: {attack: 64, decay: 64, gain: 128, release: 64, stereo: 0, sustain: 64}
|
||||
- type: oscillator
|
||||
parameters: {color: 128, detune: 64, gain: 128, lfo: 0, phase: 0, shape: 64, stereo: 0, transpose: 88, type: 0, unison: 0}
|
||||
- type: oscillator
|
||||
parameters: {color: 128, detune: 64, gain: 128, lfo: 0, phase: 0, shape: 64, stereo: 0, transpose: 88, type: 0, unison: 0}
|
||||
- type: mulp
|
||||
parameters: {stereo: 1}
|
||||
- type: send
|
||||
parameters: {amount: 128, port: 0, sendpop: 1, stereo: 0, target: 1}
|
||||
- type: send
|
||||
parameters: {amount: 128, port: 1, sendpop: 1, stereo: 0, target: 1}
|
||||
- numvoices: 1
|
||||
units:
|
||||
- type: receive
|
||||
parameters: {stereo: 1}
|
||||
id: 1
|
||||
- type: compressor
|
||||
parameters: {attack: 32, invgain: 32, ratio: 96, release: 64, stereo: 1, threshold: 64}
|
||||
- type: mulp
|
||||
parameters: {stereo: 1}
|
||||
- type: out
|
||||
parameters: {gain: 128, stereo: 1}
|
||||
|
Reference in New Issue
Block a user