Skip to content

Instantly share code, notes, and snippets.

@anandwana001
Last active October 15, 2021 10:32
Show Gist options
  • Save anandwana001/65b78af120f6f6f3f02ae272cf7f02e1 to your computer and use it in GitHub Desktop.
Save anandwana001/65b78af120f6f6f3f02ae272cf7f02e1 to your computer and use it in GitHub Desktop.
id: "17"
title: "Audio Test"
init_state_name: "Introduction"
states {
key: "Finish"
value {
content {
content_id: "content"
text: "<p>Congratulations, you have finished!</p>"
}
interaction {
end_exploration {
}
}
recorded_voiceovers {
voiceover_content_mapping {
voiceover_content_mapping {
key: "en"
value {
filename: "test_audio_2_en.mp3"
file_size_bytes: 59289
}
}
voiceover_content_mapping {
key: "hi-en"
value {
filename: "test_audio_2_hi_en.mp3"
file_size_bytes: 88905
}
}
}
}
written_translations {
translation_language_mapping {
}
}
}
}
states {
key: "Introduction"
value {
content {
content_id: "content"
text: "<p>Try clicking on the speaker! After listening, click continue.</p>"
}
interaction {
continue_instance {
customization_args {
button_text {
content_id: "ca_buttonText_0"
text: "Continue"
}
}
default_outcome {
destination_state: "Second"
feedback {
content_id: "default_outcome"
}
}
}
}
recorded_voiceovers {
voiceover_content_mapping {
}
voiceover_content_mapping {
voiceover_content_mapping {
key: "en"
value {
filename: "test_audio_1_en.mp3"
file_size_bytes: 95426
}
}
voiceover_content_mapping {
key: "hi-en"
value {
filename: "test_audio_1_hi_en.mp3"
file_size_bytes: 132719
}
}
}
voiceover_content_mapping {
voiceover_content_mapping {
key: "en"
value {
filename: "test_audio_1_en.mp3"
file_size_bytes: 95426
}
}
voiceover_content_mapping {
key: "hi-en"
value {
filename: "test_audio_1_hi_en.mp3"
file_size_bytes: 132719
}
}
}
}
written_translations {
translation_language_mapping {
}
translation_language_mapping {
}
translation_language_mapping {
}
}
}
}
states {
key: "Second"
value {
content {
content_id: "content"
text: "<p>Try typing some code.</p>"
}
recorded_voiceovers {
voiceover_content_mapping {
voiceover_content_mapping {
key: "hi-en"
value {
filename: "test_audio_3_hi_en.mp3"
file_size_bytes: 59613
}
}
}
voiceover_content_mapping {
voiceover_content_mapping {
key: "hi-en"
value {
filename: "test_audio_3_hi_en.mp3"
file_size_bytes: 59613
}
}
}
voiceover_content_mapping {
voiceover_content_mapping {
key: "hi-en"
value {
filename: "test_audio_3_hi_en.mp3"
file_size_bytes: 59613
}
}
}
}
written_translations {
translation_language_mapping {
}
translation_language_mapping {
}
translation_language_mapping {
}
}
}
}
states {
key: "Third"
value {
content {
content_id: "content"
text: "<p>Are you a cat or dog person?</p>"
}
interaction {
text_input {
customization_args {
rows: 1
}
answer_groups {
base_answer_group {
outcome {
destination_state: "Finish"
feedback {
content_id: "feedback_1"
text: "<p>I like cats too.</p>"
}
}
}
}
answer_groups {
base_answer_group {
outcome {
destination_state: "Finish"
feedback {
content_id: "feedback_2"
text: "<p>I like dogs too.</p>"
}
}
}
}
default_outcome {
destination_state: "Third"
feedback {
content_id: "default_outcome"
text: "<p>I\'m not sure what that animal is.</p>"
}
}
hints {
hint_content {
content_id: "hint_1"
text: "<p>There\'s no wrong answer.</p>"
}
}
solution {
base_solution {
explanation {
content_id: "solution"
text: "<p>I\'m a cat person.</p>"
}
}
correct_answer: "cat"
}
}
}
recorded_voiceovers {
voiceover_content_mapping {
}
voiceover_content_mapping {
voiceover_content_mapping {
key: "en"
value {
filename: "content-en-3iibmhu8je2.mp3"
file_size_bytes: 57996
}
}
}
voiceover_content_mapping {
voiceover_content_mapping {
key: "en"
value {
filename: "feedback-en-s0w3v9gslr9.mp3"
file_size_bytes: 55733
}
}
}
voiceover_content_mapping {
voiceover_content_mapping {
key: "en"
value {
filename: "feedback-en-kt33y1e2rwg.mp3"
file_size_bytes: 41549
}
}
}
voiceover_content_mapping {
voiceover_content_mapping {
key: "en"
value {
filename: "feedback-en-vvixng5ajds.mp3"
file_size_bytes: 38524
}
}
}
voiceover_content_mapping {
voiceover_content_mapping {
key: "en"
value {
filename: "hint-en-jca2lxjibh.mp3"
file_size_bytes: 47188
}
}
}
voiceover_content_mapping {
voiceover_content_mapping {
key: "en"
value {
filename: "hint-en-jca2lxjibh.mp3"
file_size_bytes: 47188
}
}
}
voiceover_content_mapping {
voiceover_content_mapping {
key: "en"
value {
filename: "hint-en-jca2lxjibh.mp3"
file_size_bytes: 47188
}
}
}
voiceover_content_mapping {
voiceover_content_mapping {
key: "en"
value {
filename: "solution-en-t0xc2qtuf0j.mp3"
file_size_bytes: 79822
}
}
}
}
written_translations {
translation_language_mapping {
}
translation_language_mapping {
}
translation_language_mapping {
}
translation_language_mapping {
}
translation_language_mapping {
}
translation_language_mapping {
}
translation_language_mapping {
}
translation_language_mapping {
}
translation_language_mapping {
}
}
}
}
content_version: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment