Skip to content

Instantly share code, notes, and snippets.

update
upgrade
tap homebrew/binary
tap phinze/homebrew-cask
tap sanemat/font
install zsh
install git
curl http://mcg.herokuapp.com/21849ee6580a08034d7f3a2370404ebc/json | jq ".result" | xargs say -v Otoya
test2
#!/usr/env/python
import os
bitrate = '320'
src = 'src.wav'
dst = 'dst.mp3'
os.system('lame -b ' + bitrate + ' ' + src + ' ' + dst)
@reprimande
reprimande / gist:4239620
Created December 8, 2012 09:51
play binary by supercollider
(
s.waitForBoot {
var rootPath, window, view,
drawBuf, bufnum, sound, task,
width, height, fps, curX, curY, pixSize,
processFunc, loadFile;
// initial settings
rootPath = "/path/to/root/dir";
pixSize = 5;
@reprimande
reprimande / 課題1
Created December 15, 2012 02:00
Node.js入門 勉強会(2ndシーズン 1回目) 課題
var net = require('net');
var host = '127.0.0.1';
var port = 12345;
var server = net.createServer();
server.maxConnections = 1;
server.on('connection', function(socket) {
console.log('server : connection start');
require 'osc-ruby'
require "celluloid/current"
class Track
attr_accessor :pattern, :name
def initialize(pattern, name)
@pattern = pattern
@name = name
@current = @pattern.dup
@reprimande
reprimande / boot.tidal
Last active September 15, 2017 16:05
TidalCycles + SupserCollider + ES-8
{-- Initial --}
:load /path/to/zzz.hs
import Sound.Tidal.Zzz
let ps = [
S "synth" (Just ""),
I "ch" (Just 0),
I "note" (Just 0),
@reprimande
reprimande / timetable.md
Last active November 17, 2018 13:23
2018/11/18 Algorave x NxPC.Lab (IAMAS) at Tokyo Time Table
{
l=LocalIn.ar(2);
a=SinOscFB.ar(
[LFNoise2.kr(0.00001).range(0.00001,0.1)**l[1],LFNoise2.kr(0.00002).range(0.00001,0.1)**l[0]],
LFNoise0.kr(LFNoise2.kr(LFNoise2.kr(0.00003).range(0.00001,10)).range(0.001,5)**l).range(0.0125,4));
b=([
IFFT(PV_BrickWall(FFT(LocalBuf(2048),a[0]),LFNoise0.kr(LFNoise2.kr(0.00002).range(0.000001,2)**l[1]))),
IFFT(PV_BrickWall(FFT(LocalBuf(2048),a[1]),LFNoise0.kr(LFNoise2.kr(0.000021).range(0.000001,2)**l[0])))
]**l).tanh;
LocalOut.ar(b);