From Test-Scratch-Wiki
音量设为 () % | |
音量設為 (100) % | |
类别 | 音效类积木 |
形狀 | 条形积木 |
加入於 | 1.2 |
The Set Volume to () % 积木 is a 音效类积木 and a 条形积木. The block sets its 角色的 volume to the specified amount. It only affects the sprite (or the 舞台) that the block is in.
用法示例
As the block sets its the volume of a sprite or the Stage, it is used when the volume needs to be set to a specified amount, rather than increasing or decreasing.
Some common uses for the Set Volume to () % block:
- Volume controls
音量設為 (volume slider) %
- Changing sound effect volume (the further away the noise-maker is, the quieter the sound effect should be)
音量設為 ((100) - ((distance to [noise v]) / (2))) %
- Songs made with the 音效类积木 that have loud and quiet parts
音量設為 (100) % 演奏音階 (60 v) (0.5) 拍 演奏音階 (65 v) (0.4) 拍 音量設為 (75) % 演奏音階 (48 v) (1) 拍
参见
播放音效 ()
• 播放音效 () 到底 • 停播所有音效 • 演奏节拍 () () 拍 • 演奏休息 () 拍 • 演奏音阶 () () 拍 • 演奏乐器设为 () • 音量改变 () • 音量设为 () % • 音量 • 演奏速度改变 () • 演奏速度设为 () bpm • 演奏速度更多积木… |