Add an option to control the quality of the spectrum chart

The toolbox consumes a lot of processing due to the high quality of the spectrum graph, on weaker computers this causes crashes and even makes it impossible to use the toolbox, I believe that implementing an option to control the quality of this graph will solve the problem of many people.