Port the standalone emitter example over from numbat-emitter.