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

[Spritelab] Play speech block #42323

Merged
merged 1 commit into from Sep 3, 2021
Merged

[Spritelab] Play speech block #42323

merged 1 commit into from Sep 3, 2021

Conversation

ajpal
Copy link
Contributor

@ajpal ajpal commented Sep 2, 2021

image

Works with the existing audioApi for gamelab, so there's not really any new logic here. Just creating the block and the spritelab command to pass through to the audio api.

@ajpal ajpal requested a review from a team September 2, 2021 22:25
playSpeech(speech) {
audioCommands.playSpeech({
text: speech,
gender: 'female',
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hardcoded gender + language for now, since this is just for Mike and Amy to prototype with. Eventually, we'll probably want to either add dropdowns to this block or make another block to set these.

@ajpal ajpal merged commit 4028122 into staging Sep 3, 2021
@ajpal ajpal deleted the sep2-play-speech branch September 3, 2021 18:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants