makeVocalStatsDataset: makeVocalStatsDataset: create a dataset of vocalisation...

Description Usage Arguments Value Examples

View source: R/dbank.R

Description

Build a data frame createwith vocalisation statistics

Usage

1
2
3
4
5
6
7
8
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

1
2
3
4
5
6
7
8
## 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)

vocaldia documentation built on July 2, 2020, 2 a.m.