Clean-Samples icon indicating copy to clipboard operation
Clean-Samples copied to clipboard

Metadata location

Open yaxu opened this issue 4 years ago • 8 comments

.cleanmeta looks like an unused extension: https://github.com/search?q=extension%3Acleanmeta&type=Code

but is there a better, more self-explanatory name we could use?

yaxu avatar Mar 26 '21 21:03 yaxu

perhaps .samplemeta is better? also not taken...

another option might be for each repo to have a meta directory where the meta files are placed, and then just use the .json extension. That makes more sense to me personally... and no one would have specify JSON syntax highlighting in their editors for .cleanmeta (or other alternatives)

charlieroberts avatar Mar 28 '21 01:03 charlieroberts

another option might be for each repo to have a meta directory where the meta files are placed, and then just use the .json extension.

yes, that seems the best to me.

telephon avatar Mar 28 '21 20:03 telephon

It would be harder to find meta/foo.json files though. We could call the folder _cleanmeta ?

yaxu avatar Mar 29 '21 20:03 yaxu

Looking at this, it's a bit messy: https://github.com/tidalcycles/sounds-tr808-fischer

I agree it's better to put the metadata files in a subfolder. They could go in the same subfolder as the files they're about, but it's easier for superdirt and friends to discover them in a dedicated top-level subfolder. We could then say that /foo is the same as ../foo, relative to the metadata file.

yaxu avatar Mar 29 '21 20:03 yaxu

Ok how about this as an example? https://github.com/tidalcycles/sounds-dirty/

I.e. as suggested above - .json files, in a _soundmeta folder, with sample paths in the metadata relative to the folder above _soundmeta.

I'm not completely sold on prefixing with _. I thought about making them hidden with .soundmeta but I couldn't think of a reason to do that.

yaxu avatar Apr 03 '21 16:04 yaxu

Ok I updated the script and used it to regenerate the metadata on the tr808 repo, e.g.: https://github.com/tidalcycles/sounds-tr808-fischer/blob/main/_soundmeta/cb8.json

There is a new 'sound_type' field, which is currently either 'sample', 'supercollider', or 'mixed' (for both). I thought this would be useful for looking for either scsynths or samples, or in e.g. gibber's case, ignoring the former

Makes sense?

yaxu avatar Apr 03 '21 19:04 yaxu

What about call the field just "type"? I think the "sound" prefix could be implicit.

ndr-brt avatar Apr 04 '21 07:04 ndr-brt

@ndr-brt Yes true, then we will have permission to use it for sharing other resources - videos, images, vector files etc.

Although 'resource' doesn't feel right, as that implies scarcity, and I think what we're doing is more about the commons and plenty, i.e. love. With all the nonsense around NFTs maybe this is important..

yaxu avatar Apr 04 '21 10:04 yaxu