-
左のエリアのアレ切り替え
Cmd + [0-7] -
右のエリアのアレ切り替え
Cmd + Option + [0-2] -
右のエリアのアレ切り替えその二
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var autowatch = 1; | |
var d = new Dict("finderItems"); | |
var dd = new Dict("polyIndices"); | |
function bang(){} | |
// | |
// Dump受信後, polyを一括してセットアップする関数 | |
// 1. Polyへのメッセージを作成する |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# パイプから取り出した文字列を1行ずつ OSC送信 する | |
# $ ./keyEvent | ./oscsender.py | |
# 受信結果 | |
# $ oscdump 1234 | |
# /test s "/Users/tgck/Desktop/teddy" | |
# /test s "/Users/tgck/Desktop/AudioCycling" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import <Foundation/Foundation.h> | |
#import <ScriptingBridge/ScriptingBridge.h> | |
#import "Finder.h" | |
#define POLLING_INTERVAL 1 | |
#define FILTER_SUFFIX ".aif" | |
// prototypes | |
NSMutableArray* getUnixPaths(); | |
NSArray* getFinderItemsViaSB(NSMutableArray*); | |
void scanForDump(NSArray*); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void setup() { | |
String ipaddr = loadStrings("http://checkip.amazonaws.com")[0]; | |
println(ipaddr); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# 音声ファイルスライサ | |
# ファイルの長さが指定した時間で均一になるようスライスする | |
# ※今のところは.aifのみ対応 | |
# | |
# ./slicer.sh infile.aif outfile 10 | |
# 引数1:入力ファイル(拡張子含む) | |
# 引数2:出力ファイル名(拡張子含まず) | |
# 引数3:出力ファイル一本あたり長さ(秒) | |
# TODO: 各種拡張子に対応 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Finderの選択項目にファイルを作成 | |
tell application "Finder" to make new file at (the target of the front window) as alias |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// parse the FUDI networking protocol used by PureData and Max/MSP | |
// http://wiki.puredata.info/en/FUDI | |
// usable in any CommonJS environment including in-browser or in node.js | |
// still requires TCP/UDP JS client/server implementations | |
var fudi = { | |
tokenize: function(string) { | |
var tokens = []; | |
for(var i = 0; i < string.length; i++) { |