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> | |
<head> | |
<meta charset="UTF-8"> | |
<title>PTV API WebCrypto demo</title> | |
<style> | |
main {width: 100%; max-width: 26rem; margin: 1rem auto; font-family: sans-serif;} | |
label, input, button, a { display: block; width: 100%; padding: 0.2rem; } | |
label {padding-top: 0.25rem;} | |
a {margin: 0.25rem 0; overflow-wrap: break-word} |
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
import pygame | |
import numpy as np | |
from pprint import pprint | |
import time | |
import math | |
notes = { | |
'g3':196.00, | |
'gs3':207.65, | |
'a3':220.00, |