Repository Public
1// ORIX Sonata2// File: Examples/ha_pedal_point.sonata3// Description: A tonic pedal in the organ bass under chords that drift away from it and return, then a dominant pedal that builds tension before the final cadence.4//5// Author: Simon-Pierre Boucher6// Contact: contact@spboucher.ai7//8// category: Harmony9// title: Pedal Point10// teaches: tie chains, voice blocks, tension over a held bass, organ presets11//12// expect: notes 4413// expect: tracks 214// expect: duration 50.9091s15// expect: deterministic16composition "Pedal Point" {17 tempo 66bpm18 key D major1920 instrument manual: CathedralOrgan {21 gain -10dB22 // Over D: I IV6/4 V7/D I | bVII/D ii7/D V7/D I23 for c in [[F#4, A4, D5], [G4, B4, D5], [G4, A4, C#5], [F#4, A4, D5], [E4, G4, C5], [E4, G4, B4], [E4, G4, C#5], [F#4, A4, D5]] {24 chord c duration 1/125 }26 // Over A: the harmony tightens toward the cadence.27 for c in [[E4, A4, C#5], [F#4, A4, D5], [G4, Bb4, E5], [G4, A4, C#5, E5]] {28 chord c duration 1/129 }30 chord [F#4, A4, D5, F#5] duration 2bars31 effects {32 reverb cathedral(mix: 0.3)33 }34 }3536 instrument pedals: CathedralOrgan {37 gain -8dB38 // Eight tied bars of D, four of A, then home.39 repeat 7 {40 play D2 duration 1/1 tie41 }42 play D2 duration 1/143 repeat 3 {44 play A1 duration 1/1 tie45 }46 play A1 duration 1/147 play D2 duration 2bars48 effects {49 reverb cathedral(mix: 0.3)50 }51 }52}53