Menu

HarmonicTension

Rael B. Gimenes Toffolo

Harmonic Tension

A class to calculate roughness of notes or group notes, based in the Helmholtz, Plomp & Levelt, Parncutt and Ferguson algorithms.

HarmonicTension

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.

HarmonicTensionNT

Version of Harmonic Tension that uses physical proportions to create the harmonic series of each note.

The usage is the same of HarmonicTension.


Related

Wiki: Home

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.