Repository Public
1// ORIX Sonata2// File: Examples/fx_drive_stages.sonata3// Description: One guitar riff through increasing amounts of nonlinearity: clean, tape saturation, soft crunch, hard fuzz, wavefolding and finally a bitcrusher, each level-matched by its output control.4//5// Author: Simon-Pierre Boucher6// Contact: contact@spboucher.ai7//8// category: Effects and mixing9// title: Stages of Drive10// teaches: saturation, distortion modes, bitcrusher, level matching, one track per setting11//12// expect: notes 9013// expect: tracks 614// expect: duration 26.6667s15// expect: deterministic16pattern riff() {17 play E2 duration 1/818 play E2 duration 1/8 staccato19 play G2 duration 1/820 play E2 duration 1/821 play A2 duration 1/822 play E2 duration 1/8 staccato23 chord [E2, B2, E3] duration 1/424 chord [G2, D3, G3] duration 1/225 chord [A2, E3, A3] duration 1/226}2728composition "Stages of Drive" {29 tempo 108bpm30 key E minor3132 instrument clean: SteelGuitar {33 gain -4dB34 riff()35 }3637 instrument tape: SteelGuitar {38 gain -5dB39 rest 2bars40 riff()41 effects {42 saturation tape(drive: 12dB)43 }44 }4546 instrument crunch: SteelGuitar {47 gain -6dB48 rest 4bars49 riff()50 effects {51 distortion(mode: soft, drive: 20dB, tone: 5000Hz, output: -10dB)52 }53 }5455 instrument fuzz: SteelGuitar {56 gain -6dB57 rest 6bars58 riff()59 effects {60 distortion(mode: hard, drive: 36dB, tone: 3500Hz, output: -14dB)61 }62 }6364 instrument folded: SteelGuitar {65 gain -6dB66 rest 8bars67 riff()68 effects {69 distortion(mode: fold, drive: 24dB, tone: 6000Hz, output: -12dB)70 }71 }7273 instrument crushed: SteelGuitar {74 gain -6dB75 rest 10bars76 riff()77 effects {78 bitcrusher(bits: 6, downsample: 8)79 }80 }81}82