View source: R/sparse-spectrum.R
combine_sparse_spectra | R Documentation |
This function combines a series of sparse spectra into one spectrum assuming incoherent amplitude summation. This involves a rounding process, by which the MIDI pitch(-class) of each partial is rounded to a specified number of digits.
combine_sparse_spectra(..., digits = 6, coherent = FALSE)
... |
Sparse spectra to combine
(see |
digits |
(Integerish scalar) The MIDI pitch(-class) of each partial will be rounded to this number of digits. |
coherent |
Whether the amplitudes from different spectral components should be combined
assuming coherent summation, where the amplitudes simply add together
(default is |
A sparse spectrum object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.