Skip to content

Instantly share code, notes, and snippets.

@moxuse
moxuse / gist:4077236
Created Nov 15, 2012
icecast config example
View gist:4077236
<icecast>
<location>Tokyo</location>
<admin>your@address.com</admin>
<limits>
<clients>100</clients>
<sources>2</sources>
<threadpool>5</threadpool>
<queue-size>524288</queue-size>
<client-timeout>30</client-timeout>
@moxuse
moxuse / 2022-05-02.orca
Last active May 7, 2022
2022-05-02.orca
View 2022-05-02.orca
.wC8.............1C8.....................................................
..64T4422.........78T12535143.....wC4....................................
..aV2.bV3...........3..............24T5555...............................
..........Va......VaJ.....Va.......8V5...................................
...Va.....2A1.....2A3.....2A3.......0....................................
.sA2pA.VbkA3hA.VbcA59A.Vb4A51A.Vb..s.....................................
..u4OpA3..n4OhA3..h4O9A3..94O1A3.........................................
....0As.....2Ak.....5Ac.....5A4..........................................
.....s1O.....m1O.....h1O.....91O.........................................
.....cVD.....dVE.....eVG.....fVG.#CcDdEFfGgAaBCcDd#......................
@moxuse
moxuse / 2022-05-01.orca
Last active May 2, 2022
2022-05-01.orca
View 2022-05-01.orca
.gC8.............1C8..............wC4............................................
..68T44226611.....38T21134212......34T2122.......................................
..aV1.bV2...........3..............lV2...........................................
........3Ka.l.....VaJ.....Va.....................................................
...Va.....1A2.....1A3.....1A4....................................................
.sA1pA.VbkA3hA.VbcA49A.Vb4A51A.Vb................................................
..t4OpA2..n4OhA2..g4O9A2..94O1A2.................................................
....0Ar.....3Aj.....5Ab.....7A3..................................................
.....r1O.....m1O.....g1O.....a1O.................................................
.....cVc.....dVE.....eVf.....fVg.#CcDdEFfGgAaBCcDd#..............................
@moxuse
moxuse / GameViewController.swift
Last active Feb 13, 2022
SCNShadable Shader Modifiers Test
View GameViewController.swift
import SceneKit
import QuartzCore
class GameViewController: NSViewController {
@IBOutlet weak var gameView: GameView!
override func awakeFromNib(){
let numSphere = 10
@moxuse
moxuse / yamaha-qy10-2020-04-30.orca
Created May 2, 2020
yamaha-qy10-2020-04-30.orca
View yamaha-qy10-2020-04-30.orca
vC4.............aC6...............................................
.24T4261.........54T4124..........................................
.aV6.bV2...........1..............................................
.........Va......VaJ.....Va.......................................
..Va.....6A2.....6A1.....6A6......................................
sA6pA.VbkA8hA.VbcA79A.Vb4Ac1A.Vb..................................
.y4OpA2..s4OhA2..j4O9A2..g4O1A2...................................
...8Ar.....0Aj.....aAb.....7A3....................................
....z1O.....j1O.....l1O.....a1O...................................
....cVA.g...dVc.....eVB.....fVg.#CcDdEFfGgAaBCcDd#................
View gist:6d191e67d486b110987c3243dc0a592c
wC4.....wC4..................................
.04T2073.04T1101.............................
.aV2.....eV1.................................
.............................................
....Ve....Ve....Ve...........................
.02X1..02X1..02X1............................
3I4...4I5...0I6..............................
.3Ad...4A7...3A1.............................
..g11Q..b11Q..411Q#0244902#..................
.....7....A8....a7#0357853#..................
View lead.sc
(
SynthDef(\lead, {arg note=0, gate=1;
var osc, env, freq, dPat;
dPat = (0.45, 0.4 .. 0.1);
freq = (60 + note).midicps;
env = EnvGen.ar(Env.perc(0.2, 6, 1, -2), gate, doneAction:2);
osc = DynKlank.ar(
`[[freq, freq * 0.75, freq * 1.5, freq * 5], nil, [1, 1, 1, 1]],
ClipNoise.ar(0.02)
)
@moxuse
moxuse / tidal
Created Feb 28, 2020
vim-tidal/bin/tidal
View tidal
#!/bin/bash
set -euf -o pipefail
# Get current directory (of script)
# http://stackoverflow.com/questions/59895/can-a-bash-script-tell-what-directory-its-stored-in
function setdir {
local source="${BASH_SOURCE[0]}"
# Resolve $SOURCE until the file is no longer a symlink
while [ -h "$source" ]; do
@moxuse
moxuse / pcd-tokyo-2020-moxus.md
Created Feb 1, 2020
PCD-Tokyo-2020-moxus.md
View pcd-tokyo-2020-moxus.md

Kusabiというアプリを開発していることについて

2020/02/01 PCD Tokyo @Koichiro Mori


お前は何者か

森 浩一郎 @moxus

@moxuse
moxuse / control-effects-midi-guy-sound-module.scd
Last active Dec 20, 2019
Control Effects of MIDI Guy sound module
View control-effects-midi-guy-sound-module.scd

// Control Effects MIDI Guy sound module // https://github.com/kinoshita-lab/MIDI-guy/

// Orca code

.......................................... ....4Uw..R....6Uq..Rt...2Uq..Rt........... ......:022cf....:112af....:731af.......... .......................................... ..........................................