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
| #include "ofApp.h" | |
| void ofApp::setup() { | |
| // start scsynth | |
| STARTUPINFOA si; | |
| GetStartupInfoA(&si); | |
| CreateProcessA( | |
| NULL, | |
| ".\\data\\server\\scsynth.exe -u 57110", | |
| NULL, |
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
| Server.local.options.numOutputBusChannels = 2; | |
| Server.local.options.numInputBusChannels = 0; | |
| Server.local.options.device = "Windows WASAPI"; | |
| Server.local.options.sampleRate = 192000; |
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
| html body { | |
| font-family: Hiragino Sans, Noto Sans CJK JP; | |
| width: 100%; | |
| } | |
| .reveal .slides{ | |
| margin: 0 auto; | |
| padding: 0; | |
| font-size: 1.5rem; | |
| h1, h2, h3, h4, h5, h6{ | |
| color: #0099cc; |
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: "メイリオ"; | |
| src: local("Noto Sans CJK JP"); | |
| } | |
| @font-face { | |
| font-family: "Meiryo"; | |
| src: local("Noto Sans CJK JP"); | |
| } | |
| @font-face { | |
| font-family: "游ゴシック"; |
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
| [ | |
| { | |
| "key": "ctrl+i", | |
| "command": "editor.action.formatDocument", | |
| "when": "editorTextFocus" | |
| }, | |
| { | |
| "key": "ctrl+j", | |
| "command": "-editor.action.insertLineAfter", | |
| "when": "editorTextFocus" |
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
| (setq load-path (cons "~/.emacs.d/tidal/" load-path)) | |
| (require 'tidal) | |
| (setq tidal-interpreter "/usr/local/bin/stack") | |
| (setq tidal-interpreter-arguments | |
| (list "repl" "--ghci-options=-XOverloadedStrings")) |
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
| ofDirectory dir("hoo"); | |
| for (int i = 0; i < dir.getFiles().size(); i++){ | |
| //do something | |
| } |
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
| which brew |
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
| int NUM = 1000; | |
| PVector location; | |
| PVector velocity; | |
| void setup() { | |
| size(800, 600); | |
| frameRate(60); | |
| colorMode(HSB, 360, 100, 100, 100); | |
| noStroke(); | |
| location = new PVector(width/2.0, height/2.0); | |
| velocity = new PVector(random(-10, 10), random(-10, 10)); |
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 oscP5.*; | |
| import netP5.*; | |
| float gain = 0.0; | |
| int n = 0; | |
| float pan = 0.5; | |
| float cutoff = 400.0; | |
| String inst = ""; | |
| OscP5 osc; |