y-brehm / waveAlign

Python repo for audio loudness matching in order to end the loudness war between DJs.
3 stars 0 forks source link

Create caching mechanism #18

Closed SimonZimmer closed 2 months ago

SimonZimmer commented 1 year ago

When new files are added to a rekordbox library, the user needs to reprocess all "old" files which should be avoided because:

  1. takes a lot of time
  2. introduces risk of degrading files at some point through encoding over and over again.

To avoid that, we need some kind of caching that is stored persistently on the users machine (like a log file) When new files are introduced to the library, wavealign should recognise these files as "new", read their LUFS and then only process the new files.

sabjorn commented 1 year ago

@SimonZimmer could work with #19. Basically, the cache could be populated on first run through (calculate peak and lufs for each audio file). Then the second pass can move through each file in the cache.

sabjorn commented 1 year ago

@SimonZimmer i've started on the cache.

y-brehm commented 2 months ago

Closed with 8771374c50663b29389b1829cee3274637b56787