115200baud 3.3V 8n1
when chip is facing up, so that the bridgeco label is readable
| GND | RX | TX | VCC |
(from the ic's prespective)
import numpy as np | |
from pathlib import Path | |
import crcmod | |
import sys | |
def extract_sysex_messages(syx_path): | |
commands_list = dict([ | |
(0x71, "UPDATE_INIT"), | |
(0x72, "UPDATE_WRITE"), | |
(0x73, "UPDATE_FINISH"), |
#include <MIDI.h> | |
#define MidiInChannel 3 //default setting of MIDI 1 out channel for circuit tracks | |
#define MidiDrumChannel 10 //drum 1 channel, other drums on 61,62,63 | |
#define MidiDrumNote 60 //drum 1 channel, other drums on 61,62,63 | |
#define pitchRelativeTo 60 //sample is unpitched for c4 = midi note 60 | |
const float twelfthRootOfTwo = 1.0594631; //frequency ratio between adjacent semitones |
import numpy | |
import math | |
knownProbNames = ["HH","HV","VV","VH","RH","RV","DV","DH","DR","DD","RD","HD","VD","VL","HL","RL"] | |
StateLetters = ["D","A","R","L","H","V"] | |
StateVectors = [ | |
1/math.sqrt(2)*numpy.array([[1, 1]]), | |
1/math.sqrt(2)*numpy.array([[1, -1]]), | |
1/math.sqrt(2)*numpy.array([[1, -1j]]), |