Skip to content

Instantly share code, notes, and snippets.

@shivioua
shivioua / count-on-me.rb
Created January 10, 2023 21:44 — forked from hopbit/count-on-me.rb
Count on me supersaw
# :saws live loop written by @pjagielski,
# but I couldn't hold back to play with it!
# soundcloud: https://soundcloud.com/hopbit/live-coding-session-2016-05-14-count-on-me
use_bpm 130
set_volume! 1
ch1 = [62,65,69]
ch2 = [63,67,70]
ch3 = [65,69,72]
ch4 = [67,70,74]
# mr presidend - coco jumbo (8 beats)
# http://latwenuty.blogspot.com/2012/07/mr-president-coco-jambo.html
# you can listen below track on soundcloud:
# https://soundcloud.com/hopbit/mr-president-coco-jumbo-fdm-spi-short-rmx
use_bpm 129
notes = [:gs4,:cs5,:gs5,:g4,:cs5] # 1 tact
notes += [nil,:gs5,:e5,:ds5,:cs5]
notes += [:a4,:cs5,:e5,:b4,:ds5] # 2 tact
notes += [nil,:fs5,:e5,:ds5,:cs5]
#otes += [:d5, :ds5, nil, nil, nil, nil, nil, nil]
@shivioua
shivioua / ambient1
Created January 20, 2023 22:57 — forked from darinwilson/ambient1
Ambient experiment using Sonic Pi
# Ambient experiment for Sonic Pi (http://sonic-pi.net/)
#
# The piece consists of three long loops, each of which plays one of
# two randomly selected pitches. Each note has different attack,
# release and sleep values, so that they move in and out of phase
# with each other. This can play for quite awhile without
# repeating itself :)
live_loop :note1 do
use_synth :hollow