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
1. add a dev rule for usb serial devices: | |
# /etc/udev/rules.d/01-ttyusb.rules | |
SUBSYSTEMS=="usb-serial", TAG+="uaccess", MODE="0666" | |
2. reload rules | |
sudo udevadm control --reload | |
3. add yourself to uucp group | |
sudo usermod -aG uucp $USER |
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
~/.yarn/bin/cncjs |
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
ffmpeg -i nombredelarchivooriginal.webm -r 30 -vf scale=1080:1080 -c:v libx264 -pix_fmt yuv420p nombredearchivonuevo.mp4 |
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
Joe Marshall 2011 | |
// Resonant filter based on Meeblip (meeblip.noisepages.com) | |
// Interrupt setup code based on code by Martin Nawrath (http://interface.khm.de/index.php/lab/experiments/arduino-dds-sinewave-generator/) | |
// oscillators and inline assembler optimisation by me. | |
// | |
// key input is from 8 capacitive inputs on digital input 6,7, and analog inputs 0-6 | |
// each input is a single wire, going to something metal to touch | |
// (I used a bunch of big carriage bolts) | |
// | |
// sensing of this is done by getNoteKeys, using the method described at: |
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 "FastLED.h" | |
#define NUM_LEDS 7 | |
CRGB leds[NUM_LEDS]; | |
#define PIXELLED 6 | |
float v=0; | |
float rate= 0.01f; | |
float c=0; | |
int button = 3; |
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
/* | |
#############%@ | |
#### #########% | |
## #########& | |
#% ########## | |
### ############ | |
################### ceiborg.com | |
################### tecnotextiles | |
################## | |
################# |
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
r = 0 | |
navigator.requestMIDIAccess().then(midi => { | |
for (var input of midi.inputs.values()) | |
input.onmidimessage = (e) => {r = e.data[2]} | |
}) | |
osc(()=>r,0,0).out() |
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 "FastLED.h" | |
#define NUM_LEDS 9 | |
CRGB leds[NUM_LEDS]; | |
#define PIXELLED 6 | |
float minHue = 1.0f; | |
float maxHue = 1.0f; | |
float hue =0.0f; | |
#define resolution 8 |
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
void setup() { | |
Serial.begin(9600); | |
} | |
int v = 0; | |
void loop() { | |
int c = analogRead (A0); | |
Serial.print(c); |
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
r = 0 | |
g = 0.4 | |
b = 0.3 | |
solid(()=>r,()=>g,()=>b).out() | |
onmsg = (ev) => { | |
let note = ev.data[1] |
NewerOlder