Skip to content

Instantly share code, notes, and snippets.

View tadfmac's full-sized avatar

D.F.Mac. @TripArts Music tadfmac

View GitHub Profile
@tadfmac
tadfmac / MIDICon.ino
Last active December 30, 2018 07:13
Arduboy を MIDIConにしたやつ。
// Dependencies:
// https://github.com/MLXXXp/Arduboy2
// https://github.com/MLXXXp/ArduboyTones
// https://github.com/arduino-libraries/MIDIUSB
// For Testing
// https://mz4u.net/cans-simulator/
#include "Arduboy2.h"
#include <ArduboyTones.h>
#include "MIDIUSB.h"
@tadfmac
tadfmac / readme.md
Last active May 1, 2019 19:51
SDカードへ CHIRIMEN for Raspberry Pi 3 環境を構築する (暫定手順)

SDカードへ CHIRIMEN for Raspberry Pi 3 環境を構築する (暫定手順)

1. 今回のゴール

microSDカードへ CHIRIMEN for Raspberry Pi 3 のイメージを構築し、初回起動時のセットアップまで実施します。

CHIRIMENコミュニティでCHIRIMEN for Raspberry Pi 3環境の提供方法は現在検討中です。
提供方法が決定されるまでの間、暫定的に開発途中版のSDカードイメージをダウンロード提供しています。
将来的に本書の手順は変更となる予定です。

@tadfmac
tadfmac / dcfan.md
Created October 16, 2017 13:02
CHIRIMEN-DCFAN

HTML

<div id="temp">1</div>
<script src="https://mz4u.net/libs/gc2/polyfill.js"></script>
<script src="https://mz4u.net/libs/gc2/i2c-ADT7410.js"></script>

JavaScript

@tadfmac
tadfmac / image.md
Created July 10, 2018 04:10
CHIRIMEN image 吸い出しメモ

Raspiのイメージを縮小

Raspiに gparted を入れる

$ sudo apt-get install gparted

アンマウント

$ sudo umount /dev/sda1 $ sudo umount /dev/sda2

@tadfmac
tadfmac / ultra-fast-learning-js.md
Last active November 2, 2018 00:48
時間の無い人のための、つまみ食いJavaScript入門
@tadfmac
tadfmac / bluepill-arduino.md
Last active October 19, 2022 00:49
bluepillにArduino Bootloaderを書き込む

用意するもの

1. Homebrew をupdate

@tadfmac
tadfmac / index.html
Created January 19, 2019 07:23
midi 受ける側
<!doctype html>
<html>
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1">
<title>MIDI Receiver (Distance) </title>
<script src="https://mz4u.net/libs/posnd/pomidi.js"></script>
<style>
p{
color:blue;
// XIAO-RP2040-CHICKEN example
// 2022 @tadfmac
/*
D0 : MIC (ADC)
D1 : VIB Sensor (DI)
*/
#include <Arduino.h>
#include <Adafruit_TinyUSB.h>
#include <Adafruit_NeoPixel.h>