·
14 commits
to main
since this release
mutwo.core v.2.0.0 - 2024-04-09
This is a new release of 'mutwo.core' with breaking changes (therefore we have a new major version). It's simpler, faster, smaller and easier to comprehend than previous versions of 'mutwo.core'. Due to the amount of breaking changes, it's not compatible with pre v.2.0.0 versions. The v.1.X.Y mutwo.core version family existed for ~1.5 year. The v.2.X.Y version family should be much longer maintained, at least 3 years, but ideally even longer.
Added
- new method
Envelope.curve_shape_at
, see here - new method
Envelope.point_at
, see here - new method
Envelope.time_range_to_point_tuple
, see here - conciste
__str__
for mutwo events, see here MutwoObject
as base class for all mutwo objects, see here and here- general
core_parameters.abc.Parameter
class, see here core_utilities.str_to_number_parser
, see here
Changed
- names of basic event classes:
SequentialEvent
is nowConsecution
,SimultaneousEvent
is nowConcurrence
,SimpleEvent
is nowChronon
andComplexEvent
is nowCompound
, see here and here and here - improved performance of
Envelope.integrate_interval
by a factor of 8, see here - type of
Duration
value fromfractions.Fraction
tofloat
, see here - dropped specific tagged events: instead all events have optional tags from now, see here
- structure of
Envelope
class (simplifying it), see here - syntactic sugar parser from
???_events.configurations.UNKNOWN_OBJECT_TO_???
to???_parameters.abc.???.from_any
, see here DirectTempo
and added dedicatedWesternTempo
, see hereParameter.$PROPERTY
toParameter.$UNIT
, see hereTempoPoint
toTempo
, see here- generalize/simplify dynamic parameters, see here
core_converters.TempoToBeathLengthInSeconds
tocore_parameters.Tempo.seconds
parameter, see here
Dropped
mutate
parameter in many methods of mutwo events and parameters, see here- deprecated
Envelope.from_points
, see here quicktions
dependency, see herecore_generators
module, see herecore_utilities.NoSolutionFound
, see herecore_constants.DurationType
andcore_constants.ParameterType
, see hereUndefinedReferenceWarning
, see herecore_events.RelativeEnvelope
, see here