| |
|
If you'd like to load or stream MP3 files, the following additional .jar files must be downloaded and either placed inside the 'code' folder in your sketch (the 'code' folder sits alongside your 'data' folder, and can be created if it does not exist), or in the 'library' folder inside the 'Ess' folder (alongside Ess.jar):
tritonus_share.jar
mp3spi1.9.2.jar
jl1.0.jar
No code is required to activate MP3 loading and streaming functionality.
These files cannot currently be included with the Ess distribution as they are licensed under the
LGPL.
It is important to realize that MP3 import adds a little over 200k to the size of your compiled sketch. If your sketch does not import MP3 files it is wise to make sure these files are not in your 'code' folder or in the 'library' folder prior to export.
NOTE: If you are having Java out of memory errors when trying to load MP3 files, either increase your Java heap size or use the AudioFile class to stream the files instead.
|