<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def arpeggio(pattern, point):
 """ turns each subsequence into an arpeggio matching the given ``pattern``. """

    point['sequence'] = HSeq(point['sequence'][i] for i in pattern)
    return point