Skip to content

Instantly share code, notes, and snippets.

// Initialize KOMPLETE KONTROL A61
var midi = require('midi');
var midiOutput = new midi.output();
var midiPortCount = midiOutput.getPortCount();
for (var i = 0; i < midiPortCount; i++) {
midiOutput.openPort(i);
midiOutput.sendMessage([191,23,0]);
midiOutput.sendMessage([191,22,0]);
#include <iostream>
class Clock {
protected:
int time;
public:
Clock() { time = 0; }
int GetTime() { return time; }
void Tick() {
desc:MIDI easy chord
//tags: MIDI processing
slider1:1<-16,16,0.1>Velocity Multiply
in_pin:none
out_pin:none
@init
desc:AAA test JSFX
slider1:1<-16,16,0.1>Velocity Multiply
in_pin:none
out_pin:none
@init
@slider
#include <errno.h>
#include <pthread.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
void error(char *msg) {
fprintf(stderr, "%s: %s\n", msg, strerror(errno));
exit(1);
#!/usr/bin/env ruby
puts <<EOL
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns="http://www.w3.org/2000/svg"
width="1200" height="240">
<!-- body -->
<rect x="0" y="0" width="1152" height="60" style="fill: #000; stroke-width: 4; stroke: #555" />
<rect x="0" y="60" width="96" height="180" style="fill: #222; stroke-width: 4; stroke: #AAA" />
<text x="30" y="36" font-family="arial" font-weight="bold" font-size="32" fill="#888">iRig KEYS 37</text>
@moutend
moutend / foo.md
Created September 18, 2017 02:43

test

package main
import (
"bytes"
"context"
"encoding/binary"
"flag"
"fmt"
"io/ioutil"
"log"
package main
import (
"bytes"
"context"
"encoding/binary"
"flag"
"fmt"
"io/ioutil"
"log"
package main
import (
"bytes"
"context"
"encoding/binary"
"flag"
"fmt"
"io/ioutil"
"log"