Skip to content

Commit

Permalink
envelope example
Browse files Browse the repository at this point in the history
  • Loading branch information
iljarotar committed Aug 14, 2024
1 parent e66c96e commit 1446e35
Showing 1 changed file with 7 additions and 26 deletions.
33 changes: 7 additions & 26 deletions examples/envelope.yaml
Original file line number Diff line number Diff line change
@@ -1,43 +1,24 @@
vol: 1
out: [s1]
wavetables:
- name: w1
amp: {val: 1}
freq: {val: 200}
table: [1,0]
envelope: e1

samplers:
- name: s1
amp: {val: 1}
freq: {val: 44100}
inputs: [n1]
envelope: e1

noises:
- name: n1
amp: {val: 0.1}
envelope: e1

out: [o1]
oscillators:
- name: o1
type: Triangle
type: Sine
freq: {val: 200}
amp: {val: 1}
amp: {val: 0.9, mod: [lfo1], mod-amp: 0.1}
envelope: e1

- name: lfo1
type: Square
freq: {val: 0.2}
type: Sine
freq: {val: 8}
amp: {val: 1}

envelopes:
- name: e1
attack: {val: 0.05}
decay: {val: 0.1}
sustain: {val: 0.2}
sustain: {val: 0.5}
release: {val: 1}
peak: {val: 1}
sustain-level: {val: 0.1}
time-shift: 3
bpm: {val: 40, mod: [lfo1], mod-amp: 10}
bpm: {val: 40}

0 comments on commit 1446e35

Please sign in to comment.