Implement probabalistic rounding #534

Open
opened 2025-07-29 09:47:02 +00:00 by martinwguy · 0 comments
martinwguy commented 2025-07-29 09:47:02 +00:00 (Migrated from codeberg.org)

Implement probabalistic rounding

Description

Probabalistic rounding (PROUND) uses the fractional part as the probability for rounding up. For example, 3.14 is rounded up to 4 with a probability of 14% and rounded down to 3 with a probability of 86%.(*)

This is interesting for choosing discrete values in the output of effects that work internally in higher precision, maybe for bit-depth reduction and maybe dithering.

*) The R5N Distributed Hash Table, sec. 6.4.

# Implement probabalistic rounding ## Description Probabalistic rounding (PROUND) uses the fractional part as the probability for rounding up. For example, 3.14 is rounded up to 4 with a probability of 14% and rounded down to 3 with a probability of 86%.(*) This is interesting for choosing discrete values in the output of effects that work internally in higher precision, maybe for bit-depth reduction and maybe dithering. *) The R5N Distributed Hash Table, sec. 6.4.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
martinwguy/sox_ng#534
No description provided.