Man pages for syntheso/musicassessr
musicassessr; develop music psychology tests and assess musicological/psychological data

adaptive_arrhythmic_melody_trialsAdaptive arrhythmic melody trials block
add_feedbackHelper for adding a feedback function to a timeline of pages
add_feedback_with_progressHelper for adding a feedback function to a timeline of pages...
arrhythmic_melody_trialsArrhythmic melody trials block
arrhythmic_ntile_sampler_codeblockSample arrhythmic melodies by N-tiles
audio_melodic_production_trialsPresent a trial block of melodies from audio files
calculate_stable_partCalculate metrics related to "changepoints" in a time series...
compute_accuracy_measures_alignedCompute aligned accuracy measures
conditional_proceed_if_yesConditional logic if posed a yes or no question
create_socialsCreate an interface to share test score on socials
deploy_demographicsDeploy Demographics via psyquest
download_files_from_ec2Download files from the ec2 instance (in batches)
empty_code_blockAn empty code block
empty_pageAn empty page (with trigger button hidden and possible to...
end_of_long_note_trial_screeningEnd of long note trial screening code block
end_sessionEnd session
expand_string_df_rowExpand a string dataframe row to a dataframe
extract_audio_featuresExtract audio features from an audio file
feedback_imageFeedback as an image
feedback_melodic_productionFeedback for melodic production pages
feedback_melodic_production_simpleSimple melodic production feedback
feedback_rhythm_productionFeedback for rhythm production style pages
feedback_syllable_classificationFeedback for syllable classification
filler_taskDeploy a filler task
final_page_or_continue_to_new_testShould the end of the test present a final page or not?
find_closest_stimuli_pitch_to_user_production_pitchesFind the closest pitch(s) in a stimulus, to the notes a user...
find_this_note_trialsPresent "Find This Note" trials
get_answer_add_trial_and_compute_trial_scores_s3Get answer
get_answer_async_midi_vs_audioGet answer async midi vs audio
get_answer_meta_dataStore answer meta data
get_answer_midiGet answer for a MIDI page
get_answer_midi_melodic_productionGet a MIDI result and compute melodic production scores
get_answer_onset_detectionGet onset information from an audio file
get_answer_pyinGet answer by running pyin on a recorded audio file
get_answer_pyin_long_noteget_answer pyin for long notes
get_answer_pyin_melodic_productionAnalyse a melody with pyin then compute melodic production...
get_answer_pyin_melodic_production_additional_measuresWrapper to add user-specified additional scoring measures to...
get_answer_rhythm_productionGet answer for rhythm production data
get_answer_save_audio_fileSimple saving of the corresponding URL of a trial file
get_answer_simple_pyin_summarysummarise pyin output with basic statistics
get_answer_syllable_classificationEstimate syllable from an audio file
get_implicit_harmoniesget harmonies via the Krumhansl-Schmuckler algorithm
get_instrument_rangeGet instrument range
get_instrument_range_pagesGet Instrument Range Pages
get_long_note_pcasGet long note PCA scores
get_melody_dtwCompute the dynamic time warp distance between a melodic...
get_opti3Get opti3
get_promise_valueGet value from a promise
get_SNR_pagesGet SNR pages
get_SNR_pages_loopGet SNR pages as a loop (i.e., the participant can take...
get_voice_range_pageA page to select a voice range
grab_meta_dataGrab meta data from a df
harmcoreCompute harmcore
have_requirementsCheck if user has requirements for musicassessr test
include_musicassessr_jsInclude musicassessr scripts in a webpage
insert_item_into_every_other_n_position_in_listInsert item into every other n position in list
interval_perception_trialsA block which test a participant's perception of intervals
is_null_or_not_all_TRUEIs NULL or not all TRUE?
is.scalar.logicalCheck if an object is a scalar logical
is.scalar.naCheck if an object is an NA (of length 1)
item_samplerItem sampler (stratified sampling)
item_sampler_materialized_viewItem sampler materialized view
item_sampler_v1Item sampler (stratified sampling)
item_sampler_v2Item sampler (stratified sampling) v2
list_official_testsList official musicassessr tests
list_tone_sound_typesList tone sound types
long_note_aggAggregated long note data from SAA paper
long_note_pitch_metricsCompute long tone pitch metrics
long_tone_trialsPresent a block of long tone trials
make_musicassessr_testMake a musicassessr test
melconvMelconv
melconv_from_pyin_resMelconv from a pyin result
melody_trialsMelody trials constructor
microphone_calibration_pageMicrophone Calibration Page
microphone_type_pageMicrophone Type Page
midi_or_audio_reactiveA conditional to present either MIDI OR audio logic,...
multi_interval_pageDeploy a block of n trials which play back intervals
multi_page_play_melody_loopA page builder for creating a specified number of...
multi_play_long_tone_record_audio_pagesBuild multiple play_long_tone_record_audio_pages based on a...
musical_test_showcaseLaunch the musical test showcase of musicassessr tests
musicassessr_dictThe musicassessr dictionary
musicassessr_initInitiate a musicassessr test
musicassessr_jsmusicassessr scripts
musicassessr_optSpecify options for a musicassessr test.
ngrukkonngrukkon as in Müllensiefen & Frieler (2004)
ngrukkon_safeAn ngrukkon wrapper to produce warnings and return NAs rather...
opti3Score using the opti3 measure of similarity
opti3_dfopti3 for melodies read by read_melody returns sorted tibble...
paradigmChoose a melody paradigm
pbet_learn_test_paradigmPBET learn test paradigm
pbet_learn_test_paradigm_standalonePBET learn test block
pipePipe operator
play_long_tone_record_audio_pageCreate a page which produces a given tone
play_melody_loopCreate a psychTestR test loop for having several attempts at...
plot_dtw_melodyPlot a melody after being transformed into a representation...
plot_longitudinalPlot longitudinal
plot_normal_dist_plus_scorePlot a normal distribution with a certain score highlighted
pmiPMI similarity measure
prepare_mel_stimuli_for_dtwConvert a melody to a pseudo-timeseries representation
present_stimuliPresent stimuli
present_stimuli_midi_notes_bothPresent midi notes in both visual and auditory modalities
present_stimuli_midi_notes_visualPresent MIDI notes as musical notation
print_code_blockPrint code block for testing
promises_pipePromise pipe operator #'
psych_test_snapUseful function for randomising which of 2 blocks goes first...
questionnairesQuestionnaires
read_melodyread a pYIN note track (outputted from Sonic Annotator or...
record_and_present_audio_blockA block for playing melodies as audio then recording the...
record_audio_blockA block of record audio pages
record_audio_pagePage to record audio in psychTestR
record_key_presses_blockA block of record key press pages
record_midi_blockA block of record MIDI pages
record_midi_pagePage to record MIDI in psychTestR
redirect_pageA page for redirecting a participant after x ms
rel_to_abs_mel_mean_centredConvert a melody from relative to absolute form by centering...
render_scores_tableRender scores in a shiny table
rhythfuzzCompute the rhythfuzz measure
rhythmic_melody_trialsRhythmic melody trials block
rhythmic_ntile_sampler_codeblockSample rhythmic melodies by N-tiles
sample_arrhythmicSample arrhythmic
sample_from_user_rangeSample from the user's range (determined at test time)
sample_in_ntiles_wrapperExport sample in ntiles wrapper
sample_melody_in_keySample melody in key
sample_randomRandomly sample num_items per dataframe
sample_reviewSample review
sample_rhythmicSample rhythmic
score_melodic_productionScore using melodic production measures
score_melody_interval_precisionScore melody interval precision
score_melody_note_precisionScore melody note precision
select_midi_device_pageCreate a page for selecting a MIDI device
select_musical_instrument_pagePage to select what instrument the participant is using
select_voice_pageA page for selecting a voice before a play words page
set_condition_pageAllow the experimenter to set a condition at the beginning of...
set_default_rangeGet the default range for an instrument
set_instrumentSet instrument ID
set_instrument_rangeSet a dummy range (to avoid having to manually set in the...
set_melodic_stimuliSet melodic stimuli
set_response_typeSet response type for a test manually
set_testSet test ID
setup_pagesSetup pages for musicassessr test
setup_pages_optionsSetup page options for a musicassessr test
share_score_pageA page for sharing scores.
shiny_tableShiny table
sing_arrhythmic_melody_trialsSing arrhythmic melody trial block
sing_happy_birthday_pageA page to identify a user's singing range by asking them to...
sing_rhythmic_melody_trialsSing rhythmic melody trial block
songbird_welcome_page_funSongbird welcome
test_acronym_to_nameTest acronym to its full name
test_headphones_pageTest headphones page
test_recording_appA quick app to test recording functionality
tidy_melodiesTidy melodies from psychTestR results object
to_string_dfUseful (but unsophisticated) util to collapse a df into a...
translate_from_dictTranslate an item from musicassessr dictionary
transpose_melody_to_easy_or_hard_keyTranspose a melody to a common/easy or uncommon/hard key
transpose_melody_to_keyTranspose a melody to a given key
unnest_timelineUnnest timeline helper
update_play_melody_loop_and_saveUpdate play melody loop and save
video_melodic_production_pageVideo melodic production page
wait_for_api_pageWait for API page
wjd_audio_melody_trialsA trial block which plays back real audio from the Weimar...
wrap_js_fun_bodyHelper to wrap some JS code in a function
wrap_musicassessr_timelineWrap a timeline with musicassessr dict
syntheso/musicassessr documentation built on April 5, 2025, 8:11 a.m.