Skip to content

Instantly share code, notes, and snippets.

dirkbosman dirkbosman

Block or report user

Report or block dirkbosman

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
@dirkbosman
dirkbosman / README.md
Last active Aug 2, 2019 — forked from arikfr/README.md
Redash Query Export Tool
View README.md

Setup

$ pip install click requests

Usage

$ python query_export.py --redash-url "https://app.redash.io/<slug>" --api-key "<api-key>"
View basic-quantized-drum-beat.rb
# Sonic Pi (http://sonic-pi.net/)
# Basic Quantized Drum Beat
# Globals
$bpm = 128
$bps = $bpm / 60
$qunatize = 1.0 / 32.0
# Helper step sequencing method
def sync_steps(steps, quantize = 1.0 / 4.0)
View SonicPiDrumMachine
#########################################
## 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)
@dirkbosman
dirkbosman / hello.rb
Created Mar 20, 2017 — forked from uncompiled/hello.rb
Hello by Adele written for Sonic Pi
View hello.rb
# Hello... World
use_bpm 75
use_synth :fm
in_thread do
loop do
cue :tick
sleep 1
end
end
View augino_mociute.rb
# Augino mociute
use_bpm 34
use_synth :pretty_bell
astuntine = 0.125 #Eight note
ketvirtine = 0.25 #Quarter note
pusine = 0.5 #Half note
pilna = 1 #Whole note
@dirkbosman
dirkbosman / sonic-pi-tutorial.md
Created Mar 15, 2017 — forked from jwinder/sonic-pi-tutorial.md
Sonic Pi in-app tutorials concatenated, currently from version 2.11
View sonic-pi-tutorial.md

1 Welcome to Sonic Pi

Welcome friend :-)

Welcome to Sonic Pi. Hopefully you're as excited to get started making crazy sounds as I am to show you. It's going to be a really fun ride where you'll learn all about music, synthesis, programming, composition, performance and more.

But wait, how rude of me! Let me introduce myself - I'm

@dirkbosman
dirkbosman / hack15.rb
Created Mar 15, 2017 — forked from jewlofthelotus/hack15.rb
Sonic Pi Hackathon Track
View hack15.rb
######################################################
# Drums
######################################################
define :boom do
with_fx :reverb, room: 1 do
sample :bd_boom, amp: 8
end
sample :ambi_choir, rate: 0.1
@dirkbosman
dirkbosman / auto_dubstep.rb
Created Mar 15, 2017 — forked from xavriley/auto_dubstep.rb
Auto generating dubstep with Sonic Pi
View auto_dubstep.rb
# DUBSTEP
# Combines ideas from my other gists
current_bpm = 140.0
use_bpm current_bpm
# WOBBLE BASS
define :wob do
use_synth :dsaw
lowcut = note(:E1) # ~ 40Hz
highcut = note(:G8) # ~ 3000Hz
@dirkbosman
dirkbosman / clickable-element.html
Created Apr 17, 2016 — forked from scottmagdalein/clickable-element.html
Make the Mailchimp Subscriber popup appear on click
View clickable-element.html
<!-- This is the HTML element that, when clicked, will cause the popup to appear. -->
<button id="open-popup">Subscribe to our mailing list</button>
You can’t perform that action at this time.