librosa/core/constantq.py
def __cqt_response(y, n_fft, hop_length, fft_basis, mode):
    '''Compute the filter response with a target STFT hop.'''

    # Compute the STFT matrix
    D = stft(y, n_fft=n_fft, hop_length=hop_length,
             window='ones',
             pad_mode=mode)

    # And filter response energy
    return fft_basis.dot(D)
def __cqt_response(y, n_fft, hop_length, fft_basis, mode):
    '''Compute the filter response with a target STFT hop.'''

    # Compute the STFT matrix
    D = stft(y, n_fft=n_fft, hop_length=hop_length,
             window='ones',
             pad_mode=mode)

    # And filter response energy
    return fft_basis.dot(D)
def __cqt_response ( y , n_fft , hop_length , fft_basis , mode ) : # Compute the STFT matrix D = stft ( y , n_fft = n_fft , hop_length = hop_length , window = 'ones' , pad_mode = mode ) # And filter response energy return fft_basis . dot ( D )
Compute the filter response with a target STFT hop.
Compute the filter response with a target STFT hop .