const Effect = ({ input, output }) => {
  for (let i = 0; i < input.length; i++) {
    output[i] = input[i] * -1;
  }
}

this.constructDevice = () => constructPerChannelDevice({
  implementation: Effect,
  inputs: {
    input: stereo('In'),
  },
  outputs: {
    output: stereo('Out'),
  }
});
