You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
428B

  1. require_relative '../module'
  2. module DHE
  3. class Swave < DHE::Module
  4. def initialize
  5. super(name: 'SWAVE', hp: 4, foreground: [16, 100, 50], background: [16, 100, 97])
  6. center = @width / 2.0
  7. large_knob(x: center, y: 43.5, label: 'CURVE')
  8. cv_port(x: center, y: 62)
  9. input_port(x: center, y: 97)
  10. output_port(x: center, y: 112)
  11. end
  12. end
  13. end
  14. MODULE_TO_FILENAME[DHE::Swave.new] = __FILE__