Skip to content

Instantly share code, notes, and snippets.

View TheBeachLab's full-sized avatar
🪐
Ready when you are

The Beach Lab TheBeachLab

🪐
Ready when you are
View GitHub Profile
@rbnpi
rbnpi / polyphonicsynth.rb
Last active August 28, 2021 20:17
A polyphonic gated synth for Sonic Pi3 with midi keyboard input. Runs on Raspberry Pi3 or more powerful computer with Sonic Pi 3. Accompanying article and video SECOND VERSION ADDED: see comments
#polyphonic midi input program with sustained notes
#experimental program by Robin Newman, November 2017
#pitchbend can be applied to notes at any time while they are sounding
use_debug false
set :synth,:tb303 #initial value
set :pb,0 #pitchbend initial value
kill_list=[] #list to contain notes to be killed
on_notes=[] #list of notes currently playing
ns=[] #array to store note playing references
@pral2a
pral2a / fablabs-map.html
Last active January 1, 2016 10:01
Fablabs Map
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title>FabLabs in the World</title>
<meta name='viewport' content='initial-scale=1,maximum-scale=1,user-scalable=no' />
<script src='https://api.mapbox.com/mapbox.js/v2.2.3/mapbox.js'></script>
<link href='https://api.mapbox.com/mapbox.js/v2.2.3/mapbox.css' rel='stylesheet' />
<script src="https://code.jquery.com/jquery-2.1.4.min.js"></script>
<style>
anonymous
anonymous / .bash_aliases
Created September 12, 2014 14:37
## Modified commands
alias diff='colordiff' # requires colordiff package
alias grep='grep --color=auto'
alias more='less'
alias df='df -h'
alias du='du -c -h'
alias mkdir='mkdir -p -v'
alias nano='nano -w'
alias ping='ping -c 5'