Closed rubencart closed 7 months ago
Hi @rubencart, this is not really an issue, because we have registered new namespaces in order to account for new types of annotations (and also to preserve the original ones before chord conversion). All you need to do before loading the annotation from jams
is to import the namespaces package (have a look here), as this would register all of them. Also, you may need to add the parameter validate=False
when loading the JAMS annotation.
Thanks, I had found that out in the meantime. Maybe it would be nice to add to your documentation? That one should load the namespaces before loading actual jams files, like jams.schema.add_namespace(str(ns_dir / "chord_ireal.json"))
?
Using jams v0.3.4 doing
audio_jams = jams.load(data/choco/v1.0.0/jams/biab-internet-corpus_201.jams)
gives