# Path: general/parameters.py



import numpy as np
from general.parameters import sample_number_total

def hz2cents(pitchInHz, tonic=261.626):
    cents = 1200*np.log2(1.0*pitchInHz/tonic)
    return cents


# Path: general/parameters.py



# Path: general/utilsFunctions.py
import numpy as np
from general.parameters import sample_number_total


def hz2cents(pitchInHz, tonic=261.626):
    cents = 1200*np.log2(1.0*pitchInHz/tonic)
    return cents


def pitchtrackInterp(pitchInCents):