Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(Open Response): Add SpeechToText transcription support #1642

Merged
merged 7 commits into from
Feb 21, 2024

Conversation

hirokiterashima
Copy link
Member

@hirokiterashima hirokiterashima commented Feb 20, 2024

Changes

  • Create SpeechToTextComponent to handle speech to text transcription
  • Add SpeechToTextComponent to Open Response component so students can speak their response

Test Prep

Test

  • Student can speak their response in an Open Response component using the record button, in the language that they choose.
    • spoken language will be transcribed and appended to the end of the Open Response component textarea.
  • Chosen language persists across components and steps

Closes #1623

hirokiterashima and others added 6 commits February 12, 2024 10:58
- Switch language chooser from mat-select to mat-menu
- Create separate buttons for start/stop recording for better accessiblity
- Show text when recording
#1634)

Disable recording/stop recording buttons if this component did not initiate the recording.
…1635)

Use a shared signal in TranscribeService to store the language selection. This way students will no longer need to choose their preferred language each time they need to transcribe.
@hirokiterashima hirokiterashima self-assigned this Feb 20, 2024
@hirokiterashima hirokiterashima marked this pull request as ready for review February 21, 2024 20:04
@hirokiterashima hirokiterashima merged commit e28b7e3 into develop Feb 21, 2024
4 of 5 checks passed
@hirokiterashima hirokiterashima deleted the issue-1623-open-response-speech-to-text branch February 21, 2024 20:56
@geoffreykwan
Copy link
Member

🎉 This PR is included in version 5.138.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

feat(Open Response): Allow students to enter response by Speech to Text
3 participants