Verified interview challenge
Convert beat tracks into music notation
Turn a sequence of sounding and silent beats into a compact musical representation.
Unlock with Full AccessThe challenge
Begin by rendering one instrument's beat track as duration tokens. Later parts extend the output to several instruments and introduce explicit rests. Preserve the timing and ordering of each track as the representation changes, using the specified token rules rather than a music library.
What you'll practise
Run encoding
Convert consecutive beats into the required duration representation.
Representation changes
Extend the renderer while keeping multiple tracks and silence correctly aligned.
# Build on your implementation
# Run checks for the current part
# Full starter code includedRun your code to see results.