SPB Git

Repository Public

fx_send_return.sonata 2.0 KB 82 lines

1// ORIX Sonata2// File: Examples/fx_send_return.sonata3// Description: One shared reverb and one shared delay on buses instead of an effect per track: each instrument decides how much it sends, the returns are equalised, and the dry mix stays clear.4//5// Author: Simon-Pierre Boucher6// Contact: contact@spboucher.ai7//8// category: Effects and mixing9// title: Send and Return10// teaches: bus, send levels, 100 % wet returns, eq on a return, output routing11//12// expect: notes 8213// expect: tracks 414// expect: duration 10.6667s15// expect: deterministic16composition "Send and Return" {17    tempo 90bpm18    key A major1920    bus space {21        effects {22            reverb plate(mix: 100%, predelay: 30ms, decay: 2.2s)23            eq(low_cut: 250Hz, high_cut: 9000Hz)24        }25        gain -6dB26    }2728    bus echo {29        effects {30            delay(time: note_value(1/4), feedback: 0.35, mix: 100%, mode: ping_pong)31            filter(mode: bandpass, cutoff: 1500Hz, resonance: 0.7)32        }33        gain -10dB34        // The echoes themselves get a little reverb.35        send space -10dB36    }3738    instrument guitar: NylonGuitar {39        gain -5dB40        pan -0.341        send space -10dB42        repeat 4 {43            for n in [A2, E3, A3, C#4, E4, C#4, A3, E3] {44                play n duration 1/845            }46        }47    }4849    instrument flute: Flute {50        gain -8dB51        pan 0.352        send space -4dB53        send echo -8dB54        rest 1bar55        play E5 duration 1/256        play C#5 duration 1/457        play B4 duration 1/458        play A4 duration 1/159        play F#5 duration 1/260        play E5 duration 1/261        rest 1/262    }6364    instrument bass: FingerBass {65        gain -5dB66        // The bass stays dry: low frequencies in a reverb only make mud.67        repeat 4 {68            play A1 duration 1/269            play E2 duration 1/470            play A2 duration 1/471        }72    }7374    instrument shaker: ClosedHat {75        gain -18dB76        send space -16dB77        repeat 32 {78            play F#2 duration 1/8 velocity 0.579        }80    }81}82
Files main
Menu

Theme