//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
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
* { | |
font-family: 'FluentSystemIcons', 'Noto Sans JP' !important; | |
} |
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
// change font setting CSS for Windows app | |
function injectStylesheet(){ | |
var styleSheet = ` | |
.notion-collection_view_page-block .notranslate, | |
.notion-page-block .notranslate, | |
.notion-header-block .notranslate, | |
.notion-sub_header-block .notranslate, | |
.notion-sub_sub_header-block .notranslate, | |
.notion-app-inner | |
{ |
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
@font-face { | |
font-family: 'Meiryo'; | |
src: local('Noto Sans JP'); | |
} | |
@font-face { | |
font-family: 'メイリオ'; | |
src: local('Noto Sans 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
# The gradient.top and gradient.bottom lines are used by makeGradient(), | |
# so search for makeGradient() calls to see whether they're still in use. | |
## EditorToolbar ## | |
# TOOLBAR BUTTON TEXT | |
#toolbar.rollover.font = processing.sans,plain,12 | |
toolbar.rollover.font = roboto,12 | |
toolbar.rollover.color = #FFFFFF | |
toolbar.gradient.top = #CBCECC |
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
import ddf.minim.*; | |
int R = 0; | |
int f = 0; | |
Minim minim; | |
AudioSample[] player = new AudioSample[2]; | |
PImage onImg; | |
PImage wakuImg; | |
PImage posImg; |
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
;; | |
;; 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 |
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
a = NetAddr.new("localhost", 3333); | |
OSCdef(\tidalplay, { | |
arg msg; | |
a.sendMsg(*msg); | |
}, '/dirt/play', n); | |
//SuperDirt setup | |
s = Server.local; | |
s.reboot { | |
s.options.sampleRate = 48000; |
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
live_loop :live do | |
use_synth :dsaw | |
32.times do | |
play scale(:C2, :dorian, num_octaves: 4).shuffle.take(2), | |
cutoff: rrand(40, 120), release: rand(0.5) | |
sleep 0.125 | |
end | |
32.times do | |
play scale(:G2, :dorian, num_octaves: 4).shuffle.take(2), | |
cutoff: rrand(40, 120), release: rand(0.5) |
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
live_loop :live do | |
use_synth :dsaw | |
play chord(:C5,:M) | |
sleep 1.5 | |
play chord(:G4,:M) | |
sleep 1.5 | |
play chord(:A4,:m) | |
sleep 1.5 | |
play chord(:E4,:m) | |
sleep 1.5 |