truebit decoder seems to be way less noisy with lower precision..
inspect this later!!
This commit is contained in:
parent
7f21346ebf
commit
5ef29d78ca
2 changed files with 2 additions and 2 deletions
|
|
@ -1,7 +1,7 @@
|
|||
local char, byte, floor, band, rshift = string.char, string.byte, math.floor, bit32.band, bit32.arshift
|
||||
|
||||
|
||||
local PREC = 10
|
||||
local PREC = 8
|
||||
local PREC_POW = 2 ^ PREC
|
||||
local PREC_POW_HALF = 2 ^ (PREC - 1)
|
||||
local STRENGTH_MIN = 2 ^ (PREC - 8 + 1)
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ function ui()
|
|||
end
|
||||
|
||||
local dcode = require "dcode"
|
||||
local make_decoder = dcode.make_dec
|
||||
local make_decoder = dcode.make_truebit_dec
|
||||
|
||||
local ws = http.websocket("ws://vps.sad.ovh:5821/ws")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue