How to record music on scratch

To record a sound, click
and the microphone . Then, click the record button:

Type in a name for your sound:

Then, click and use this block:

Choose the sound name from the drop-down menu.