How does scratch insert background music? Scratch audio import and playback method

Time:2021-10-16

Scratch is a graphic programming software developed by MIT college. The operation is very simple. When programming with scratch, sometimes in order to set off the atmosphere, you need to add some background music or make the character have sound. You can add sound. Let’s take a look at the detailed tutorial below.

Open scratch graphics programming software, as shown in the figure

click“New role”Click the button on the right to insert a role and click OK

Click the icon of this role. In the button above the control area, click“voice”, click the first button

Select a sound and click OK

Then back to the script,Click “event” and drag “when clicked”

Drag “play sound until it is played” in [sound] to the bottom when the green flag is clicked

Click the green flag to try the effect

The above is how to import and play scratch music. I hope you like it. Please continue to pay attention to developeppaer.

Relevant recommendations:

Scratch3.0 how to do addition and subtraction mixed operation within 10?

How is scratch arranged? Scratch Music Writing Tutorial

How does scratch 3.0 record sound for kitten characters? Scratch recording skills