makeVocalStatsDataset {vocaldia} | R Documentation |
makeVocalStatsDataset: create a dataset of vocalisation statistics (1 row per patient)
Description
Build a data frame createwith vocalisation statistics
Usage
makeVocalStatsDataset(
dir = c("data/Pitt/Dementia/cookie", "data/Pitt/Control/cookie"),
sildir = NULL,
silsuffix = "c.mp3.csv",
srdir = "data/Pitt/speech_rate/",
srsuffix = "sra",
sprate = T
)
Arguments
dir |
a string or vector containing the location (directory path) of the DementiaBank transcript files (.cha files) |
sildir |
directory where silence csv files are stored |
silsuffix |
the suffix of the silence profile files 'c.mp3.csv'. The format of such files should be the format used by Audacity label files, i.e. 'start time, end time, label' (without header), where 'label' should be 'silence' |
srdir |
directory where speech rate csv (1 value per utterance) files are stored |
srsuffix |
the suffix of the speech rate files (default: sre) |
sprate |
compute speech rate? (not in use yet) |
Value
a session's vocalisation feature stats
Examples
## Not run:
makeVocalStatsDataset(dir=c('ADReSS-IS2020-data/train/transcription/cc/',
'ADReSS-IS2020-data/train/transcription/cd/'),
sildir='ADReSS/silence/',
srdir='ADReSS/speech_rate/',
silsuffix='.wav-sil.csv')
## End(Not run)
[Package vocaldia version 0.8.4 Index]