I posted these in their own thread, but I’m adding them here since this seems to be the main repository for online demos:
Online microphone recording: code | try it
This demo shows how to create an experiment that records audio via a participant’s microphone online. It also checks whether the participant has granted microphone access, and if they have not, prompts them to do so.
Headphone check: code | try it
This demo, based on the headphone screener made by @sijiazhao (and shared above in this thread)—it uses the audio files for the Huggins Pitch task available from that project’s github. It differs from that project in that (1) it was made in the Builder (with a few JS code components), so you don’t need to modify the auto-generated JS file from the Builder, and (2) it saves the results to the participant’s data file, rather than terminating the experiment upon failure of the check.