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
# Device IDs | |
# 0x71 ADI-2 DAC | |
# 0x72 ADI-2 Pro | |
# 0x73 ADI-2/4 Pro SE | |
SYSEX_HEADER="F0 00 20 0D" | |
# Change Device ID to yours | |
DEVICE_ID=71 | |
SEND_PARAMS_TO_DEVICE=02 | |
PARAMS="67 70 01" |
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
#!/usr/bin/env python | |
import sys | |
SUFFIXES = ('', 'KiB', 'MiB', 'GiB', 'TiB') | |
def decode(filename, human=False): | |
with open(filename, 'r') as infile: | |
for line in infile: | |
line = line[:-1] |
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
<!DOCTYPE html> | |
<html> | |
<title>Piano playing (active)</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css"> | |
<body> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |