Module for generating a modular scale