Closed artfwo closed 5 years ago
agreed.
should we keep a "counter" in system.lua
?
no, that's dangerous ("uncounted" recordings can be rewritten). better create new filenames based on existing files in the tape directory.
but won't tape files be frequently removed from the norns to clear space?
ie, i record 10 tapes, then use SYNC to transfer them to a computer and then delete them. i'd hope the tape name count wouldn't just restart from 0, but maybe that's fine?
time i understand but you mean even date will be inaccurate?
in some cases - yes, because when norns is switched off, the clock is stopped too and date/time will be loaded from disk next time it powers on.
so if you don't turn on wifi regularly, the time will lag away for hours and hours each time the system is powered off. and even network syncing requires that you first configure the timezone with raspi-config
, so chances that recordings will be named accurately are very low.
restarting the counter from 0 is fine with me.
oh, yeah then i agree it should be counter rather than date/time-based
+1 for keeping a global tape count, rather than current state of the directory. Much easier to keep track of recordings when archived, avoiding tape1 2.aif
, tape 1 3.aif
, which I often end up with from OP-1 tapes.
With norns system date/time being highly inaccurate due to absence of hwclock, it makes sense to name recorded files with numbers (foo00001.aif), does it?