Christophe Favergeon 4806c7f01d Streamdoc (#94) %!s(int64=3) %!d(string=hai) anos
..
docassets 4806c7f01d Streamdoc (#94) %!s(int64=3) %!d(string=hai) anos
CMakeLists.txt 66ea68b096 Added a dynamic mode to the compute graph. %!s(int64=3) %!d(string=hai) anos
README.md 4806c7f01d Streamdoc (#94) %!s(int64=3) %!d(string=hai) anos
appnodes.py 4806c7f01d Streamdoc (#94) %!s(int64=3) %!d(string=hai) anos
custom.py 8e4c71fd0d Renamed SDF to Compute Graph - Static Flow %!s(int64=3) %!d(string=hai) anos
dynamic_image.py 8e4c71fd0d Renamed SDF to Compute Graph - Static Flow %!s(int64=3) %!d(string=hai) anos
graph.py 66ea68b096 Added a dynamic mode to the compute graph. %!s(int64=3) %!d(string=hai) anos
main.py 8e4c71fd0d Renamed SDF to Compute Graph - Static Flow %!s(int64=3) %!d(string=hai) anos
mfcc.mp4 8e4c71fd0d Renamed SDF to Compute Graph - Static Flow %!s(int64=3) %!d(string=hai) anos
sched.py 66ea68b096 Added a dynamic mode to the compute graph. %!s(int64=3) %!d(string=hai) anos
sharedconfig.py 8e4c71fd0d Renamed SDF to Compute Graph - Static Flow %!s(int64=3) %!d(string=hai) anos
test.dot 3d1a7f7ff4 Improvement to the Python wrapper %!s(int64=3) %!d(string=hai) anos
test.pdf 66ea68b096 Added a dynamic mode to the compute graph. %!s(int64=3) %!d(string=hai) anos
test_stereo.wav 8e4c71fd0d Renamed SDF to Compute Graph - Static Flow %!s(int64=3) %!d(string=hai) anos

README.md

Example 5

This is a pure python example. It is computing a sequence of MFCC with an overlap of 0.5 s and it is creating an animation.

It can be run with:

python main.py

The NumPy sink at the end is just recording all the MFCC outputs as a list of buffers. This list is used to create an animation.

graph5

Expected output

Generate graphviz and code
Schedule length = 292
Memory usage 6614 bytes

And when executed you should get an animation looking like this:

mfcc

The Python main.py contains a line which can be uncommented to record the animation as a .mp4 video.