Skip to content

mutwo.core v.1.3.0

Compare
Choose a tag to compare
@levinericzimmermann levinericzimmermann released this 22 Jul 15:50
· 97 commits to main since this release

mutwo.core v.1.3.0 - 2023-07-22

This release stabilizes the new methods which were added in mutwo.core v.1.2.0 by reducing the amount of bugs and by making them more performant.

Regarding new features this release simplifies global logging and added the .sequentialize method to core_events.SimultaneousEvent.

Added

  • the sequentialize method for SimultaneousEvent: Convert a SimultaneousEvent to a SequentialEvent (see here)
  • standardized logging utilities with core_utilities.get_cls_logger and core_configurations.LOGGING_LEVEL (see here
  • 'core_events.TempoEvent' class to be used in 'core_events.TempoEnvelope' (see here and here)

Changed

  • improve performance of TempoConverter by 500% (see 1 and 2 and 3 and 4)
  • allow multiple split times in Event.split_at (see here)
  • improve performance of SequentialEvent.split_at (see here and here)
  • SimultaneousEvent.concatenate_by_index and SimultaneousEvent.concatenate_by_tag doesn't copy the added event anymore, but rather behaves like list.extend. This improves the performance of the concatenation methods and avoids unnecessary copying. (see here)

Fixed

  • SimultaneousEvent.extend_until: Raise error if SimultaneousEvent is empty (make implicit failure explicit) (see here)
  • SimultaneousEvent: concatenate_by_tag and concatenate_by_index with empty simultaneous event (avoid noisy simple event with 0 duration) (see here)
  • deletion of child events via tags (see here)
  • tempo envelope persistence in time-axis based event concatenations (see here and here)
  • error when importing mutwo.core_parameters before mutwo.core_events (see here)
  • the initialization of the exception CannotSetDurationOfEmptyComplexEvent (see here)