SourceControlTime#
- class ansys.sound.core.sound_composer.SourceControlTime(file_str='')#
Sound Composer’s time source control class.
This class stores the source control, that is the control parameter values over time, used by the Sound Composer to generate a sound from a BBN or harmonic source.
Class instantiation takes the following parameters.
- Parameters:
- file_str
str
, default: “” Path to the control data file (WAV format or text format with header AnsysSound_SoundSamples).
- file_str
Methods
Convert a DPF fields container to a NumPy array.
Get output.
Get output as a NumPy array.
SourceControlTime.load_from_text_file
(file_str)Load control data from a text file.
SourceControlTime.load_from_wave_file
(file_str)Load control data from a WAV file.
Plot the control profile in a figure.
Process inputs.
Attributes
Control profile (control parameter values over time).