View SPhydraFrere4Pane2.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Sonic Pi 4.4dev with built in Hydra | |
#Hydra sketch shows Frere Jaques 2 part round notes in real time | |
#coded by Robin enwman February 2023 | |
use_debug false | |
define :clearPanes do | |
hydra " | |
solid(0,0,0).out(o0) | |
solid(0,0,0).out(o1) | |
solid(0,0,0).out(o2) |
View SonicPiReichLikeDrumsWithHydra.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Reich like drumming, by Robin Newman, January 2023 | |
#I use hi and mid tomtoms for the two parts | |
#or you can set them both the same eg to hard snare | |
use_debug false | |
use_midi_logging false | |
use_midi_defaults channel: 1,port: "iac_driver_bus" | |
link #lets you adjust tempo as program is running | |
#set master pattern option with uniform amp or accented amp | |
#uncomment either the 12 beat or 16 beat patterns |
View Hydra Sketch2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Sonic Pi controlled code using midi and audio input by Robin Newman | |
// register WebMIDI | |
navigator.requestMIDIAccess() | |
.then(onMIDISuccess, onMIDIFailure); | |
function onMIDISuccess(midiAccess) { | |
console.log(midiAccess); | |
var inputs = midiAccess.inputs; | |
var outputs = midiAccess.outputs; | |
for (var input of midiAccess.inputs.values()){ |
View progressionsBells.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#This piece is developed from a chord progression tool written by theibbster on sonic-pi.net | |
#Robin Newman, December 2022 | |
define :chrd do |deg, tonic, sca| | |
n = 3 | |
if deg.match?('7') | |
n = 4 | |
deg = deg.slice(0,deg.length-1).to_sym | |
end | |
View SonicPiTocAndFugue-RF.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#BachTocAndFugue-RFrb (latest version) | |
#coded by Robin Newman from an arrangement by Guillaume Bentaieb https://musescore.com/user/2953356/scores/7328486 | |
start = 0 #section to start playing from (fugue stats at 6) | |
#note data part0 (a few extra notes from part 1 which required this to play on Sonic Pi) | |
a0=[] | |
b0=[] | |
a0[0]=[:A6,:A6,:r,:G6,:F6,:E6,:D6,:Cs6,:D6,:A5,:A5,:r,:E5,:F5,:Cs5,:D5,:r,:r,:r,:r,:r,:r] | |
b0[0]=[0.16666667,0.33333334,0.125,0.0625,0.0625,0.0625,0.0625,0.125,1.0,0.16666667,0.33333334,0.125,0.125,0.125,0.125,1.0,2.0,4.0,2.0,1.0,0.5,0.25] | |
a0[1]=[:r,:r,:r,:r,:r,:r,:r,:E5,:r,:r,:r,:A4,:r,:r] | |
b0[1]=[0.25,4.0,4.0,4.0,4.0,2.0,0.5,0.5,1.0,2.0,0.5,0.5,1.0,4.0] |
View OydUnaCosa.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#OydUnaCosa.rb Oyd, oyd una cosa by Francisco Guerrero 1589 | |
#coded for Sonic Pi by Robin newman October 2021 | |
use_bpm 150 | |
use_synth :chiplead | |
use_synth_defaults attack: 0.08 | |
s=0.9;r=0.4 | |
with_fx :reverb, room: 0.7,mix: 0.6 do | |
with_fx :level,amp: 0.5 do | |
a1=[:G4,:C5,:C5,:C5,:r,:B4,:D5,:D5,:D5,:E5,:E5,:E5,:D5,:D5,:G5,:G5,:F5,:E5,:E5,:D5,:D5,:r,:r,:r,:B4,:C5,:C5,:A4,:B4,:C5,:G4,:C5,:B4,:A4,:B4,:D5,:E5,:F5,:G5,:E5,:F5,:E5,:D5,:D5,:Cs5,:D5,:D5,:r,:G5,:F5,:E5,:G5,:C5,:E5,:F5,:E5,:A4,:G4,:A4,:B4,:C5,:B4,:C5,:C5,:r,:C5,:B4,:A4,:C5,:F4,:G4,:A4,:B4,:C5,:A4,:B4,:B4,:r,:G5,:F5,:E5,:G5,:C5,:C5,:C5,:C5,:C5,:C5,:D5,:D5,:E5,:E5,:E5,:C5,:C5,:C5,:D5,:E5,:D5,:E5,:r,:r,:C5,:F5,:E5,:C5,:D5,:E5,:D5,:C5,:G5,:F5,:E5,:G5,:F5,:E5,:F5,:D5,:E5,:D5,:C5,:D5,:E5,:C5,:D5,:C5,:B4,:A4,:A4,:G4,:G4,:G4,:C5,:C5,:C5,:r,:B4,:D5,:D5,:D5,:E5,:E5,:E5,:D5,:D5,:G5,:G5,:F5,:E5,:E5,:D5,:D5,:r,:r,:r,:B4,:C5,:C5,:A4,:B4,:C5,:G4,:C5,:B4,:A4,:B4,:D5,:E5,:F5,:G5,:E5,:F5,:E5,:D5,:D5,:Cs5,:D5,:D5,:r,:G5,:F5,:E5,:G5,:C5,:E5,:F5,:E5,:A4,:G4,:A4,:B4,:C5,:B4,:C |
View bari_bassic_blues-RF.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#"Bari_Bassic_Blues" by Joshua Haagen https://www.youtube.com/user/jzonda415/about | |
#originally for Saxophone Quartet and drums | |
#converted for Sonic Pi by Robin Newman, Aug 2021 with the composer's permission | |
#voiced for :dsaw synth with fxs reverb and wobble applied | |
#percussion parts converted to a note stream and then case statement used to select samples | |
#parts transposed to allow for original instrument | |
#use run_file "path/to/this/file" as too long for a suonic pi buffer | |
use_synth :dsaw | |
use_synth_defaults amp: 0.6 | |
use_bpm 120 |
View Gabrieli-Ch172-Septimi-RF.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Gabrieli-Ch172-Septimi-RF.rb | |
#converted to Sonic Pi code by Robin Neman from midi file by Martin Grayson Creative Commons 3.0 Attribution Non-Commercial-Share-Alike | |
use_synth_defaults attack: 0.03 | |
s=0.9;r=0.2 | |
with_fx :reverb, room:0.8,mix: 0.6 do | |
with_fx :level,amp: 0.5 do | |
use_synth :pulse | |
a1=[] | |
b1=[] |
View DanseMacabre-RF.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Danse Macabre by Saint-Saëns arranged for Sonic Pi by Robin Newman from a MuseScore by Salomão Sidharta | |
#May 2021 | |
#use play_file "path/to/DanseBacabre-RF.rb" to play it | |
#note double-sharps can;t be notated in Sonic Pi so Cdouble-sharp is entered here as a D for example | |
use_transpose -2 #original instruments in Bb | |
s=0.95;r=0.05 #set sustain and release fractions | |
use_synth :blade | |
with_fx :reverb,room: 0.8, mix: 0.7 do #add osme reverb | |
a1=[] | |
b1=[] |
View Pase_el_agoa-RF.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Pase_el_agoa-RF | |
#play using run_file "path/to/this/file" | |
#Anonymous 16th century manuscript Pase el agoa, ma Julieta dama | |
#"Across deep oceans" coded for Sonic Pi by Robin Newman, march 2021 | |
#quite tricky to do to get the spread chords in the lute part sounding ok | |
#I love the corss rhythms of this piece. | |
#I could reduce the sequences of rests in most parts, but life is too short.... | |
st=0 #starting section to play | |
s=0.97;r=0.03 #sustain/release fractions | |
#part volume and pan settings |
NewerOlder