View preload.js
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
// 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 | |
{ |
View swap fonts noto sans JP
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
@font-face { | |
font-family: 'Meiryo'; | |
src: local('Noto Sans JP'); | |
} | |
@font-face { | |
font-family: 'メイリオ'; | |
src: local('Noto Sans JP'); | |
} |
View theme.txt
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
# 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 |
View kadai13.pde
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 ddf.minim.*; | |
int R = 0; | |
int f = 0; | |
Minim minim; | |
AudioSample[] player = new AudioSample[2]; | |
PImage onImg; | |
PImage wakuImg; | |
PImage posImg; |
View emacs.ahk
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
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
;; MyEmacsKeymap.ahk | |
;; - An AutoHotkey script to simulate Emacs keybindings on Windows | |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
;; Settings for testing | |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
;; enable warning | |
;#Warn All, MsgBox |
View startup.scd
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
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; |
View example04.rb
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
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) |
View example03.rb
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
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 |
View example02.rb
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
live_loop :live do | |
with_fx :flanger, depth: 2 do | |
use_synth :tb303 | |
freq = choose([:C3, :E3, :F3, :G3]) + choose([-12, 0, 12]) + 2 | |
rel = rrand(0.1, 0.5) | |
play freq, release: rel, cutoff: rrand(40, 120), res: 0.9 | |
play freq+7, release: rel, cutoff: rrand(40, 120), res: 0.9 | |
play freq+12, release: rel, cutoff: rrand(40, 120), res: 0.9 | |
sleep 0.125 | |
end |
View example01.rb
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
live_loop :live do | |
use_synth :tb303 | |
play :C2, release: 0.2, cutoff: 40, res: 0.9 | |
sleep 0.25 | |
play :G2, release: 0.2, cutoff: 60, res: 0.9 | |
sleep 0.25 | |
play :C2, release: 0.2, cutoff: 80, res: 0.9 | |
sleep 0.25 | |
play :G2, release: 0.2, cutoff: 100, res: 0.9 | |
sleep 0.25 |
NewerOlder