Kusabiというアプリを開発していることについて
2020/02/01 PCD Tokyo @Koichiro Mori
森 浩一郎 @moxus
.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#...................... |
.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#.............................. |
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#................ |
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#.................. |
( | |
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) | |
) |
#!/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 |
// Control Effects MIDI Guy sound module | |
// https://github.com/kinoshita-lab/MIDI-guy/ | |
// Orca code | |
.......................................... | |
....4Uw..R....6Uq..Rt...2Uq..Rt........... | |
......:022cf....:112af....:731af.......... | |
.......................................... | |
.......................................... |
4Cg................. | |
.hiT.*******.******* | |
.nV*................ |
.......22X01C. | |
.........11X7. | |
1D1.........1C | |
.*;graphic:056 |