Repository Public
1// ORIX Sonata2// File: Examples/dub_delay.sonata3// Description: A dub study: a sparse organ skank and a melodica-like lead feed a filtered feedback delay on a bus whose send level is automated; phaser on the chords.4//5// Author: Simon-Pierre Boucher6// Contact: contact@spboucher.ai7//8// expect: notes 979// expect: tracks 410// expect: duration 26.6667s11// expect: deterministic12composition "Dub Delay" {13 tempo 72bpm14 key G minor1516 bus echo {17 effects {18 delay dub(mix: 100%, time: note_value(3/8), feedback: 0.6)19 filter dark(mix: 100%)20 }21 gain -8dB22 }2324 instrument skank: JazzOrgan {25 gain -12dB26 pan -0.227 send echo -12dB28 repeat 4 {29 for c in [chord(G3, minor), chord(C3, minor)] {30 rest 1/431 chord c + 12st duration 1/8 staccato32 rest 1/833 rest 1/434 chord c + 12st duration 1/8 staccato35 rest 1/836 }37 }38 effects {39 phaser slow_swirl(mix: 0.5)40 }41 }4243 instrument bass: MutedBass {44 gain -5dB45 repeat 4 {46 play G1 duration 3/847 play G1 duration 1/8 staccato48 play Bb1 duration 1/449 play D2 duration 1/450 play C2 duration 3/851 play C2 duration 1/8 staccato52 play Eb2 duration 1/453 play F2 duration 1/454 }55 }5657 instrument lead: Clarinet {58 gain -10dB59 pan 0.260 // Only the last note of each phrase is thrown into the echo.61 send echo -40dB62 rest 2bars63 repeat 3 {64 play D5 duration 1/465 play Bb4 duration 1/466 play G4 duration 1/267 rest 1bar68 }69 }7071 instrument rim: Woodblock {72 gain -14dB73 repeat 8 {74 rest 1/275 play C5 duration 1/2 velocity 0.676 }77 }78}79