Skip to first unread message

rhh

unread,
Nov 29, 2016, 5:06:10 PM11/29/16
to MIT App Inventor Forum
My app is working well when .wav files are used for a sound, but when I try to use .mp3 files I receive Error 703: unable to play sound. I have tried Mp2 and M4A as well, but they don't work either. The only sound file that works is (.wav) Any suggestions?
Thanks,

Roger

Madan Mathod

unread,
Nov 29, 2016, 9:14:33 PM11/29/16
to MIT App Inventor Forum
provide a screenshot of your "relevant blocks". this will help to solve your issue.

rhh

unread,
Nov 30, 2016, 12:42:28 AM11/30/16
to MIT App Inventor Forum
Here is a screen shot of my buttons. Very simple . . . 1) push the button 2)hear the uploaded sound. Works great with .wav sound files. I then upload any compressed (.mp3,mp2,m4a,etc) audio file of the exact same sound sample and the error 703 comes up. Thanks for any help you can give.
Screen Shot 2016-11-29 at 10.39.26 PM.png

Taifun

unread,
Nov 30, 2016, 7:52:42 AM11/30/16
to MIT App Inventor Forum
try the Player component instead
Taifun

rhh

unread,
Nov 30, 2016, 12:15:46 PM11/30/16
to MIT App Inventor Forum
Thank you. The Player does play the compressed files. The only problem with the player is it requires the entire sound file to finish playing before another can be played. With my app, I need to be able to hear other sounds in rapid succession, or even better simultaneously while pressing multiple buttons at the same time (which I have not yet been able to figure out). The "Sound" block has the "MinimumInterval (ms)" option allowing me to set that at "0."  This is perfect for what I am trying to accomplish. I have seen piano apps out there that allow one to play simultaeous notes. Is this possible with the MIT App Inventor?

Thanks,

Roger

Taifun

unread,
Nov 30, 2016, 12:19:12 PM11/30/16
to mitappinv...@googlegroups.com
I have seen piano apps out there that allow one to play simultaeous notes. Is this possible with the MIT App Inventor?
see here https://groups.google.com/forum/#!searchin/app-inventor-developers-library/piano%7Csort:relevance
It does not look like you have used the forums yet, as a search using the search box above would have returned several threads about this topic.

Taifun

Trying to push the limits of App Inventor! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun. 



Advice: Before posting, it's a good idea to search in this forum. Many others have likely run into problems similar to yours. How to search see screenshot.

Reply all
Reply to author
Forward
0 new messages