Skip to content

Commit

Permalink
Merge branch 'master' of github.com:Gloveland/app
Browse files Browse the repository at this point in the history
  • Loading branch information
DariusIMP committed Mar 20, 2022
2 parents 957366f + 1d6ce76 commit 43b4dc4
Show file tree
Hide file tree
Showing 13 changed files with 6 additions and 6 deletions.
Binary file added assets/audios/campo.mp3
Binary file not shown.
File renamed without changes.
File renamed without changes.
Binary file added assets/audios/ir.mp3
Binary file not shown.
File renamed without changes.
File renamed without changes.
Binary file added assets/audios/manana.mp3
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
10 changes: 5 additions & 5 deletions lib/pages/ble_data_collection_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,16 @@ class _BleDataCollectionState extends State<BleDataCollectionPage>

static const Map<String, List<String>> gesturesMap = {
"Tiempo":["Antes", "Manana"],
"Sujeto": ["Campo", "Mama", "Papa", "Casa"],
"Sujeto": ["Campo", "Mama", "Papa", "Lapicera"],
"Verbos":["Vivir", "Haber", "Ir"],
"Pronombres": ["Todos"],
"Calificativo": ["Azul", "Blanco"],
"Salud": ["hospital", "dolor", "cabeza", "acidez"],
"Comida": ["helado", "galletitas", "cafe", "pan"],
"Salud": ["Hospital", "Dolor", "Cabeza", "Acidez"],
"Comida": ["Helado", "Galletitas", "Cafe", "Pan"],
"Dias": ["Lunes", "Martes", "Miercoles", "Jueves", "Viernes", "Sabado","Domingo"],
"Preguntas": ["que?", "donde?", "porque?"],
"Preguntas": ["Que?", "Donde?", "Porque?"],
"Numeros": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
"Saludos": ["Hola", "Buenos dias", "como estas", "bien", "mal" "Gracias"]
"Saludos": ["Hola", "Buenos dias", "Como estas?", "Bien", "Mal" "Gracias"]
};

@override
Expand Down
2 changes: 1 addition & 1 deletion lib/pages/interpretation_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ class _InterpretationWidgetState extends State<InterpretationWidget> {

void _playSound(String word) async {
try {
await assetsAudioPlayer.open(Audio("assets/audios/${word}.mp3"),
await assetsAudioPlayer.open(Audio("assets/audios/${word.toLowerCase()}.mp3"),
autoStart: true);
} catch (t) {
developer.log('error in audio play: $t', name: TAG);
Expand Down

0 comments on commit 43b4dc4

Please sign in to comment.