Repository Public
1// ORIX Sonata2// File: Examples/in_bowed_expression.sonata3// Description: What the bow does: one cello line played four times while bow pressure, bow position and vibrato are automated, from a light flautando to a pressed tone near the bridge.4//5// Author: Simon-Pierre Boucher6// Contact: contact@spboucher.ai7//8// category: Instruments9// title: The Bow10// teaches: automating engine parameters, bowed string model, legato phrasing11//12// expect: notes 4213// expect: tracks 214// expect: duration 36.0000s15// expect: deterministic16composition "The Bow" {17 tempo 60bpm18 key G minor1920 instrument cello: Cello {21 gain -5dB22 // Light bow, no vibrato; then more weight; then vibrato; then towards the bridge.23 automate instrument.bow.pressure {24 0bars: 0.225 2bars: 0.226 4bars: 0.727 8bars: 0.928 }29 automate instrument.vibrato.depth {30 0bars: 0st31 4bars: 0st32 6bars: 0.4st33 8bars: 0.2st34 }35 automate instrument.brightness {36 0bars: 0.337 6bars: 0.538 8bars: 0.9539 }40 articulation legato41 repeat 4 {42 play G2 duration 1/243 play D3 duration 1/444 play Bb3 duration 1/445 play A3 duration 1/246 play F#3 duration 1/447 play D3 duration 1/448 }49 articulation normal50 play G2 duration 1/151 effects {52 reverb chamber(mix: 0.2)53 }54 }5556 instrument bass: DoubleBass {57 gain -9dB58 articulation pizzicato59 repeat 8 {60 play G1 duration 1/261 play D2 duration 1/262 }63 play G1 duration 1/164 }65}66