Skip to content

Instantly share code, notes, and snippets.

@Nanomancer
Nanomancer / eastern_pluck.rb
Last active May 12, 2020 20:13
Here's the code as it ran for recording the video 'Temple Of The Sixth - dark eastern ambient - sonic pi'
## Eastern pluck & 'safari' percussion
## Coded by Nanomancer
##| set_volume! 5
##| puts "SYNC"
##| sample :elec_blip, amp: 0.5
##| sleep 8
set_volume! 0.55
# set_mixer_control! amp: 0.1, amp_slide: 0.1
@Nanomancer
Nanomancer / amp_test.rb
Last active December 19, 2018 12:21
Quick gist to test fade in....
set_volume! 5
set_mixer_control! amp: 0.1, amp_slide: 0.1
sleep 1 # wait for amp to go down
set_mixer_control! amp: 5, amp_slide: 8
live_loop :doombeat do
# if one_in(3) then sleep [16, 32, 64].choose end
@Nanomancer
Nanomancer / As_The_Epoch_Fades.rb
Last active December 19, 2018 12:21
Sonic Pi code as used in the video version of As The Epoch Fades
## As The Epoch Fades - Video Version
## Coded by Nanomancer 13.04.2016
## Sonic Pi version 2.9
=begin
About:
An experiment in sending values between live_loops to increase 'intelligence' of generative abilities:
eg loops that can change speed/key depending on another
@Nanomancer
Nanomancer / transmission.rb
Last active December 1, 2019 13:17
Sonic Pi code (Ruby) for piece entitled 'Transmission' based around MIDI note tuned resonators
## Transmission - Origin Unknown -Tuned Resonators in C minor
## Random Seed Version: 746742
## Coded by Nanomancer - Distributed under Creative Commons Non-Commercial Attribution license - :)
## 26.03.2016
## Watch a video produced with screen grabs of the code and Nebulae:
## https://www.youtube.com/watch?v=5fwGHAdoaXA&feature=youtu.be
#######################
max_t = 8 # Adjust the run time of the piece