Initial C code for a gate effect, whilst I figure out the actual
implementation details for including it in plugin(s).