| 日時: | 2025-03-02 |
|---|---|
| 作: | 時雨堂 |
| バージョン: | 2025.1 |
| url: | https://sora.shiguredo.jp/ |
This file contains hidden or 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
| ;; aspirated by illiichi | |
| ;; | |
| ;; from | |
| ;; Compassion through algorithms - Algorave Tokyo | |
| ;; (https://algorave-tokyo.bandcamp.com/album/compassion-through-algorithms) | |
| (:use 'overtone.live) | |
| (defmacro switch [trig a b] | |
| `(let [t# (abs ~trig)] |
This file contains hidden or 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
| ////////// | |
| // 説明 | |
| // 1のカッコを実行 > 2にてサンプルのパス、ビートの長さ、音量、確率を入力 > | |
| // 2のカッコを実行 > 3のbpmを設定 > 3のカッコを実行 | |
| // | |
| // - 2について - | |
| //・ループさせたいサンプルについて、ビートの長さは4分音符分を"1"とし計算。4/4一小節分は"4"になります。 | |
| //・ワンショットで鳴らしたいサンプルについて、ビートの長さを"0"にしてください。 | |
| //・確率の部分は「合計して100にする」と言った事は必要ありません。単純に他のサンプルとの比率を記入して下さい。 | |
| // |
サイズがあまりに大きくなってしまったので、gist ではなくて github 上で管理するようにしました。
https://github.com/Shinpeim/process-book
URL 変わっちゃうの申し訳ないんだけど、一覧性が高くなるのと pull req が受け取れるメリットのほうを取ります。せっかく読みにきてくれたのにひと手間かかっちゃってすみません。
This file contains hidden or 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 parser = document.createElement('a'); | |
| parser.href = "http://example.com:3000/pathname/?search=test#hash"; | |
| parser.protocol; // => "http:" | |
| parser.hostname; // => "example.com" | |
| parser.port; // => "3000" | |
| parser.pathname; // => "/pathname/" | |
| parser.search; // => "?search=test" | |
| parser.hash; // => "#hash" | |
| parser.host; // => "example.com:3000" |
This file contains hidden or 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
| use strict; | |
| use warnings; | |
| use Compress::Raw::Zlib; | |
| my $file_name = shift; | |
| my $opt_name = "glitched_".$file_name; | |
| open (FH, $file_name) or die "$!"; | |
| binmode FH; | |
| my $hoge = *FH; |
This file contains hidden or 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
| # Install pow | |
| $ curl get.pow.cx | sh | |
| # Install powder | |
| $ gem install powder | |
| # See that firewall is fucked | |
| $ sudo ipfw show | |
| 00100 0 0 fwd 127.0.0.1,20559 tcp from any to me dst-port 80 in <- THIS ONE!!! | |
| 65535 81005 28684067 allow ip from any to any |
This file contains hidden or 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
| // Ported from Stefan Gustavson's java implementation | |
| // http://staffwww.itn.liu.se/~stegu/simplexnoise/simplexnoise.pdf | |
| // Read Stefan's excellent paper for details on how this code works. | |
| // | |
| // Sean McCullough banksean@gmail.com | |
| /** | |
| * You can pass in a random number generator object if you like. | |
| * It is assumed to have a random() method. | |
| */ |