Skip to content

After numerous changes of volume/pitch, they became less responsive #130

@Kouzeru

Description

@Kouzeru

Expected behavior

Not far after the page loaded, (play sound, set volume, set effect) are quite responsive

2021-01-22_21-49-34.mp4

Actual behavior

After a while, they became less responsive, slowing down the project...

2021-01-22_21-47-46.mp4

more clear demonstration:

Untitledvid.mp4

Though restarting the project after the lag still doesn't make it more responsive until the invoke of [set volume] and [set pitch] removed. The project became responsive again when the page is reloaded.

Steps to reproduce

I used turbowarp to demonstrate them, assuming turbowarp still uses the same branch from the vanilla Scratch for this part, hence they inherit the behavior.

Project A
Start the project, and restart when the music done. After a while, the lag became noticeable.

Project B - (shared)
Set Synthesis Mode to 1 to enable the synthesizer mode which uses the volume/pitch effects to play the song.
Restart when the music done, the lag became noticeable too just after few minutes.

Operating system and browser

e.g. Mac OS 10.11.6 Safari 10.0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions