Skip to main content

sound:sound composer - generate sound from spectrum source

Version: 0.0.0

Description

Generate a sound from a spectrum (as a Field), given the duration and the method (IFFT or Hybrid) to use for the sound generation.

Inputs

InputNameExpected type(s)Description
Pin 0
Required
source_spectrumfieldSpectrum, as a Field, from which the sound is generated. The expected unit of this spectrum is Pa^2/Hz.
Pin 1
Required
durationdoubleDuration in seconds of the generated sound.
Pin 2
Required
methodstringMethod to use for the sound generation. Supported input strings are: 'IFFT', 'Hybrid'.
Pin 3sampling_frequencydouble(Optional) Sampling frequency in Hz of the generated sound. Default: 44100 Hz.

Outputs

OutputNameExpected type(s)Description
Pin 0generated_soundfieldGenerated sound, as a Field.

Configurations

NameExpected type(s)Default valueDescription
mutexboolfalseIf this option is set to true, the shared memory is prevented from being simultaneously accessed by multiple threads.

Scripting

Category: sound

Plugin: sound

Scripting name: None

Full name: None

Internal name: sound_composer_generate_sound_spectrum

License: avrxp_snd_level1

Changelog

  • Version 0.0.0: Initial release.