This repository is a fork of https://github.com/ccnmtl/xmeml to add xmeml.iter
, a module to iteratively parse xmeml
project files. This is crucial for speed and memory constraints.
Documentation of the iter API: https://havardgulldahl.github.io/xmeml/
if __name__ == '__main__':
import sys
xmeml = XmemlParser(sys.argv[1])
clips, files = xmeml.audibleranges(0.0300) # find audio clips that are audible (volume above a certain threshold
print([clip for clip in clips.iteritems()]) # iterate with the iter protocol