Skip to content

Instantly share code, notes, and snippets.

Robin Newman rbnpi

  • Near Peterborough
Block or report user

Report or block rbnpi

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
rbnpi / Ortiz3-RF.rb
Created Jun 2, 2019
recerada Tercera by Diego Ortiz 916th centry) from midi by Michael Robinson. use run_file "path-to-Ortiz3-RF.rb" to run it
View Ortiz3-RF.rb
#recerada Tercera by Diego Ortiz 916th centry) from midi by Michael Robinson
#converted for Sonic Pi by Robin Newman, June 2019
#midi file at
#use run_file "path-to-Ortiz3-RF.rb" to run it
use_bpm 100
define :plarray do |notes,durations,tp=0,pan=0,vol=1,s=0.9,r=0.1|
#puts offsetclass do |n,d|
if n.respond_to?(:each)
rbnpi / Ortiz2-RF.rb
Created Jun 2, 2019
Recerada Segunda by Diego Ortiz 16th century) from midi by Michael Robinson. Use run_file "path-to-Ortiz2-RF.rb" command to run it.
View Ortiz2-RF.rb
#Recerada Segunda by Diego Ortiz 16th century) from midi by Michael Robinson
#midi file at
#converted for Sonic Pi by Robin Newman, June 2019
#use run_file "path-to-Ortiz2-RF.rb" to play it
use_bpm 100
define :plarray do |notes,durations,tp=0,pan=0,vol=1,s=0.9,r=0.1|
#puts offsetclass do |n,d|
if n.respond_to?(:each)
rbnpi / PalesHos-RF.rb
Created Jun 2, 2019
Palestrina (c. 1525-1594) Hosanna played by Sonic Pi from a midi file by Michael Robinson. Use run_file "path-to-PalesHos-RF.rb" to run it.
View PalesHos-RF.rb
#Giovanni Pierluigi de Palestrina (c. 1525-1594) Hosanna
#transcribed for Sonic Pi by Robin Newman, June 2019 from a midi file by Michael Robinson
use_bpm 90
define :plarray do |notes,durations,tp=0,pan=0,vol=1,s=0.9,r=0.1|
#puts offsetclass do |n,d|
if n.respond_to?(:each)
n.each do |nv|
rbnpi / paseagua-RF.rb
Created May 29, 2019
Pase el agua Anonymous Spanish 15th Century played by Sonic Pi (use run_file "path to filename" to play) Hear it at
View paseagua-RF.rb
#Pase el agua, ma Julieta Spanish Anon 15th century
#arranged for Sonic Pi by Robin Newman, May 2019
with_fx :reverb,room: 0.5,amp: 0.8,mix: 0.7 do
use_synth :chiplead
with_fx :level,amp: 0.5 do
rbnpi / hasslerCanzon-RF.rb
Created May 29, 2019
Canzon by Hans Leo Hassler (1564-1612), transcribed for Sonic Pi (play suing run_file "path to filename" hear it at
View hasslerCanzon-RF.rb
#Canzon by Hans Leo Hassler (1564-1612), transcribed for Sonic Pi by Robin Newman, May 2019
with_fx :reverb, room: 0.6,mix: 0.7 do
use_synth :saw
rbnpi / bjs1031b-RF.rb
Created May 29, 2019
Bach Siciliano from Flute Sonata in Eb Major for Sonic Pi. (use run_file "path to filename") Hear it on
View bjs1031b-RF.rb
#attributed to J.S. Bach or C.P.E. Bach Siciliano from Flute Suite 2 BWV 1031
#transcribed for Sonic Pi by Robin Newman, May 2019
with_fx :reverb, room: 0.8,mix: 0.6 do
use_synth :tri
rbnpi / bransleDeLaTorche.rb
Last active May 24, 2019
Bransle_de_la_Torche by Paretorius (1571-1621) played by Sonic Pi Hear it on
View bransleDeLaTorche.rb
#Praetorius (1571-1621) Bransle_de_la_Torche
#short and sweet, trasncribed for Sonic Pi by Robin Newman May 2019
use_synth :saw
use_bpm 160
#plarray plays the array notes, with corresponding array durations to give their lengths
define :plarray do |notes,durations,amp=1,pan=0,skip=false|
in_thread do
if skip #drop last note
rbnpi / Praetorius_Venite_Exsultemus-RF.rb
Last active May 5, 2019
Michael Praetorius Venit Exsultemus performed by Sonic Pi. Hear it at
View Praetorius_Venite_Exsultemus-RF.rb
#play using run_file "/path/to/filename"
tempo = 240
use_synth :tri
use_synth_defaults amp: 0.5
with_fx :reverb,room: 0.7,mix: 0.6 do
with_fx :level,amp: 0.725 do
rbnpi /
Created Apr 24, 2019
Visor Live and Sonic Pi play Elfen Lied Lilium music box. Video at

The accompanying two files play a visual display in VisorLive driven by Sonic Pi. The VisorMusicBoxFinal.rb file is loaded as a project file into visor version 0.4.0 A midi connection is established between the two (I used the iac driver on a Mac). The mapping file used was LaunchControlXL.json (supplied in the midi folder with The sound output of Sonic Pi is linked to the input of I normally use Rogue Amoeba's LoopBack utility, but it I have also tested the project using the free soundflower utility. NB if you do use this you must disable loopback if you have that installed as well. 1.Install Soundflower.

2.Go to Audio MIDI Setup

rbnpi / DreamyRelentlessA.rb
Last active Feb 1, 2019
Dreamy Relentless A a piece for Sonic Pi. Hear it at
View DreamyRelentlessA.rb
#DreamyRelentlessA by Robin Newman, February 2019
#In this piece I started by experimenting with two streams of notes
#of varying frequencies intially almost identical. This built up with the addition
#of several similar notes varying in the opposite sense, ie decreasing in frequency
#as the first set increased. The resulting rather dreamy sound was pleasing,
#especially when it resolves to the notes being perfectly in tune.
#I then experimented with adding an insistant repetitive beat, using two
#tones played with :tb303 and :chiplead. Rhythm was added using the spread function
#and I also added some percussion, and repetitively faded between the two streams
#of dreamy notes. Finaly I slowed the whole thing down, and it sounded much better
You can’t perform that action at this time.