Skip to content
forked from scoreur/cqt

Two implement for Constant Q Transform

Notifications You must be signed in to change notification settings

michaeljancsy/cqt

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

cqt

Two implements for Constant Q Transform

SciPy(for sparse matrix representation) and NumPy are required.

API

  • fmin: minimum frequecy;
  • fmax: maximum frequecy;
  • bins: number of bins;
  • fs: the rate of sample;
  • wnd: the window function;

Customizing window function

The window function wnd receives a parameter N representing the bandwith of window and returns a numpy.array representing the corresponding weight for each position.

FAQ

Question: why does it come out ValueError: matrices are not aligned? Answer: the length of sample is small. Padding some 0's to the end of the sample can fix this.

About

Two implement for Constant Q Transform

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%