thebeat
thebeat copied to clipboard
thebeat: Rhythms in Python for science
``` 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.
`Sequence.generate_random_poisson` generates a random sample of the number of events and uses it as IOIs. This does not seem to make sense, as it does not produce the time until...
``` 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...
Small thing, but building docs with nitpicky and running linkcheck should catch potential future issues with outdate/bad links in the docs. In Parselmouth, it already caught several dead/redirected external links.
Following up on #66: how should the LilyPond-generated figures interact with matplotlib? A couple of discussion points (partially taken from https://github.com/Jellevanderwerff/thebeat/pull/66#issuecomment-1872622440): - I feel like the dpi argument is somewhat...
Following up on #66: matplotlib behaves somewhat unpredictable if the figure creation, plotting, and/or showing/saving happen in different style contexts. For example, the current style's `figure.figsize` seems to be accessed...
When onsets of a sequence do exactly match the samples, a warning is given about rounding the onsets, and: - The warning (and documentation) says "[...] were rounded off to...