Play previously detected sounds from start or from threat appearance to end for manual classification

sound_classification_manual(
  df,
  trials = 1:nrow(df),
  sound_classification_file = "sound_classification.csv",
  sound_detection_file = "",
  from = "threat"
)

Arguments

df

A trial results data frame

trials

An integer selection of trials to play (corresponding to rows in output file), default: all rows

sound_classification_file

An output file name (existing files will be re-used; otherwise a new file is created), default: sound_classification.csv

sound_detection_file

A file with previously detected sounds (expected columns: sound_detected with 0/1 entries, sound_comment), default: use all sounds

from

A string indicating whether to play sound from "start" or from "threat" (default)