Beispiel #1
0
 def chroma(self):
     """
     Compute the 12-ET chroma vector from this spectrum
     """
     return Pitch.chroma(self)
Beispiel #2
0
def calc_frequency(audio):
    frames = audio.frames(1024)
    spectra = frames[0].spectrum()
    frequency = Pitch.getFrequency(spectra)
    return frequency