Fingercomp
Fingercomp
The following code should raise an error in the main thread, propagating one thrown by the coroutine body: ```lua print(coroutine.wrap(function() error("test") end)()) print("should be unreachable") ``` In native Lua and...
Code to reproduce the issue: ```lua local s = require("component").sound s.setWave(1, s.modes.square) s.setWave(3, s.modes.sine) s.setFrequency(1, 440) s.setFrequency(3, 220) s.setVolume(1, 1) s.setVolume(3, 1) s.setTotalVolume(1) s.setFM(1, 3, 220) -- ch3 now modulates...
The sound card allows you to set the frequency of a channel to a negative value, which breaks half the oscillators (`state.offset` goes deep into negative). Or infinite, breaking the...