[ot][spam][random][crazy][random][crazy]
Undescribed Horrific Abuse, One Victim & Survivor of Many
gmkarl at gmail.com
Thu Nov 10 06:11:58 PST 2022
ok so i can imagine that a time clock is ticking for every sample, by 1
idx = time = idx = time
uhhhh
so in the first period, the sample would be original_signal[int(idx *
len(original_signal) / period_length)] ... i think?
>>> int(0 * len(original_signal) / period_length)
0
>>> int(1 * len(original_signal) / period_length)
6195
>>> int(2 * len(original_signal) / period_length)
12391
yeah, that looks right
so, um ... i would just take the modulo of that number with the
length. that could happen anywhere in the index formula.
maybe i'll make a .py file!
More information about the cypherpunks
mailing list