Cling is a C++ interpreter developed at CERN as part of the ROOT project:
First, you need to install GraalVM and set things up so that the java
installed with GraalVM is picked up in your path.
See http://www.graalvm.org for more details.
With that in place, you can manage the Truffle languages installed.
Here you can see that I've already installed Python and Ruby:
$ gu list
ComponentId Version Component name
These are instructions for building a stand alone, headless, music computer based on the Pisound audio card and a RaspberryPi 3.
I use this set up in my live performance rig where it does all of the following without breaking a sweat:
- Audio effects
- stutter gate (beat sync'd)
Since Twitter doesn't have an edit button, it's a suitable host for JavaScript modules.
Source tweet: https://twitter.com/rauchg/status/712799807073419264
const leftPad = await requireFromTwitter('712799807073419264');
//////////////////////////// | |
// SynthDef //////////////// | |
//////////////////////////// | |
( | |
SynthDef(\clap,{ | |
arg output=0, vari=0, acc = 1; | |
var noiz, amp, filt1, filt2, aEnv, fEnv, tap; | |
noiz = WhiteNoise.ar; | |
aEnv = EnvGen.kr(Env.perc(0.01, 0.4, 1, -10).delay(Rand(0,0.02)), 1, doneAction:2); |
(ns todo-server.core | |
(:require | |
[cljs.nodejs :as nodejs] | |
[figwheel.client :as fw])) | |
(nodejs/enable-util-print!) | |
(defonce express (nodejs/require "express")) | |
(defonce serve-static (nodejs/require "serve-static")) | |
(defonce http (nodejs/require "http")) |
In all the discussions about ES6 one thing is bugging me. I'm picking one random comment here from this io.js issue but it's something that comes up over and over again:
There's sentiment from one group that Node should have full support for Promises. While at the same time another group wants generator syntax support (e.g.
var f = yield fs.stat(...)
).
People keep putting generators, callbacks, co, thunks, control flow libraries, and promises into one bucket. If you read that list and you think "well, they are all kind of doing the same thing", then this is to you.
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
////////// | |
// 説明 | |
// 1のカッコを実行 > 2にてサンプルのパス、ビートの長さ、音量、確率を入力 > | |
// 2のカッコを実行 > 3のbpmを設定 > 3のカッコを実行 | |
// | |
// - 2について - | |
//・ループさせたいサンプルについて、ビートの長さは4分音符分を"1"とし計算。4/4一小節分は"4"になります。 | |
//・ワンショットで鳴らしたいサンプルについて、ビートの長さを"0"にしてください。 | |
//・確率の部分は「合計して100にする」と言った事は必要ありません。単純に他のサンプルとの比率を記入して下さい。 | |
// |