SPB Git

Repository Public

in_voices.sonata 1.8 KB 78 lines

1// ORIX Sonata2// File: Examples/in_voices.sonata3// Description: The formant voice engine as a four-part choir: soprano, alto, tenor and bass on different vowels, with a vowel glide automated on the soprano from "ah" towards "ee".4//5// Author: Simon-Pierre Boucher6// Contact: contact@spboucher.ai7//8// category: Instruments9// title: Four Voices10// teaches: voice engine, deriving instruments from a standard one, automating an instrument parameter11//12// expect: notes 3613// expect: tracks 414// expect: duration 36.3636s15// expect: deterministic16instrument AltoOoh: ChoirOohs {17    voice alto18    vibrato.depth 0.15st19}2021instrument TenorAah: ChoirAahs {22    voice tenor23    breath 0.224}2526composition "Four Voices" {27    tempo 66bpm28    key F major2930    instrument soprano: SopranoVoice {31        gain -8dB32        pan -0.1533        // 0 is "ah" and 4 the brightest vowel of the engine.34        automate instrument.vowel {35            0bars: 036            4bars: 037            8bars: 338        }39        for n in [C5, D5, C5, A4, Bb4, C5, D5, C5] {40            play n duration 1/1 legato41        }42        play C5 duration 2bars43    }4445    instrument alto: AltoOoh {46        gain -9dB47        pan 0.1548        for n in [A4, Bb4, G4, F4, F4, G4, A4, G4] {49            play n duration 1/1 legato50        }51        play A4 duration 2bars52    }5354    instrument tenor: TenorAah {55        gain -9dB56        pan -0.357        for n in [F4, F4, E4, C4, D4, E4, F4, E4] {58            play n duration 1/1 legato59        }60        play F4 duration 2bars61    }6263    instrument bass: BassVoice {64        gain -7dB65        pan 0.366        for n in [F3, Bb2, C3, F3, Bb2, C3, D3, C3] {67            play n duration 1/1 legato68        }69        play F2 duration 2bars70    }7172    master {73        effects {74            reverb cathedral(mix: 0.3)75        }76    }77}78
Files main
Menu

Theme