CPJKU / partitura

A python package for handling modern staff notation of music
https://partitura.readthedocs.io
Apache License 2.0
227 stars 15 forks source link

add check for empty note array #361

Closed sildater closed 1 month ago

sildater commented 1 month ago

Added a ValueError in compute_pianorolls when passing empty note arrays.

sildater commented 1 month ago

excuse me, the change is in _make_pianoroll.