Skip to content

Instantly share code, notes, and snippets.

@tado
tado / SuperColliderBasics.scd
Last active December 6, 2023 05:06
Super Collider Basic
View SuperColliderBasics.scd
// 関数の定義、値の出力
{"Hello World"}.value;
// 関数の定義、音の出力(Sin波)
{SinOsc.ar()}.play;
// Sin波の周波数の指定 (220Hz)
{SinOsc.ar(220)}.play;
// 左右2chに
@tado
tado / emacs-ahkv2.ahk
Last active October 31, 2023 07:20
Emacs-like keybindings for AutoHotKey v2 (ref. https://qiita.com/asublue/items/0e3fad2667545793466d)
View emacs-ahkv2.ahk
#Requires AutoHotkey v2.0
;;
;; An autohotkey script that provides emacs-like keybinding on Windows
;;
;; global constants
DEBUG_MODE := 0
;; global variables
@tado
tado / startup.cpp
Last active August 24, 2023 11:38
SuperCollider startup files for TidalCycles
View startup.cpp
/*
* startup.scd - SuperDirt setup
*
*/
s = Server.local;
s.reboot {
s.options.sampleRate = 48000;
s.options.numBuffers = 1024 * 256; // increase this if you need to load more samples
s.options.memSize = 8192 * 32; // increase this if you get "alloc failed" messages
@tado
tado / README.md
Last active July 3, 2023 04:06
Dell Precision 5560 (Nvidia RTX A2000 Laptop GPU) with eGPU to recognize Geforce RTX 3090
View README.md

Dell Precision 5560 (Nvidia RTX A2000 Laptop GPU) にeGPUでGeforce RTX 3090を認識させる

Dell Precision 5560 (Nvidia RTX A2000 Laptop GPU) にeGPU (Akitio Node Titan) でNvidia GeForce RTX 3090を接続する方法、いろいろ試行錯誤してようやく成功したのでメモを残しておく。

  1. BitLockerを無効化する

    • いろいろ方法はあるみたいだけど自分の場合はPower Shellから以下のコマンドを実行した
    Disable-BitLocker -MountPoint "C:"
    
@tado
tado / swap fonts noto sans JP
Last active July 3, 2023 03:03
my Stylus CSS
View swap fonts noto sans JP
@font-face {
font-family: 'Meiryo';
src: local('Noto Sans JP');
}
@font-face {
font-family: 'メイリオ';
src: local('Noto Sans JP');
}
@tado
tado / emacs_v2.ahk
Created June 30, 2023 09:47
Emacs keybindings for AutoHotKey ver2
View emacs_v2.ahk
;;
;; An autohotkey script that provides emacs-like keybinding on Windows
;;
#InstallKeybdHook
#UseHook
; The following line is a contribution of NTEmacs wiki http://www49.atwiki.jp/ntemacs/pages/20.html
SetKeyDelay 0
; turns to be 1 when ctrl-x is pressed
@tado
tado / startup.scd
Created March 29, 2023 05:30
SuperDirt multi cannel (22ch)
View startup.scd
//SuperDirt setup
s = Server.local;
s.reboot {
s.options.sampleRate = 48000;
s.options.numBuffers = 1024 * 256;
s.options.memSize = 8192 * 32;
s.options.numWireBufs = 64;
s.options.maxNodes = 1024 * 32;
s.options.numOutputBusChannels = 22; // 22ch!!
s.options.numInputBusChannels = 2;
@tado
tado / emacs.ahk
Last active February 2, 2023 11:34
View emacs.ahk
;;
;; An autohotkey script that provides emacs-like keybinding on Windows
;;
#InstallKeybdHook
#UseHook
; The following line is a contribution of NTEmacs wiki http://www49.atwiki.jp/ntemacs/pages/20.html
SetKeyDelay 0
; turns to be 1 when ctrl-x is pressed
View startup.scd

//SuperDirt setup s = Server.local; s.reboot { s.options.sampleRate = 48000; //s.options.sampleRate = 192000; s.options.numBuffers = 1024 * 256; // increase this if you need to load more samples s.options.memSize = 8192 * 32; // increase this if you get "alloc failed" messages s.options.numWireBufs = 64; // increase this if you get "exceeded number of interconnect buffers" messages s.options.maxNodes = 1024 * 32; // increase this if you are getting drop outs and the message "too many nodes" s.options.numOutputBusChannels = 2; // set this to your hardware output channel size, if necessary

@tado
tado / startup.scd
Last active December 15, 2022 01:09
My SuperCollider startup file
View startup.scd

//SuperDirt setup s = Server.local; s.reboot { s.options.sampleRate = 48000; //s.options.sampleRate = 192000; s.options.numBuffers = 1024 * 256; // increase this if you need to load more samples s.options.memSize = 8192 * 32; // increase this if you get "alloc failed" messages s.options.numWireBufs = 64; // increase this if you get "exceeded number of interconnect buffers" messages s.options.maxNodes = 1024 * 32; // increase this if you are getting drop outs and the message "too many nodes" s.options.numOutputBusChannels = 2; // set this to your hardware output channel size, if necessary