This file contains hidden or 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 mido, time | |
PORT = "Traktor Virtual Output" | |
inport = mido.open_input(PORT) | |
old_time = time.time() | |
new_time = 0 | |
readings = list() | |
max_samples = 50 | |
def mean(nums): |
This file contains hidden or 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 React, { Component } from 'react' | |
import axios from 'axios' | |
import { Helmet } from 'react-helmet' | |
import { createBrowserHistory } from 'history' | |
const browserHistory = createBrowserHistory({ forceRefresh: false }) | |
var randomstring = require('randomstring') | |
const devtools = require('devtools-detect') | |
let DISABLE_PROTECTION = true |