Skip to content

Instantly share code, notes, and snippets.

View userx14's full-sized avatar

Benjamin userx14

  • Germany, Baden Württemberg
View GitHub Profile
@userx14
userx14 / sysxToBin.py
Last active September 6, 2025 09:12
Circuit tracks firmware reverse engineering
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"),
@userx14
userx14 / midiFeedback.ino
Last active August 20, 2025 05:11
Novation Circuit Tracks chromatic sample playback with MIDI.
#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
@userx14
userx14 / tomographyTwoPhotons.py
Created November 19, 2021 20:43
code for matrices for tomography of two entangled photons
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]]),

Terratec PHASE X24 Repair

Serial Header Pinout:

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)