tuwien-musicir / rp_extract

Rhythm Pattern music feature extractor by IFS @ TU-Vienna
GNU General Public License v3.0
111 stars 27 forks source link

write HDF5 file index earlier #19

Open audiofeature opened 7 years ago

audiofeature commented 7 years ago

HDF5 files are written continuously row by row.

After a recent commit, feature rows are flushed, and therefore safely.

If the process terminates earlier, we will loose the file_id index though, making the HDF5 file essentially useless.

Add also a writing + flushing of file_ids, e.g. every 100 files or so.