Skip to content

Commit

Permalink
Merge pull request #15 from monome/re-acquaint
Browse files Browse the repository at this point in the history
acquaintances.lua: fix math.exp
  • Loading branch information
dndrks authored Jan 16, 2024
2 parents 4f2afc1 + 96e5701 commit 687e848
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snippets/acquaintances.lua
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function init()
end

function update_speeds(v)
local freq = math.exp(2, -(v+offset))
local freq = 2^(-(v+offset))
local intone = math.min(5, math.max(-5, input[2].volts / 5))
if intone >= 0 then
for n=1,4 do
Expand Down

0 comments on commit 687e848

Please sign in to comment.