LUA Reference Guide
2.8
Search
⌃K

playFile(name)

Play a file from the SD card
@status current Introduced in 2.0.0, changed in 2.1.0

Parameters

  • path (string) full path to wav file (i.e. “/SOUNDS/en/system/tada.wav”)
    Introduced in 2.1.0: If you use a relative path, the current language is appended
    to the path (example: for English language: /SOUNDS/en is appended)

Return value

none