Minim
core
ugens
analysis
 
Name logAverages
Examples
None available
Description Sets the number of averages used when computing the spectrum based on the minimum bandwidth for an octave and the number of bands per octave. For example, with audio that has a sample rate of 44100 Hz, logAverages(11, 1) will result in 12 averages, each corresponding to an octave, the first spanning 0 to 11 Hz. To ensure that each octave band is a full octave, the number of octaves is computed by dividing the Nyquist frequency by two, and then the result of that by two, and so on. This means that the actual bandwidth of the lowest octave may not be exactly the value specified.
Syntax
logAverages(minBandwidth, bandsPerOctave);
Parameters
minBandwidth   the minimum bandwidth used for an octave
bandsPerOctave   how many bands to split each octave into
Returns None
Usage Web & Application
Related