Repository Public
1// ORIX Sonata2// File: Examples/pc_film_cue.sonata3// Description: A thirty-second cue: low strings and horn swell from nothing, the tempo accelerates into a brass hit with percussion, and everything falls away to a solo harp; markers name the hit points.4//5// Author: Simon-Pierre Boucher6// Contact: contact@spboucher.ai7//8// category: Pieces9// title: Film Cue10// teaches: markers, tempo ramp, automation for swells, orchestration with buses, hit points11//12// expect: notes 13613// expect: tracks 614// expect: duration 36.7273s15// expect: deterministic16composition "Film Cue" {17 tempo 60bpm18 key D minor1920 marker "swell" at 0bars21 marker "chase" at 4bars22 marker "hit" at 8bars23 marker "aftermath" at 10bars2425 bus hall {26 effects {27 reverb hall(mix: 100%, decay: 3.5s)28 }29 gain -8dB30 }3132 instrument low_strings: ConcertStrings {33 gain -8dB34 send hall -6dB35 automate gain {36 0bars: -40dB37 4bars: -8dB exp38 8bars: -4dB39 10bars: -40dB40 }41 chord [D2, A2, D3] duration 4bars42 // The chase: repeated notes, faster and faster.43 tempo 132bpm ramp 4bars44 repeat 16 {45 chord [D2, A2, D3] duration 1/8 staccato46 chord [D2, A2, F3] duration 1/8 staccato47 }48 chord [D2, A2, D3, A3] duration 2bars49 }5051 instrument horn: FrenchHorn {52 gain -8dB53 send hall -4dB54 rest 2bars55 play A3 duration 1bar56 play D4 duration 1bar57 play F4 duration 2bars58 play E4 duration 1bar59 play C#4 duration 1bar60 play D4 duration 2bars61 }6263 instrument brass: Trombone {64 gain -6dB65 send hall -6dB66 rest 8bars67 chord [D3, A3, D4, F4] duration 2bars marcato68 }6970 instrument drums: BoomKick {71 gain -4dB72 send hall -10dB73 rest 6bars74 repeat 2 {75 play C2 duration 1/476 play C2 duration 1/477 play C2 duration 1/878 play C2 duration 1/879 play C2 duration 1/480 }81 play C2 duration 1/1 accent82 }8384 instrument cymbal: Crash {85 gain -12dB86 send hall -6dB87 rest 8bars88 play C#3 duration 2bars89 }9091 instrument harp: Harp {92 gain -6dB93 send hall -4dB94 rest 10bars95 for n in [D4, F4, A4, D5, A4, F4, E4, D4] {96 play n duration 1/4 velocity 0.597 }98 play [D3, A3, D4] duration 1/1 velocity 0.499 }100}101