{"id":571,"date":"2021-06-08T15:07:08","date_gmt":"2021-06-08T14:07:08","guid":{"rendered":"https:\/\/audiosample.de\/?page_id=571"},"modified":"2021-06-14T16:30:27","modified_gmt":"2021-06-14T15:30:27","slug":"voice-training","status":"publish","type":"page","link":"https:\/\/audiosample.de\/index.php\/voice-training\/","title":{"rendered":"Voice Training"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-601\" src=\"https:\/\/audiosample.de\/wp-content\/uploads\/2021\/06\/AllSentences-300x112.jpg\" alt=\"\" width=\"775\" height=\"290\" srcset=\"https:\/\/audiosample.de\/wp-content\/uploads\/2021\/06\/AllSentences-300x112.jpg 300w, https:\/\/audiosample.de\/wp-content\/uploads\/2021\/06\/AllSentences-1024x383.jpg 1024w, https:\/\/audiosample.de\/wp-content\/uploads\/2021\/06\/AllSentences-768x287.jpg 768w, https:\/\/audiosample.de\/wp-content\/uploads\/2021\/06\/AllSentences.jpg 1492w\" sizes=\"auto, (max-width: 706px) 89vw, (max-width: 767px) 82vw, 740px\" \/><\/p>\n\r\n<div class=\"mmr_form\">\r\n    <div class=\"\">\r\n        <input name=\"post_id\" id=\"post_id\" type=\"hidden\" \/>\r\n        <input name=\"project\" id=\"project\" type=\"hidden\" value=\"569\" \/>\r\n        <input name=\"form_url\" id=\"form_url\" type=\"hidden\" value=\"\/index.php\/wp-json\/wp\/v2\/pages\/571\" \/>\r\n        <input name=\"page_name\" id=\"page_name\" type=\"hidden\" value=\"Voice Training\" \/>\r\n        <!-- mmr_fields{\"type\":[\"text\",\"recording\",\"recording\",\"text\",\"text\"],\"label\":[\"What is your School or Prolific ID?\",\"Please record the NEUTRAL sentences listed above in a neutral voice\",\"Please record the AUTONOMY-SUPPORTIVE sentences listed above in a supportive voice\",\"Please record the CONTROLLING sentences listed above in a controlling voice\",\"\"],\"label_de\":[\"\",\"\",\"\",\"\",\"\"],\"placeholder\":[\"\",\"\",\"\",\"\",\"\"],\"default\":[\"\",\"\",\"\",\"\",\"\"],\"audio\":[\"\",\"\",\"\",\"\",\"\"],\"options\":[\"\",\"\",\"\",\"\",\"\"]}--><div class=\"mmr-form-section\">\n    <label>What is your School or Prolific ID?<\/label>\n    <input  class=\"mmr_field\" \n        mmr_label=\"What is your School or Prolific ID?\" \n        type=\"text\" \n        value=\"\" \n        placeholder=\"\" \n        id=\"mmr_input_0\"\n        onchange=\"mmrUpdatePost()\" onkeyup=\"mmrUpdatePost()\" \/>\n<\/div><div class=\"mmr-form-section\">\n    <label>Please record the NEUTRAL sentences listed above in a neutral voice<\/label>\n    <div class=\"recorder_div\">\n        <input name=\"recording_path[1]\" id=\"recording_path_1\" type=\"hidden\"  \/>\n        <button onclick=\"startStopRecording(1)\" id=\"mmr_start_1\" source-id='1' class=\"mmr_btn mmr_rec_btn\">Start Recording<\/button>        \n        <br>\n        <span style=\"font-size: x-small;\" class=\"mmr_disabled_msg\">Enter information to enable recording<\/span>\n    <\/div>\n    <div id=\"mm_dynamic_1\">\n        <span class=\"loading_holder\" id='loading_holder_1'>\n            Loading...        <\/span>\n        <audio id=\"playback_holder_1\" class=\"playback_holder\" controls >\n            <source id=\"playback_1\" src=\"\" type=\"audio\/x-wav\">\n        <\/audio>\n    <\/div>\n<\/div><div class=\"mmr-form-section\">\n    <label>Please record the AUTONOMY-SUPPORTIVE sentences listed above in a supportive voice<\/label>\n    <div class=\"recorder_div\">\n        <input name=\"recording_path[2]\" id=\"recording_path_2\" type=\"hidden\"  \/>\n        <button onclick=\"startStopRecording(2)\" id=\"mmr_start_2\" source-id='2' class=\"mmr_btn mmr_rec_btn\">Start Recording<\/button>        \n        <br>\n        <span style=\"font-size: x-small;\" class=\"mmr_disabled_msg\">Enter information to enable recording<\/span>\n    <\/div>\n    <div id=\"mm_dynamic_2\">\n        <span class=\"loading_holder\" id='loading_holder_2'>\n            Loading...        <\/span>\n        <audio id=\"playback_holder_2\" class=\"playback_holder\" controls >\n            <source id=\"playback_2\" src=\"\" type=\"audio\/x-wav\">\n        <\/audio>\n    <\/div>\n<\/div><div class=\"mmr-form-section\">\n    <label>Please record the CONTROLLING sentences listed above in a controlling voice<\/label>\n    <input  class=\"mmr_field\" \n        mmr_label=\"Please record the CONTROLLING sentences listed above in a controlling voice\" \n        type=\"text\" \n        value=\"\" \n        placeholder=\"\" \n        id=\"mmr_input_3\"\n        onchange=\"mmrUpdatePost()\" onkeyup=\"mmrUpdatePost()\" \/>\n<\/div>    <\/div>\r\n<\/div>\r\n<script>\r\n    var has_terms = \"70\";\r\n<\/script>\r\n<div style=\"display:none\">\r\n    <div id=\"mm_recording_terms\" title=\"Terms & Conditions\">\r\n        I confirm that I have read both the <a target=\"_blank\" class=\"highlighted\" href=\"https:\/\/audiosample.de\/index.php\/project-information\/\">Project Information<\/a> and the <a target=\"_blank\" class=\"highlighted\" href=\"https:\/\/audiosample.de\/index.php\/participant-information\/\">Participant Information<\/a> and agree to those terms    <\/div>\r\n<\/div>\r\n<script>\r\n    var current_recorder = 0;\r\n    var recording_keys = [\n    1,\n    2\n];\r\n    const mm_upload_url = 'https:\/\/audiosample.de\/?save_rec';\r\n    const mmr_stop = \"Stop recording\";\r\n    const mmr_saving = \"Saving...\";\r\n    const mmr_stopping = \"stopping...\";\r\n    const mmr_saved = \"Saved\";\r\n    const mmr_required = [\n    \"mmr_input_0\",\n    \"mmr_input_3\"\n];\r\n    \/\/ distinguish calls\r\n    var unique = Math.floor(100000 + Math.random() * 900000);\r\n            jQuery('#mmr_input_0').on(\"change\", function() {\r\n            check_recording_active();\r\n        });\r\n        jQuery('#mmr_input_0').on(\"keyup\", function() {\r\n            check_recording_active();\r\n        });\r\n            jQuery('#mmr_input_3').on(\"change\", function() {\r\n            check_recording_active();\r\n        });\r\n        jQuery('#mmr_input_3').on(\"keyup\", function() {\r\n            check_recording_active();\r\n        });\r\n    \r\n    function check_recording_active() {\r\n        console.log('checking...');\r\n        var active = true;\r\n        for (l of mmr_required) {\r\n            if (jQuery('#' + l).val() == '') {\r\n                active = false;\r\n            }\r\n        }\r\n        console.log('active::', active);\r\n        if (active) {\r\n            \/\/jQuery('.mmr_rec_btn').removeAttr(\"disabled\");\r\n            setActiveRecorder();\r\n            jQuery('.mmr_disabled_msg').hide();\r\n        } else {\r\n            \/\/jQuery('.mmr_rec_btn').attr(\"disabled\", true);\r\n            jQuery('.mmr_disabled_msg').show();\r\n        }\r\n    }\r\n    jQuery(document).ready(function($) {\r\n        check_recording_active();\r\n    });\r\n<\/script>\n<p>&nbsp;<\/p>\n<p><strong>Please click here for the second part of the study:\u00a0<\/strong> <a href=\"https:\/\/audiosample.de\/index.php\/voice-training-practice\/\">https:\/\/audiosample.de\/index.php\/voice-training-practice\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; Please click here for the second part of the study:\u00a0 https:\/\/audiosample.de\/index.php\/voice-training-practice\/<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-571","page","type-page","status-publish","hentry"],"translation":{"provider":"WPGlobus","version":"2.10.6","language":"gb","enabled_languages":["gb"],"languages":{"gb":{"title":true,"content":true,"excerpt":false}}},"_links":{"self":[{"href":"https:\/\/audiosample.de\/index.php\/wp-json\/wp\/v2\/pages\/571","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/audiosample.de\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/audiosample.de\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/audiosample.de\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/audiosample.de\/index.php\/wp-json\/wp\/v2\/comments?post=571"}],"version-history":[{"count":16,"href":"https:\/\/audiosample.de\/index.php\/wp-json\/wp\/v2\/pages\/571\/revisions"}],"predecessor-version":[{"id":637,"href":"https:\/\/audiosample.de\/index.php\/wp-json\/wp\/v2\/pages\/571\/revisions\/637"}],"wp:attachment":[{"href":"https:\/\/audiosample.de\/index.php\/wp-json\/wp\/v2\/media?parent=571"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}