Jelle van der Werff
Jelle van der Werff
``` WARNING: thebeat 0.1.dev1+gf63e405 does not provide the extra 'music-notation' INFO: pip is looking at multiple versions of thebeat[music-notation] to determine which version is compatible with other requirements. This could...
f63e405 fixes a bug that led to this class method not working (checking in the wrong place for the number of channels). Tests still have to be written.
``` rhythm = thebeat.music.Rhythm.from_integer_ratios([1, 2, 3, 2, 1, 2, 3, 2]) ```
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...
``` s = thebeat.Sequence([500, 502, 499, 500]) thebeat.stats.fft_plot(s, 1000) plt.show() ``` returns: ``` Traceback (most recent call last): File "/Users/jellevanderwerff/thebeat/scratch.py", line 8, in thebeat.stats.fft_plot(s, 1000) File "/Users/jellevanderwerff/thebeat/thebeat/stats.py", line 750, in...
The 'plot phase differences example' in the documentation needs some work, with examples of how this works with anisochronous sequences, some explanation of what phase differences are, etc.
Instead of creating a new class ``MultiRhythm`` (or something), start with creating a simple function for plotting multiple rhythms. Reasonig: In principle, it is already possible to overlay ``SoundSequence`` objects...
Another option would be to cache a list of all the combinations of different Rhythms.
E.g. for ``thebeat.stats.get_ugof_isochronous``, the expected return type is np.float64, even though the function returns np.float32.