dispel.providers.bdh.tasks.voice module#

Voice assessment related functionality.

This module contains functionality to extract measures for the Voice assessment.

class dispel.providers.bdh.tasks.voice.DecodeRawAudio[source]#

Bases: TransformStep

Transform the raw audio string to a pd.Series object.

This class transforms a base64 encoded audio string to a pd.Series object. The code is optimized so that the transformation is done using a bytes stream buffer in order to avoid writing audio files in memory.

data_set_ids: str | Iterable[str] = 'audio'#

An iterable of data sets to be being processed

static decode_raw_audio_base64(data)[source]#

Return a filtered version of the tap dataset.

Parameters:

data (DataFrame) –

Return type:

Series

definitions: List[RawDataValueDefinition] = [<RawDataValueDefinition: raw_amplitude (raw amplitude)>]#
new_data_set_id: str = 'amplitude'#