Rob Hallam
6b83118b91
feat: add to_json() to Source, Interval & Feature
This lets us serialise properly
3 kuukautta sitten
Rob Hallam
67f181071f
feat: round duration by DEFAULT_PRECISION
associated TODO: make precision configurable
3 kuukautta sitten
Rob Hallam
2f959c516a
feat: add Feature class for extracted AV features
This composes an Interval with some ancillary data:
- source (what feature extractor did we get this from)
- path (where is it now on the FS)
- score (for ranking)
TODO double check we aren't overloading the word 'source' to have two
meanings
4 kuukautta sitten
Rob Hallam
ebc288defe
doc: expand Source docstring
4 kuukautta sitten
Rob Hallam
98f980c7b5
feat: [Interval] add inst. & move time methods
These are useful for changing Intervals (eg consolitation)
4 kuukautta sitten
Rob Hallam
9b2ddce115
feat: add duration-related methods to SourceMedia
4 kuukautta sitten
Rob Hallam
b71840743c
feat: + SourceMedia constructor, Source & Interval
4 kuukautta sitten
Rob Hallam
dbd8ba6051
feat: add empty utils.SourceMedia
4 kuukautta sitten