SourceControlSpectrum#
- class ansys.sound.core.sound_composer.SourceControlSpectrum(duration=0.0, method=1)#
Sound Composer’s spectrum source’s control class.
This class stores the control parameters used by the Sound Composer for a spectrum source, namely its duration in seconds and the sound generation method to be used.
Class instantiation takes the following parameters.
- Parameters:
Methods
SourceControlSpectrum.convert_fields_container_to_np_array
(fc)Convert a DPF fields container to a NumPy array.
Get the sound generation method name.
Get output.
Get output as a NumPy array.
Plot the output.
Process inputs.
Attributes
Duration of the generated sound, in seconds.
Sound generation method to be used.