SensoryDissonance:
Filter:
sc3-plugins/Classes (extension) | UGens > Analysis

SensoryDissonance
ExtensionExtension

Perceptual feature modeling sensory dissonance
  

Description

Sensory Dissonance model, measuring roughness between pairs of prominent spectral peaks. Follows the algorithm in William A. Sethares (1998) Consonance-Based Spectral Mappings. CMJ 22(1): 56-72.

In usual use, you probably won't care about the other arguments; just pass an FFT in, assuming FFT size 2048 by default.

Class Methods

.kr

Arguments:

fft

input fft chain, that is, from an FFT UGen

maxpeaks

Maximum number of spectral peaks detected; cannot be modulated, initialisation only.

peakthreshold

Minimum spectral power detection threshold for a peak

norm

Normalisation factor. Calculated for you in the UGen class if you don't provide one, but you can experiment here. In combination with the next argument and maxpeaks, allows you to have alternative range outputs if you so desire.

clamp

Clamps very high dissonances, in default mode will end up with sensory dissonance measure in range 0.0 to 1.0

Examples