Jellevanderwerff / thebeat

thebeat: Rhythms in Python for science
https://thebeat.readthedocs.io
GNU General Public License v3.0
19 stars 1 forks source link

The fourier transform now disregards the last onset of a sequence tha… #75

Open Jellevanderwerff opened 9 months ago

Jellevanderwerff commented 9 months ago

Addresses #74 .

The problem before was that sequences that do not end with an interval contain a final onset, while the Fourier transform should be based on intervals. As such, when the FFT is performed there's artifacts of this final onset.

We now disregard the final onset and only consider the intervals. A note was added to the documentation about htis.