| 28 Sep 2022 |
ctem | magnetophon: Noted. Thanks!
Now it would be awesome if I can get the entirety of my project in a nix-shell or something.
I’m also considering treating audio productions like programming projects, e.g., with a Nix flake specifying any hosts, plugins, etc. It would be interesting to solve music collaboration the Nix way.
| 14:58:31 |
sjfloat | Yeah, that's my approach. I use git-annex to store audio files. | 14:59:22 |
sjfloat | i.e. tracks from recording. | 14:59:44 |
ctem | Same here. I haven’t published my configs yet but wrote this design document as a start to describe a NixOS/mesh VPN/git-annex way to collaborate. | 15:01:44 |
magnetophon | Oh, nice! I started using annex (for audio files) at one point, but got a bit overwhelmed by it. Maybe I should look into it again! | 15:02:54 |
sjfloat | At the time I started using it, git didn't support large files. Native git might be a better choice now -- I don't know for sure. | 15:03:56 |
ctem | I’d hoped that by the time I got to writing that document that everything would be solved by IPFS, but for now I think git-annex is still best-in-class. | 15:04:01 |
ctem | It has a borg remote that’s great for use with, for example, an SBC w/a big backup drive attached to it (presumably stuck in the corner of the room of as many collaborators as possible). | 15:06:22 |
magnetophon | Why annex on top of borg instead of just annex? For the encryption? | 15:07:26 |
ctem | Yes, for a collaborative setup, encryption is part of it. Compression and dedup are also a big help. | 15:08:38 |
magnetophon | How well does the compression and dedup work for audio? | 15:09:26 |
ctem | I haven’t used this setup long enough to provide any numbers, but for example, if multiple collaborators are creating borg archives of the same project and many of the same files, borg's dedup should really shine. With git-annex alone, a git-annex cache might be helpful but wouldn’t provide any of the features you get w/borg for free. This is still an experiment, but the idea is to use borg to back up git-annex repos onto backup drives and keep git-annex working trees on workstations.
Another thing I should mention is that while I devised this w/music collaboration in mind, it’s implemented to be all-encompassing. (So in this case, borg will end up compressing and deduping a lot more than just audio.)
| 15:19:26 |
magnetophon | Sounds good, thanks! | 15:20:14 |
magnetophon | @ctem If you end up publisching the NixOS config you use for that, let me know! | 15:20:49 |