vmf_converter.core.dynamic_converter module

class vmf_converter.core.dynamic_converter.DynamicConverter[source]

Converts between velocities and VMF dynamics.

classmethod velocity_to_vmf(velocity)[source]

Converts a midi velocity to a VMF dynamic symbol.

Parameters:velocity – The midi velocity.
Returns:A value representing a dynamic in VMF.
classmethod vmf_to_velocity(vmf_value)[source]

Converts a VMF dynamic value to a velocity.

Parameters:vmf_value – The dynamic value in VMF format.
Returns:The corresponding MIDI velocity value.