audio
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: audio
On the mobile platform imported audioclips are not supported, if that is what you mean with "audio library".
Re: audio
Buongiorno Samuele,
oh, scusi, sounded like imported soundfiles.
OK, so you will probably have a folder with all of your audio files e.g. "sounds".
Add this folder (and all other files you need to add to your standalone) via the "Copy files" tab in the
"Standalone application Settings" (Menu -> File).
Then you will find these files on EVERY platform (yes, on desktop and mobile!) in your standalone
here -> specialfolderpath("resources")
Example mobile snippet:
This specialfolderpath will also work in the IDE, here it gives you the folder the current stack resides in.
Best
Klaus
oh, scusi, sounded like imported soundfiles.
OK, so you will probably have a folder with all of your audio files e.g. "sounds".
Add this folder (and all other files you need to add to your standalone) via the "Copy files" tab in the
"Standalone application Settings" (Menu -> File).
Then you will find these files on EVERY platform (yes, on desktop and mobile!) in your standalone
here -> specialfolderpath("resources")
Example mobile snippet:
Code: Select all
...
put specialfolderpath("resources") & "/sounds/your_sound.mp3" into tSoundFile
play file tSoundFile
...
Best
Klaus