Skip to content

Conversation

@Taym95
Copy link
Member

@Taym95 Taym95 commented Dec 18, 2025

…earRampToValueAtTime

Signed-off-by: Taym Haddadi <haddadi.taym@gmail.com>
// scheduled boundary time `tick`, not to `current_tick` ("now"). Otherwise linearRampToValueAtTime compute
// from the wrong start time/value when we missed earlier ticks.
let (next_start_time, next_start_value) = match current_event {
AutomationEvent::SetValueAtTime(val, tick) => {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is harder than I thought

@Taym95 Taym95 closed this Dec 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

WebAudio: playback begins at full volume even if the GainNode was set to 0 gain at start

1 participant