Because of the big size of the sound files my app needs to play, I have these files stored in my mobile phone, in the "sounds" folder.
When I start my app, I get an error message saying the file cannot be found.I can't find the exact syntax to make my app find the files.
I tried several and many others, like:
/Sounds/PinkNoise.mp3
\HUAWEI P20\Mémoire de stockage interne\Sounds\BrownNoise.mp3
file:///Sounds/WhiteNoise.mp3
...
Does anyone know the correct syntax to my P20's "sounds" folder please?
You will actually be better off saving the files in the App's Application Specific Directory, because in the near future, that will be the only folder Google is going to allow you to use directly (for security reasons).
However, if your phone is running Android 10, you will need to wait for an App Inventor update (nb185, arriving very soon), because Google has already changed some things and the current App Inventor cannot handle them elegantly.
It would really help if you provided a screenshot of your relevant blocks, so we can see what you are trying to do, and where the problem may be.
To get an image of your blocks, right click in the Blocks Editor and select "Download Blocks as Image". You might want to use an image editor to crop etc. if required. Then post it here in the community.
a correct relative path would be /Sounds/BrownNoise.mp3
also you might want to remove the redundancy...
use only one Player component and set the corresponding sound before playing