SPB Git

Repository Public

accelerando_study.sonata 1.1 KB 43 lines

1// ORIX Sonata2// File: Examples/accelerando_study.sonata3// Description: A piano study in tempo: an accelerando and a ritardando written as tempo ramps, with the same figure played throughout so the change is audible.4//5// Author: Simon-Pierre Boucher6// Contact: contact@spboucher.ai7//8// expect: notes 769// expect: tracks 110// expect: duration 26.4000s11// expect: deterministic12pattern figure(root: Pitch) {13    for i in [0st, 7st, 12st, 16st, 12st, 7st] {14        play root + i duration 1/815    }16}1718composition "Accelerando Study" {19    tempo 60bpm20    key A minor21    signature 3/422    // From 60 to 150 over four bars, hold, then back down to 50 over three.23    at 2bars {24        tempo 150bpm ramp 4bars25        marker "accelerando"26    }27    at 10bars {28        tempo 50bpm ramp 3bars29        marker "ritardando"30    }3132    instrument piano: GrandPiano {33        gain -5dB34        for root in [A2, F2, C3, G2, A2, F2, D2, E2, A2, F2, C3, E2] {35            figure(root)36        }37        chord [A2, E3, A3, C4] duration 1bar38        effects {39            reverb hall(mix: 0.18)40        }41    }42}43
Files main
Menu

Theme