Jelle van der Werff

Results 20 issues of Jelle van der Werff

Sometimes input validation is done using e.g. ``isinstance(input, (int, float, np.float64))`` etc. Better change this to use the numbers module, e.g. ``isinstance(input, Integral)``

So a rhythm without time signatures, nor measures. This is useful when for instance plotting a sequence of taps as musical notes.

What to do for instance in cases where the first onset is not at t=0

E.g. using fourier transform. Might be difficult to stably implement though.

In an interactive environment, the plotting functions work as expected, where they are shown when calling e.g. ``Sequence.plot_sequence()``, and not shown when calling ``Sequence.plot_sequence(suppress_display=True)``. The problem is that in a...

There are a number of class properties which really make more sense as functions. For instance, Sequence.interval_ratios_from_dyads. Also to have consistency with e.g. pandas.DataFrame.mean().

I.e. for making sequences that are simply 'short-longer-longer-shorter', etc.

Our plotting functions call fig.show(), but not plt.show(). If running in interactive mode, in a notebook etc., the plot will show. If not, plt.show() must be called. We need to...