Error 703:Unable to play

193 views
Skip to first unread message

xchacon99 APP

unread,
Aug 14, 2019, 7:18:42 PM8/14/19
to MIT App Inventor Forum
Hola, hice una pequeña aplicación para que cuando toque una imagen se ejecute un sonido. Pero cuando quiero probarla me sale este mensaje: "Error 703:Unable to play"

¿Alguien me puede indicar como puedo corregirlo?

Gracias

Chris Ward

unread,
Aug 14, 2019, 7:27:17 PM8/14/19
to MIT App Inventor Forum
Hi

We need to know much more - please show us the code Blocks you have used to play a sound, and attach the sound file.

Chris Ward

unread,
Aug 14, 2019, 7:30:43 PM8/14/19
to MIT App Inventor Forum
.... note, The Sound component is for very short files (such as sound effects in a game). If your sound file is 'long', use the Player component. Also, check that the sound file is not corrupted - try playing it with a player on your PC.

xchacon99 APP

unread,
Aug 16, 2019, 9:51:41 AM8/16/19
to mitappinv...@googlegroups.com
Hola. Muchas gracias. Adjunto el código que he usado y los archivos de sonido cortos creados para hacer el ejercicio. Miden máximo 3 segundos. El ejercicio que realicé es el que se ofrece en sitio de APP Inventor:  "Crear una aplicación móvil para trabajar en el aula con App Inventor", disponible en: https://youtu.be/7a-o3IrSoB4 

Este es el código que he usado. Pero cuando hago la prueba en el teléfono siempre me sale el mensaje: Error 703:Unable to play

blocks-codigo.png




S-A.mp3
S-cinco.mp3
S-Lapiz.mp3
S-Reloj.mp3
S-Triangulo.mp3
S-Zanahoria.mp3

BodyMindPower

unread,
Aug 16, 2019, 4:24:00 PM8/16/19
to MIT App Inventor Forum
change language to English and post all relevant blocks

xchacon99 APP

unread,
Aug 19, 2019, 10:48:22 AM8/19/19
to MIT App Inventor Forum

Estos son los bloques en inglés:


blocks (1).png


blocks (1).png

TimAI2

unread,
Aug 19, 2019, 11:15:55 AM8/19/19
to mitappinv...@googlegroups.com
The youtube example is poor app design, but simple.

Much easier to use one sound component and set the sound source for each button

blockssetsoundsourceandplay.png


xchaconsplaybackissue.aia

TimAI2

unread,
Aug 19, 2019, 12:59:26 PM8/19/19
to MIT App Inventor Forum
Or:

blocksplaysoundanybutton.png


xchacon99 APP

unread,
Aug 19, 2019, 1:48:56 PM8/19/19
to MIT App Inventor Forum
Muchas gracias por la ayuda.

Cometí un error de principiante. No había seleccionado la "Fuente" de cada componente de sonido en sus Propiedades. 

Luego de hacerlo, la pequeña App empezó a funcionar. 

Hice, también, los dos ejemplos que TimAi2 me anotó y funcionan perfectamente, son muy interesantes.

Estoy agradecida por el apoyo que me dieron...
Reply all
Reply to author
Forward
0 new messages