Repository Public
1// ORIX Sonata2// File: Examples/in_winds_and_brass.sonata3// Description: The wind models side by side: flute, pan flute, clarinet, bass clarinet, trumpet, horn, trombone and tuba each take two bars of the same chorale, low instruments an octave or two down.4//5// Author: Simon-Pierre Boucher6// Contact: contact@spboucher.ai7//8// category: Instruments9// title: Winds and Brass10// teaches: wind and brass std instruments, registers with transpose, a pattern shared by eight tracks11//12// expect: notes 4813// expect: tracks 814// expect: duration 41.7391s15// expect: deterministic16pattern chorale_line() {17 play G4 duration 1/418 play A4 duration 1/419 play B4 duration 1/420 play D5 duration 1/421 play C5 duration 1/222 play B4 duration 1/223}2425composition "Winds and Brass" {26 tempo 92bpm27 key G major2829 instrument flute: Flute {30 gain -7dB31 pan -0.432 transpose 12st33 chorale_line()34 }3536 instrument pan_flute: PanFlute {37 gain -7dB38 pan -0.2539 rest 2bars40 transpose 12st41 chorale_line()42 }4344 instrument clarinet: Clarinet {45 gain -7dB46 pan -0.147 rest 4bars48 chorale_line()49 }5051 instrument bass_clarinet: BassClarinet {52 gain -6dB53 pan 0.154 rest 6bars55 transpose -24st56 chorale_line()57 }5859 instrument trumpet: Trumpet {60 gain -9dB61 pan 0.2562 rest 8bars63 chorale_line()64 }6566 instrument horn: FrenchHorn {67 gain -8dB68 pan 0.469 rest 10bars70 transpose -12st71 chorale_line()72 }7374 instrument trombone: Trombone {75 gain -8dB76 pan -0.377 rest 12bars78 transpose -12st79 chorale_line()80 }8182 instrument tuba: Tuba {83 gain -6dB84 pan 0.385 rest 14bars86 transpose -24st87 chorale_line()88 }8990 master {91 effects {92 reverb hall(mix: 0.2)93 }94 }95}96