Specifying file names for recorded audios

PennController for IBEX Forums Support Specifying file names for recorded audios

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #6313
    mg5171
    Participant

    Hello,
    I’m wondering if there’s a way to specify the filenames for the audios recorded using newVoiceRecorder. Is there a .label() command or similar? Is it possible to use a variable.column format to name them?
    Thanks!

    #6314
    Jeremy
    Keymaster

    Hello,

    With the most recent versions of PennController, the media files are named after the element’s name, so if you have newMediaRecorder( "production", "audio" ) then the filename will be production.webm (assuming your browser saves the audio file as webm, and you have no other MediaRecorder element named production in the course of your experiment).

    The uploaded zip files containing the audio files, however, are named using (almost perfectly) unique strings, to avoid upload conflict issues, and also because the various audio files from the same trial or even from multiple trials can all end up packaged in a single zip file in a non-deterministic way

    Jeremy

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.