Skip to content

Instantly share code, notes, and snippets.


Johannes Hentschel johentsch

View GitHub Profile
johentsch /
Last active Jul 24, 2020
Function for sorting DCML harmony labels with respect to their features given a custom ordering logic.
import re
import pandas as pd
import numpy as np
from urllib.request import urlopen
REGEX = {}
def features2type(numeral, form=None, figbass=None):
""" Turns a combination of the three chord features into a chord type.
You can’t perform that action at this time.