The function changes the specified sound effect to the value. The input is for selecting how much the sound will be changed. A positive number will make the sound effect have more effect, while a negative number will make it smaller.
setsoundeffect()
Function Definition: setsoundeffect(effect_name = "PITCH", effect_value = 100)
- Python Library: Sound
- Library Import: sprite = Sprite("Sprite-Name")
- Mode: Stage Mode
Parameters
| Name | Type | Description | Expected Values | Default Value |
|---|---|---|---|---|
| effect_name | string | The effect name. | "PITCH" or "PAN" | "PITCH" |
| effect_value | int | The effect value. | 100 | 100 |
Description
Example
There are no examples documented for this article.
- Scratch Based Default Extensions
- Artificial Intelligence
- Innovative Extensions
- Machine Learning Environment
- Quarky
- Quarky Intellio I2C Communication
- Quarky Advance Sensors Extension
- Quarky Connect
- Display (Quarky)
- Quarky (Main)
- Robot (Quarky)
- Sensors (Quarky)
- Speaker (Quarky)
- Quarky Ultimate Robots
- Quarky Expansion Board
- Mars Rover
- Humanoid (Quarky)
- Quadruped (Quarky)
- IoT House (Quarky)
- Quarky Mecanum
- Quarky Robotic Arm
- Dabble
- Quarky Advance Line Following
