SPB Git

Repository Public

in_organ_registrations.sonata 2.4 KB 115 lines

1// ORIX Sonata2// File: Examples/in_organ_registrations.sonata3// Description: One hymn phrase on five organ registrations built from the nine drawbars: a flute 8', principal chorus, full organ, a hollow nazard combination and a jazz setting with percussion and click.4//5// Author: Simon-Pierre Boucher6// Contact: contact@spboucher.ai7//8// category: Instruments9// title: Organ Registrations10// teaches: instrument definitions, engine parameters, drawbar footages, percussion slot, inheritance11//12// expect: notes 8313// expect: tracks 514// expect: duration 31.4286s15// expect: deterministic16instrument Flute8 {17    model organ18    preset flute_pipe19    drawbar.f16 020    drawbar.f5_1_3 021    drawbar.f8 122    drawbar.f4 023    drawbar.f2_2_3 024    drawbar.f2 025    drawbar.f1_3_5 026    drawbar.f1_1_3 027    drawbar.f1 028    chiff 0.429}3031// Inherits the pipe voicing and opens the octaves above: 8' 4' 2'.32instrument Principals: Flute8 {33    drawbar.f4 0.834    drawbar.f2 0.635}3637instrument FullOrgan16: Principals {38    drawbar.f16 0.839    drawbar.f2_2_3 0.540    drawbar.f1_1_3 0.441    drawbar.f1 0.442}4344// 8' with the twelfth and the seventeenth: the hollow "cornet" colour.45instrument Nazard: Flute8 {46    drawbar.f2_2_3 0.947    drawbar.f1_3_5 0.648}4950instrument JazzClick {51    model organ52    preset jazz53    drawbar.f16 0.954    drawbar.f5_1_3 0.955    drawbar.f8 0.956    drawbar.f4 057    click 0.558    percussion 0.859    percussion.harmonic third60    percussion.decay 300ms61    tremolo.depth 0.362}6364pattern phrase() {65    chord [C4, E4, G4] duration 1/266    chord [C4, F4, A4] duration 1/267    chord [B3, D4, G4] duration 1/268    chord [C4, E4, G4, C5] duration 1/269}7071composition "Organ Registrations" {72    tempo 84bpm73    key C major7475    instrument flute8: Flute8 {76        gain -8dB77        phrase()78    }7980    instrument principals: Principals {81        gain -10dB82        rest 2bars83        phrase()84    }8586    instrument full: FullOrgan16 {87        gain -12dB88        rest 4bars89        phrase()90    }9192    instrument nazard: Nazard {93        gain -10dB94        rest 6bars95        phrase()96    }9798    instrument jazz: JazzClick {99        gain -10dB100        rest 8bars101        for c in [[C4, E4, G4], [C4, F4, A4], [B3, D4, G4], [C4, E4, G4, C5]] {102            chord c duration 1/8 staccato103            rest 1/8104            chord c duration 1/4105        }106        chord [C3, G3, C4, E4, Bb4] duration 1/1107    }108109    master {110        effects {111            reverb chamber(mix: 0.2)112        }113    }114}115
Files main
Menu

Theme