Skip to content

Instantly share code, notes, and snippets.

View MAKIO135's full-sized avatar
💭
🎛

Lionel RADISSON MAKIO135

💭
🎛
View GitHub Profile
@MAKIO135
MAKIO135 / kniwwelino_SerialMatrix.ino
Last active June 19, 2019 20:17
Update Kniwwelino board leds matrix using Serial
// Update Kniwwelino board leds matrix using Serial
// https://doku.kniwwelino.lu/en/reference/matrixwhen sending data
#include <Kniwwelino.h>
String inputString = "";
void setup() {
Kniwwelino.begin("yo", false, true, false); // Wifi=false, Fastboot=true, MQTT logging false
inputString.reserve(26);
@MAKIO135
MAKIO135 / In_C.rb
Created June 25, 2019 20:08
SonicPi In C
# Discovered In C a few years ago thanks to Tero Parviainen (@teropa) 's great article: Terry Riley's "In C", A Journey Through a Musical Possibility Space
# http://teropa.info/blog/2017/01/23/terry-rileys-in-c.html
# Here is a Sonic Pi version with 3 synths and 1 smaple, based on Jim Bumgardner's Chuck implementation.
# http://electro-music.com/forum/viewtopic.php?t=14237&#038;sid=dbb3ada88a20169e90ee4ce45d79f10
# A generated result can be heard here: https://soundcloud.com/makio135/sonic-pi-in-c
use_debug false
@MAKIO135
MAKIO135 / index.html
Last active August 22, 2019 22:53
Using canvas as ThreeJS texture
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>JS Bin</title>
</head>
<body style="background:#fff;">
<script src="http://cdnjs.cloudflare.com/ajax/libs/three.js/r68/three.min.js"></script>
<canvas id="canvas"></canvas>
<script id="jsbin-javascript">
Note Midi Frequency
C1 0 8.1757989156
Db1 1 8.6619572180
D1 2 9.1770239974
Eb1 3 9.7227182413
E1 4 10.3008611535
F1 5 10.9133822323
Gb1 6 11.5623257097
G1 7 12.2498573744
Ab1 8 12.9782717994
@MAKIO135
MAKIO135 / index.html
Last active January 23, 2021 14:59
JS Reactor Pattern for creating custom Events
<!DOCTYPE html>
<title>Hello Reactor</title>
<script src="reactor.js"></script>
<script src="main.js"></script>