Covers1000.py
def computeCovers100CliqueFeatures(args):
    """
    Compute the MFCC, CENS, HPCP, and beats for all songs
    in a clique.  Function is setup for parallel processing
    :param (CliqueNum, hopSize): Number of the clique, hopSize
        to use in STFT
    """
    (CliqueNum, hopSize) = args
    songs = glob.glob("Covers1000/%i/*.txt"%CliqueNum)
    for i in range(len(songs)):
        s = songs[i]
        num = int(os.path.split(s)[-1][0:-4])
        filename = getAudioFilename(s[0:-4])

        mfccfilename = "Covers1000/%i/%i_MFCC.mat"%(CliqueNum, num)
        censfilename = "Covers1000/%i/%i_CENS.mat"%(CliqueNum, num)
        hpcpfilename = "Covers1000/%i/%i_HPCP.mat"%(CliqueNum, num)
        beatsfilename = "Covers1000/%i/%i_Beats.mat"%(CliqueNum, num)

        getAudioFeatures(hopSize, filename, mfccfilename, censfilename, hpcpfilename, beatsfilename)

    Compute the MFCC, CENS, HPCP, and beats for all songs
    in a clique.  Function is setup for parallel processing
    :param (CliqueNum, hopSize): Number of the clique, hopSize
        to use in STFT
    
Compute the MFCC, CENS, HPCP, and beats for all songs
in a clique.  Function is setup for parallel processing
Compute the MFCC CENS HPCP and beats for all songs in a clique . Function is setup for parallel processing
def computeCovers100CliqueFeatures(args):
    (CliqueNum, hopSize) = args
    songs = glob.glob("Covers1000/%i/*.txt"%CliqueNum)
    for i in range(len(songs)):
        s = songs[i]
        num = int(os.path.split(s)[-1][0:-4])
        filename = getAudioFilename(s[0:-4])
        mfccfilename = "Covers1000/%i/%i_MFCC.mat"%(CliqueNum, num)
        censfilename = "Covers1000/%i/%i_CENS.mat"%(CliqueNum, num)
        hpcpfilename = "Covers1000/%i/%i_HPCP.mat"%(CliqueNum, num)
        beatsfilename = "Covers1000/%i/%i_Beats.mat"%(CliqueNum, num)
        getAudioFeatures(hopSize, filename, mfccfilename, censfilename, hpcpfilename, beatsfilename)
def computeCovers100CliqueFeatures ( args ) : ( CliqueNum , hopSize ) = args songs = glob . glob ( "Covers1000/%i/*.txt" % CliqueNum ) for i in range ( len ( songs ) ) : s = songs [ i ] num = int ( os . path . split ( s ) [ - 1 ] [ 0 : - 4 ] ) filename = getAudioFilename ( s [ 0 : - 4 ] ) mfccfilename = "Covers1000/%i/%i_MFCC.mat" % ( CliqueNum , num ) censfilename = "Covers1000/%i/%i_CENS.mat" % ( CliqueNum , num ) hpcpfilename = "Covers1000/%i/%i_HPCP.mat" % ( CliqueNum , num ) beatsfilename = "Covers1000/%i/%i_Beats.mat" % ( CliqueNum , num ) getAudioFeatures ( hopSize , filename , mfccfilename , censfilename , hpcpfilename , beatsfilename )
Compute the MFCC, CENS, HPCP, and beats for all songs
in a clique.
Compute the MFCC CENS HPCP and beats for all songs in a clique .
"""
    Compute the MFCC, CENS, HPCP, and beats for all songs
    in a clique.  Function is setup for parallel processing
    :param (CliqueNum, hopSize): Number of the clique, hopSize
        to use in STFT
    """
args
hopSize)
Number of the clique, hopSize
to use in STFT
Number of the clique hopSize to use in STFT