Hi Sherrina,
Here is a variant of Bert's program. Imagine that the for-loop in the middle is the student's music program. Students will have to add the System module import to their program. Add the "a" variable for get_time_ms() at the beginning of their program. The "b" variable at the end. Then the print() statement to do the math and print the time.
from ti_system import *
from time import *
a=get_time_ms()
for i in range(10):
sleep(.5)
b=get_time_ms()
print("Time: ",(b-a)/1000,"seconds")
These screens came from running it on the computer software (which interestingly shows a few milliseconds longer than on running on the handheld).