So far the Y value of frames has to be passed explicitly. It would be good if this could (try to) detect the extent of what is actually included in the music and determine the values accordingly.