SPB Git

Repository Public

pc_reggae.sonata 2.4 KB 95 lines

1// ORIX Sonata2// File: Examples/pc_reggae.sonata3// Description: A roots reggae rhythm: the "one drop" drum pattern with nothing on beat one, organ bubble and guitar skank on the offbeats, and a melodic bass line that carries the tune.4//5// Author: Simon-Pierre Boucher6// Contact: contact@spboucher.ai7//8// category: Pieces9// title: One Drop10// teaches: offbeat patterns, leaving the downbeat empty, staccato chords, a bass-led arrangement11//12// expect: notes 36413// expect: tracks 614// expect: duration 25.2632s15// expect: deterministic16composition "One Drop" {17    tempo 76bpm18    key A minor1920    instrument kick: AcousticKick {21        gain -3dB22        repeat 8 {23            // Kick and rim together on beat three only.24            rest 1/225            play C2 duration 1/226        }27    }2829    instrument rim: Woodblock {30        gain -10dB31        repeat 8 {32            rest 1/233            play A4 duration 1/234        }35    }3637    instrument hat: ClosedHat {38        gain -15dB39        pan 0.340        swing 62% of 1/1641        repeat 8 {42            for i in 0..8 {43                play F#2 duration 1/8 velocity if i % 2 == 1 then 0.75 else 0.444            }45        }46    }4748    instrument skank: SteelGuitar {49        gain -8dB50        pan -0.351        repeat 4 {52            for c in [[A3, C4, E4], [A3, C4, E4], [G3, B3, D4], [G3, B3, D4]] {53                rest 1/454                chord c duration 1/4 staccato55            }56        }57    }5859    instrument bubble: JazzOrgan {60        gain -14dB61        pan 0.2562        repeat 4 {63            for c in [[A3, C4, E4], [G3, B3, D4]] {64                repeat 4 {65                    rest 1/866                    chord c duration 1/16 staccato velocity 0.567                    chord c duration 1/16 staccato velocity 0.668                }69            }70        }71    }7273    instrument bass: FingerBass {74        gain -3dB75        repeat 4 {76            play A1 duration 1/477            play A1 duration 1/878            play C2 duration 1/879            rest 1/880            play E2 duration 1/881            play A1 duration 1/482            play G1 duration 1/483            play G1 duration 1/884            play B1 duration 1/885            rest 1/886            play D2 duration 1/887            play E2 duration 1/888            play G1 duration 1/889        }90        effects {91            eq(low_gain: 3dB, high_cut: 2500Hz)92        }93    }94}95
Files main
Menu

Theme