When I put a file elvis.mid
in the Data folder of my game, it won't be picked up as a Sequence.
The following sample code shows that my midi file exists; but it cannot be loaded as a Sequence:
path = "elvis.mid"
print("loading", path)
print("exists?", playdate.file.exists(path))
local s = snd.sequence.new(path)
local ntracks = s:getTrackCount()
loading elvis.mid
exists? true
ntracks 0
I validated that the file is valid by loading it from the Source folder instead. That works fine
Possibly related, probably not: Ability to load all types of uncompiled assets from datastore directory? - #7 by matt