ID:2953774
 
BYOND Version:515
Operating System:Windows 11 Pro 64-bit
Web Browser:Firefox 132.0
Applies to:Dream Maker
Status: Open

Issue hasn't been assigned a status value.
Descriptive Problem Summary:

Numbered Steps to Reproduce Problem:

Change the pitch of a sound that is playing and update the sound to the client, and you will hear an audible delay.

Code Snippet (if applicable) to Reproduce Problem:
var/spd
var/countt
var/sound/sfx

client
New()
sfx = sound('engine.wav',repeat=1,wait=1,channel=1,volume=10)

world << sfx
sfx.status |= SOUND_UPDATE

.=..()


world
Tick()

countt = (countt + 1) %% 1 //change this last number from 1 to test longer periods of updates.
//should not have stuttering no matter what number is chosen here

spd += 0.01

if (spd > 1)
spd = -1

sfx.pitch = 1 + abs(spd)

world << "Speed: [spd]"
world << "Wait: [countt]"

if (countt == 0)
world << "Update Pitch"
world << sfx


Expected Results:

No stuttering whatsoever. Should hear a relatively smooth ramp up and down in pitch.

Actual Results:

Lots of stuttering

Does the problem occur:
Every time? Or how often? Every Time
In other games? Yes
In other user accounts? Yes
On other computers? Yes

When does the problem NOT occur? When not changing pitch

Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? (Visit http://www.byond.com/download/build to download old versions for testing.) No

Workarounds: None, no way to change pitch without a delay.