Commit bedaee10 authored by Aaron Braver's avatar Aaron Braver

Update readme with audio quality warning

parent a57bb814
......@@ -61,9 +61,9 @@ psychoJS.start({
expName: expName,
expInfo: expInfo,
resources: [
{'name': 'tone.wav', 'path': 'tone.wav'},
{'name': 'recording.png', 'path': 'recording.png'},
{'name': 'stimlist.csv', 'path': 'stimlist.csv'}
{'name': 'stimlist.csv', 'path': 'stimlist.csv'},
{'name': 'tone.wav', 'path': 'tone.wav'}
]
});
......
......@@ -69,9 +69,9 @@ psychoJS.start({
expName: expName,
expInfo: expInfo,
resources: [
{'name': 'tone.wav', 'path': 'tone.wav'},
{'name': 'recording.png', 'path': 'recording.png'},
{'name': 'stimlist.csv', 'path': 'stimlist.csv'}
{'name': 'stimlist.csv', 'path': 'stimlist.csv'},
{'name': 'tone.wav', 'path': 'tone.wav'}
]
});
......
......@@ -50,3 +50,11 @@ See [recording file names](#recording-file-names) above
### Add a start/stop recording button
Recording can be started/stopped with `mic.start()` and `mic.stop()` (see the [PsychoJS microphone documentation](https://psychopy.github.io/psychojs/Microphone.html)). Note that as implemented, recordings are only saved at the end of each routine, so `mic.stop()` won't automatically save the recording.
## A note on audio quality
The code in the Begin Experiment tab of the `mic_code` component in the `trial` routine sets the sampling rate to 44.1kHz, and this can be changed. Note that there are no checks for the quality of the participant's microphone, so the resulting audio may not be of high enough quality for fine phonetic analysis.
Also note that the `maxRecordingSize` value set in the `mic_code` defaults to 2400kb (24mb). This should be enough for most short recordings, but you may want to play with this value if you expect longer recordings.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment