Companion
object Companion
Functions
Link copied to clipboard
fun filterEvents(messages: Iterable<MidiMessage>, filter: (MidiMessage) -> Boolean): Sequence<MidiMessage>
Link copied to clipboard
fun getPlayTimeMillisecondsAtTick(messages: Iterable<MidiMessage>, ticks: Int, deltaTimeSpec: Int): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Calculates ticks per seconds for SMPTE for a SMF delta time division specification raw value. frameRate should be one of 24,25,29, and 30. We dare to use UByte as the argument type to indicate that the argument is NOT the raw negative number in deltaTimeSpec.
Link copied to clipboard