make_dsp_environment: A utility function to make a concurrency-safe DSP environment

View source: R/praat.R

make_dsp_environmentR Documentation

A utility function to make a concurrency-safe DSP environment

Description

The function will make a unique directory associated with a particular speech signal file, which will then be unique ans safe for calling Praat DSP functions concurrently.

Usage

make_dsp_environment()

Details

Teardown of the environment should be done using the clear_dsp_environment function, which should then be called using the same signal file name. The file path is used "as is" when creating the concurrency safe environment, so the user should make sure to do any file path normalization prior to using this function and clear_dsp_environment so that the unique identifier of the environment being constructed and tore down are ensured to be the same.

Value

The full path of the constructed directory (string).

See Also

clear_dsp_environment


humlab-speech/superassp documentation built on May 8, 2024, 2:27 p.m.