This repo contains scripts and materials for the music adaptation study with expert pianists.
Open Science Framework: https://osf.io/becf6/
- Environment: Mac OS X 10.15.7, Max MSP 8.1.11
-
Install the Shell package (https://github.com/jeremybernstein/shell/releases) into the package folder of Max 8.
-
The Shell package is used to generate necessary folders to store collected data. If it does not work in your environment, please create the following 2 folders manually.
- data (path: ~/experiment/data)
- midi (path: ~/experiment/midi)
data: raw_data
(test performance), predata
(baseline performance)
filtering.R
: to clean data and remove performance errors >> output: filtered foldertrimming.R
: to calculate dependent variables and remove outliers >> output: trimmed folderfunction.R
: to detect pitch errors in a performance / insert NAsideal.txt
: the ideal sequence of the piece (used for filtering)
baseline.Rmd
: analysis and plots when comparing between baseline and test performance >> output: html fileonlyfirst.Rmd
: analysis which only include the performance with the first instance of each student (category) >> output: html file
data: questionnaire.csv
questionnaire.Rmd
>> output: html file
Filtered and trimmed data files for analysis (see details: perception-v1.0: Workflow)
instruction.md
: instruction sheet for an experimenter >> output: html file, pdf fileimage
: figures used in the instruction sheet and the experimentpsd files
: images used for instructions >> output: png files
Sheet music for 4 types of expressions
- without expression (stim_n)
- with articulation (stim_a)
- with dynamics (stim_d)
- with articulation and dynamics (stim_m)
See details in Memo
- Environment: Mac OS X 10.15.6, Max MSP 8
- Python Environment
rating.py
: for the experimentmidiplayer.maxpat
: to make midi sound fromrating.py
image
: experimental stimuli (sheet music)mid
: experimental stimuli (performance data)practice
: stimuli for practice trials
cropped
: cropped sheet music