Support generators and a length limit in main.lua
Add oscillator