Functions for working with beat patterns and sets.
Converts a hexadecimal string into a beat sequence of 1's and 0's. Each hex digit within the string generates 4 beats of values. 0 = 0000, 1 = 0001, 2 = 0010, ... f = 1111.
Converts a hexadecimal string into a beat set.
Converts a hexadecimal string to binary string representation.
Converts a hexadecimal char to 4-char binary string representation.
Converts a sequence of 1's and 0's into a beat set whose
members includes the indices in the sequence where 1's are
found. The set may then be used as a function to test
whether a beat number should trigger an action or not.
Converts beat string of 1's and 0's to sequence of 1's and 0's.
Converts beat string into beat set.