ArdenButterfield / stammer

Recreate any audio track by rearranging the frames of another video
MIT License
450 stars 31 forks source link

Map numpy audio band arrays to files #49

Open Firepal opened 1 year ago

Firepal commented 1 year ago

I've noticed that the audio band arrays can be very memory-intensive. I've seen my RAM easily eaten up just from the "analyzing audio" phase.

We could have array data on disk using numpy.memmap.

Firepal commented 1 year ago

I got this working a week ago, but lost the code in a power outage. Very promising from initial tests