test
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
// 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]); |
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
#include <iostream> | |
class Clock { | |
protected: | |
int time; | |
public: | |
Clock() { time = 0; } | |
int GetTime() { return time; } | |
void Tick() { |
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
desc:MIDI easy chord | |
//tags: MIDI processing | |
slider1:1<-16,16,0.1>Velocity Multiply | |
in_pin:none | |
out_pin:none | |
@init |
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
desc:AAA test JSFX | |
slider1:1<-16,16,0.1>Velocity Multiply | |
in_pin:none | |
out_pin:none | |
@init | |
@slider |
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
#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); |
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
#!/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> |
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
package main | |
import ( | |
"bytes" | |
"context" | |
"encoding/binary" | |
"flag" | |
"fmt" | |
"io/ioutil" | |
"log" |
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
package main | |
import ( | |
"bytes" | |
"context" | |
"encoding/binary" | |
"flag" | |
"fmt" | |
"io/ioutil" | |
"log" |
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
package main | |
import ( | |
"bytes" | |
"context" | |
"encoding/binary" | |
"flag" | |
"fmt" | |
"io/ioutil" | |
"log" |