-
2 oz Rye
-
1 oz sweet Vermouth
-
3 dashes Angostura bitters
Stir, served Up in a coupe glass
- 2 oz Gin
package main | |
/* | |
#cgo CFLAGS: -x objective-c | |
#cgo LDFLAGS: -framework Cocoa | |
#import <Cocoa/Cocoa.h> | |
int | |
StartApp(void) { | |
[NSAutoreleasePool new]; |
// number of the device to open (see: chuck --probe) | |
0 => int device; | |
// the midi event | |
MidiIn min; | |
// the message for retrieving data | |
MidiMsg msg; | |
// open the device | |
if(!min.open(device)) { |
package main | |
import ( | |
"bufio" | |
"errors" | |
"fmt" | |
"os" | |
"strconv" | |
"strings" | |
) |
void setup() { | |
size(500, 500); | |
smooth(); | |
background(255); | |
stroke(0); | |
strokeWeight(1); | |
HashMap productions = new HashMap(); | |
productions.put('F', "F-F+F+FF-F-F+F"); | |
String axiom = "F-F-F-F"; |
import themidibus.*; | |
MidiBus myBus; | |
int y = 0; | |
int vel = 0; | |
void setup() { | |
size(1024, 768); | |
background(0); | |
myBus = new MidiBus(this, 0, -1); |
import gifAnimation.*; | |
GifMaker gifExport; | |
int loopFrames = 60; | |
PVector maskOrigin; | |
Float maskWidth = 250.0; | |
float orbitWidth = 100.0; | |
void setup() { | |
gifExport = new GifMaker(this, "export.gif", 30); |
import gifAnimation.*; | |
GifMaker gifExport; | |
int frames = 0; | |
int totalFrames = 180; | |
void setup() { | |
smooth(); | |
size(900, 300, P3D); | |
ortho(); |
24787 => int monomeIn; | |
17102 => int monomeOut; | |
"/example" => string monomePrefix; | |
"127.0.0.1" => string monomeHost; | |
OscRecv recv; | |
monomeIn => recv.port; | |
recv.listen(); | |
fun float[][] toneGrid(int width, int height, int columnStep, int rowStep, float baseFreq, float octaveSteps) { |
type idCache struct { | |
sync.RWMutex | |
data map[string]*string | |
maxSize int | |
newest *string | |
oldest *string | |
} | |
func newIdCache(size int) *idCache { | |
return &idCache{ |