Skip to content

Instantly share code, notes, and snippets.

@hopbit
hopbit / sonicpi-makepeachthepresident.txt
Created November 7, 2018 10:54 — forked from hzulla/sonicpi-makepeachthepresident.txt
Sonic Pi: Make Peach the President
# make peach the president
#
# drumloop based on
# http://www.ethanhein.com/wp/2013/my-collection-of-transcribed-rhythm-patterns/
use_bpm 95
drumloop = {
:drum_bass_hard => [0,7,8,14],
:drum_snare_hard => [4,12],
@hopbit
hopbit / output.md
Created March 14, 2017 21:44 — forked from wojtekerbetowski/output.md
Load most common PyWaw speakers

Output on 14.03.2017

$ python pywaw.py 
Collecting beautifulsoup4
  Using cached beautifulsoup4-4.5.3-py3-none-any.whl
Collecting requests
  Using cached requests-2.13.0-py2.py3-none-any.whl
Installing collected packages: beautifulsoup4, requests
Successfully installed beautifulsoup4-4.5.3 requests-2.13.0
@hopbit
hopbit / README.md
Created July 11, 2016 19:51 — forked from xavriley/README.md
Original NES Mario Theme for Sonic Pi

Making Chiptune Music using Sonic Pi v2.0

Warning: this might not work on a RaspberryPi yet

I was curious about making retro gaming sounds using Sonic Pi. A couple of months and a lot of Googling later, here's the original Mario Bros theme as it was heard on the NES console.

I'm (just about) old enough to remember rushing home from school to play this game at Philip Boucher's house, sitting cross-legged in front of the TV till my feet got pins and needles. Working out how to recreate it for Sonic Pi was a lot of fun!

Getting the sounds of the NES chip

@hopbit
hopbit / README.md
Created June 13, 2016 20:59 — forked from dergachev/README.md
Vagrant tutorial

Vagrant Setup

This tutorial guides you through creating your first Vagrant project.

We start with a generic Ubuntu VM, and use the Chef provisioning tool to:

  • install packages for vim, git
  • create user accounts, as specified in included JSON config files
  • install specified user dotfiles (.bashrc, .vimrc, etc) from a git repository

Afterwards, we'll see how easy it is to package our newly provisioned VM

@hopbit
hopbit / count-on-me.rb
Last active January 10, 2023 21:44 — forked from pjagielski/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]
@hopbit
hopbit / README.md
Created April 20, 2016 13:17 — forked from dnozay/_Jenkins+Script+Console.md
jenkins groovy scripts collection.
use_debug false
use_bpm 130
# Our mixer!
master = (ramp *range(0, 1, 0.01))
kick_volume = 1
bass_volume = 1
revbass_volume = 1
snare_volume = 0.5
hats_volume = 0.5
@hopbit
hopbit / ambient1
Created April 13, 2016 10:07 — 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
@hopbit
hopbit / sonicpi-crash-course.txt
Created March 26, 2016 20:31 — forked from hzulla/sonicpi-crash-course.txt
Crash into Sonic Pi: Learn to code music in less than 30 minutes
# -------------------------------------------
# CRASH INTO SONIC PI!
# Learn to code music in less than 30 minutes
# -------------------------------------------
# - download Sonic Pi from sonic-pi.net
# - copy and paste these code snippets
# - change and experiment with the snippets
# - go!
# -------------------------------------------
# These snippets were made for a workshop to
@hopbit
hopbit / gist:b8d816e829edae60a705
Created October 14, 2015 22:14 — forked from darinwilson/SonicPiDrumMachine
Sonic Pi Drum Machine
#########################################
## Sonic Pi Drum Machine
## coded by Darin Wilson
##
use_bpm 95
in_thread(name: :drum_machine) do
# choose your kit here (can be :acoustic, :acoustic_soft, :electro, :toy)