SPB Git

Repository Public

pc_big_band_stabs.sonata 3.6 KB 132 lines

1// ORIX Sonata2// File: Examples/pc_big_band_stabs.sonata3// Description: Big-band writing in miniature: trumpets, trombones and tuba play tight block-chord hits and a shout chorus against a swinging rhythm section, with falls bent off the last notes.4//5// Author: Simon-Pierre Boucher6// Contact: contact@spboucher.ai7//8// category: Pieces9// title: Section Hits10// teaches: block voicings across sections, bend for falls, swing, accents and marcato, sections on buses11//12// expect: notes 22813// expect: tracks 614// expect: duration 12.1429s15// expect: deterministic16// A staccato section hit: the same chord on three sections in three registers.17pattern hit(notes: Chord, length: Duration, loud: Velocity) {18    chord notes duration length marcato velocity loud19}2021composition "Section Hits" {22    tempo 168bpm23    key Bb major24    swing 66%2526    bus horns {27        effects {28            compressor glue29            reverb room(mix: 0.15)30        }31        gain -3dB32    }3334    instrument trumpets: Trumpet {35        output horns36        gain -9dB37        pan 0.338        repeat 2 {39            rest 1/840            hit([Ab4, C5, D5, F5], 1/8, 0.95)41            rest 1/442            hit([Ab4, C5, D5, F5], 3/8, 0.8)43            hit([G4, Bb4, D5, F5], 1/8, 0.95)44            rest 1bar45            rest 1/446            hit([A4, C5, Eb5, G5], 1/8, 0.9)47            hit([A4, C5, Eb5, G5], 1/8, 0.7)48            rest 1/849            hit([Bb4, D5, F5, A5], 3/8, 1)50            rest 1bar51        }52        // The last note falls off.53        play Bb5 duration 1/2 bend { 0ms: 0st, 150ms: 0st, 600ms: -9st }54    }5556    instrument trombones: Trombone {57        output horns58        gain -8dB59        pan -0.360        repeat 2 {61            rest 1/862            hit([D3, F3, Ab3, C4], 1/8, 0.95)63            rest 1/464            hit([D3, F3, Ab3, C4], 3/8, 0.8)65            hit([Eb3, G3, Bb3, D4], 1/8, 0.95)66            rest 1bar67            rest 1/468            hit([F3, A3, C4, Eb4], 1/8, 0.9)69            hit([F3, A3, C4, Eb4], 1/8, 0.7)70            rest 1/871            hit([Bb2, D3, F3, A3], 3/8, 1)72            rest 1bar73        }74        play Bb2 duration 1/2 bend { 0ms: 0st, 150ms: 0st, 600ms: -7st }75    }7677    instrument tuba: Tuba {78        output horns79        gain -7dB80        repeat 2 {81            rest 1bar82            play Bb1 duration 1/483            play D2 duration 1/484            play F2 duration 1/485            play G2 duration 1/486            rest 1bar87            play F2 duration 1/488            play Eb2 duration 1/489            play D2 duration 1/490            play C2 duration 1/491        }92        play Bb1 duration 1/293    }9495    instrument bass: DoubleBass {96        gain -4dB97        articulation pizzicato98        repeat 2 {99            for n in [Bb1, D2, F2, G2, Eb2, G2, Bb2, C3, F2, A2, C3, Eb3, Bb2, A2, G2, F2] {100                play n duration 1/4101            }102        }103        play Bb1 duration 1/2104    }105106    instrument ride: Ride {107        gain -15dB108        pan 0.2109        repeat 8 {110            play F#2 duration 1/4111            play F#2 duration 1/8 velocity 0.6112            play F#2 duration 1/8 velocity 0.4113            play F#2 duration 1/4114            play F#2 duration 1/8 velocity 0.6115            play F#2 duration 1/8 velocity 0.4116        }117    }118119    instrument piano: GrandPiano {120        gain -10dB121        pan -0.1122        repeat 4 {123            rest 3/8124            chord [D3, F3, Ab3, C4] duration 1/8 staccato velocity 0.5125            rest 1/2126            rest 1/4127            chord [C3, Eb3, G3, Bb3] duration 1/8 staccato velocity 0.5128            rest 5/8129        }130    }131}132
Files main
Menu

Theme