SCUtils Wiki
Brought to you by:
rbgtoffolo
A class to calculate roughness of notes or group notes, based in the Helmholtz, Plomp & Levelt, Parncutt and Ferguson algorithms.
Version of Harmonic Tension that uses equal temperament to create the harmonic series of each note.
Usage:
a = HarmonicTension([array of midi notes]); a.nHarmonics = 6; // setup of how many harmonics are in Harmonic Serie // of each note. Default is 10. a.multiply = true; // choose if the overall roughness will be attenuated by // amplitude of each pair of harmonics. Default is: false. a.roughness // calculate overal roughness.
Version of Harmonic Tension that uses physical proportions to create the harmonic series of each note.
The usage is the same of HarmonicTension.