@@ -17,6 +17,8 @@ Modifiable parameters are located in params.py.
```
begin = 0.0 # start reading audio file after this time in seconds.
duration = 60 # read audio file between (begin) and (begin + duration)
begin_ref = 0.0 # beginning of the reference signal for computing cosine distance between clusters (in seconds).
end_ref = 0.05 # end of the reference signal for computing cosine distance between clusters (in seconds).
BINS_PER_OCTAVE = 12*3 # number of bins per octave, a multiple of 12 is suitable
N_OCTAVES = 7 # number of considered octaves
NFFT = 2**11 # number of points of the analysis window, a multiple of 2 is suitable (> 2**6)
...
...
@@ -60,7 +62,7 @@ Usage:
python3 TF_differential.py audio/filename.wav
```
From an original idea of Jean-Marc Chouvel (http://www.ems-network.org/spip.php?article294).
From an original idea of Jean-Marc Chouvel [L'analyse musicale différentielle](http://www.ems-network.org/IMG/JMChouvelEMS07/index.html).
### Bibliography
* B. McFee and D P.W. Ellis (2014). Analyzing song structure with spectral clustering. In proc. of International Society for Music Information Retrieval.