I hereby claim:
- I am youpy on github.
- I am youpy (https://keybase.io/youpy) on keybase.
- I have a public key whose fingerprint is 6453 9125 2A28 2454 8A44 605A A414 3F1F D167 299F
To claim this, I am signing this object:
const c = new AudioContext(); | |
const req = new Request('https://dl.dropboxusercontent.com/u/334064/tmp/wh.mp3'); | |
const source = c.createBufferSource(); | |
const osc = c.createOscillator(); | |
const gain = c.createGain(); | |
osc.frequency.value = 0.4; | |
gain.gain.value = 0.0; | |
osc.connect(gain) | |
source.loop = true; |
I hereby claim:
To claim this, I am signing this object:
var s = document.createElement('script'); | |
s.setAttribute( | |
'src', | |
'https://youpy.github.io/Hoover.js/example/hoover.min.js' | |
); | |
s.addEventListener('load', function() { | |
var hoover = new Hoover(new AudioContext()); | |
var interval = 200; |
const double THRESHOLD = 64.0; // +2 | |
// http://makers-with-myson.blog.so-net.ne.jp/2014-04-05 | |
unsigned int on[] = {2552,2680,824,860,820, 860,824,1892,852,1868,824,1896,824,1892,828, 856,828, 856,848,53728,2552,2672,828,860,824, 856,824,1896,852,1864,824,1896,824,1896,852, 828,828, 856,828,53840,2560,2672,828,856,848, 836,824,1892,824,1892,828,1892,852,1868,852, 832,848, 832,828}; | |
unsigned int off[] = {2552,2676,852,832,824,1896,848, 832,828, 856,828,1892,824, 856,852,1868,824,1892,852,53944,2556,2676,824,860,820,1896,828, 856,828, 852,848,1872,824, 856,828,1896,824,1892,824,53844,2552,2676,852,832,824,1896,848, 836,824, 856,828,1892,824, 860,820,1896,828,1888,848}; | |
void setup() { | |
Serial.begin(115200); | |
pinMode(12, OUTPUT); | |
analogReference(INTERNAL); |
#!/bin/sh | |
# | |
# required | |
# - scala | |
# - sbt (0.13.7 or higher) | |
# - Android SDK | |
set -e -x -u | |
target=$1 |
function doPost(request) { | |
var subject; | |
var calendarName = 'gas_review'; | |
if (request) { | |
subject = request.parameters.text[0].replace(/done: */, ''); | |
} else { | |
subject = 'test subject'; | |
} |
require 'coremidi' | |
require 'nerpin' | |
micron = Nerpin::Micron(CoreMIDI::Destination.all[1]) | |
micron.patch_cable_2_destination(76) | |
micron.patch_cable_4_source(17) | |
micron.patch_cable_4_destination(67) | |
micron.patch_cable_5_source(6) | |
micron.patch_cable_5_destination(2) |
# coding: utf-8 | |
require 'mac-skype' | |
require 'mac-skype/Ruby4Skype' | |
def main | |
text, blob = ARGV | |
blank = '' | |
Skype.init | |
Skype.attach_wait |
module['exports'] = function echoHttp (hook) { | |
hook.debug("Debug messages are sent to the debug console"); | |
hook.debug(hook.params); | |
hook.debug(hook.req.path); | |
hook.debug(hook.req.method); |