PICO-8 appears to divide the base sampling frequency (22050 Hz) by an integer variable using a simple period counter.
The "period" value (the number of base audio samples the RNG is sampled+held for before being sampled and held again) is determined with this expression:
max(64-flr(note),1)
note
is in the range of 0 to 63 (as within the memory encoding of an SFX row), which could potentially be outside of the range and even be a non-integer.
[Please log in to post a comment]