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

[FEATURE] écouter/stopper la lecture d’une consigne (PIX-13754) #10516

Merged
merged 3 commits into from
Nov 15, 2024

Conversation

mcampourcy
Copy link
Contributor

🍂 Problème

Permettre la vocalisation des consignes depuis les écrans sur Pix Junior

🌰 Proposition

  • Ajouter un bouton “J'écoute” à la fin de chaque bulle du robot dans les épreuves
  • Lorsqu’un élève clique sur “J'écoute” , le bouton change en bouton “Stop” (voir maquette) durant toute la lecture de la consigne. Quand la lecture est terminée, le bouton redevient “J'écoute”

🪵 Pour tester

Capture d’écran 2024-11-08 à 14 31 59

@pix-bot-github
Copy link

Une fois les applications déployées, elles seront accessibles via les liens suivants :

Les variables d'environnement seront accessibles via les liens suivants :

@mcampourcy mcampourcy closed this Nov 8, 2024
@mcampourcy mcampourcy reopened this Nov 12, 2024
@pix-bot-github
Copy link

Une fois les applications déployées, elles seront accessibles via les liens suivants :

Les variables d'environnement seront accessibles via les liens suivants :

@rouxxi rouxxi force-pushed the pix-13754-oralization-in-pix-junior branch from 86c13fd to 0e590d9 Compare November 13, 2024 10:44
@rouxxi rouxxi force-pushed the pix-13754-oralization-in-pix-junior branch 3 times, most recently from 5413e7d to 4e8fdcd Compare November 13, 2024 15:32
@aurelie-crouillebois aurelie-crouillebois force-pushed the pix-13754-oralization-in-pix-junior branch from f2e9117 to f82911e Compare November 14, 2024 10:44
@aurelie-crouillebois aurelie-crouillebois marked this pull request as ready for review November 14, 2024 10:44
@aurelie-crouillebois aurelie-crouillebois requested review from a team as code owners November 14, 2024 10:44
@aurelie-crouillebois aurelie-crouillebois force-pushed the pix-13754-oralization-in-pix-junior branch from f82911e to 4d1153d Compare November 14, 2024 14:16
@rouxxi rouxxi force-pushed the pix-13754-oralization-in-pix-junior branch from 4d1153d to b730301 Compare November 14, 2024 15:37
Copy link
Member

@yaf yaf left a comment

Choose a reason for hiding this comment

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

👍 reste un petit refactoring pour extraire un bout de code dans le composant OralizationButton

utterance.rate = 0.8;
utterance.text = text;

window.speechSynthesis.speak(utterance);
Copy link
Member

Choose a reason for hiding this comment

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

Extraire un peu le code autour de utterance pour rendre plus accessible et compréhensible les réglages (pitch et rate

@pix-service-auto-merge pix-service-auto-merge force-pushed the pix-13754-oralization-in-pix-junior branch from 20eb5e5 to c6227d3 Compare November 15, 2024 08:18
@pix-service-auto-merge pix-service-auto-merge merged commit 6d6ef0a into dev Nov 15, 2024
8 of 9 checks passed
@pix-service-auto-merge pix-service-auto-merge deleted the pix-13754-oralization-in-pix-junior branch November 15, 2024 08:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants