SPB Git

Repository Public

rh_ritardando.sonata 1.6 KB 62 lines

1// ORIX Sonata2// File: Examples/rh_ritardando.sonata3// Description: Tempo ramps: a music-box figure winds down from 132 to 60 bpm over four bars, breathes on a fermata, then winds back up; the bell marks every bar so the stretching can be heard.4//5// Author: Simon-Pierre Boucher6// Contact: contact@spboucher.ai7//8// category: Rhythm9// title: Slowing Down, Speeding Up10// teaches: tempo ramp, tempo map, bars under a changing tempo11//12// expect: notes 10913// expect: tracks 214// expect: duration 37.4545s15// expect: deterministic16composition "Slowing Down, Speeding Up" {17    tempo 132bpm18    key G major1920    instrument box: Glockenspiel {21        gain -6dB22        let figure = [G4, B4, D5, G5, D5, B4, A4, D5]23        repeat 2 {24            for n in figure {25                play n duration 1/826            }27        }28        // The tempo falls linearly, in musical position, over the next four bars.29        tempo 60bpm ramp 4bars30        repeat 4 {31            for n in figure {32                play n duration 1/833            }34        }35        play [G4, B4, D5] duration 2bars36        // And back.37        tempo 132bpm ramp 3bars38        repeat 3 {39            for n in figure {40                play n duration 1/841            }42        }43        repeat 2 {44            for n in figure {45                play n duration 1/846            }47        }48        play [G3, G4, B4, D5, G5] duration 1/149        effects {50            reverb plate(mix: 0.2)51        }52    }5354    instrument bar_bell: TubularBells {55        gain -14dB56        pan -0.457        repeat 13 {58            play G3 duration 1/1 velocity 0.559        }60    }61}62
Files main
Menu

Theme