|
|
пре 3 година | |
|---|---|---|
| .. | ||
| docassets | пре 3 година | |
| CMakeLists.txt | пре 3 година | |
| README.md | пре 3 година | |
| appnodes.py | пре 3 година | |
| custom.py | пре 3 година | |
| dynamic_image.py | пре 3 година | |
| graph.py | пре 3 година | |
| main.py | пре 3 година | |
| mfcc.mp4 | пре 3 година | |
| sched.py | пре 3 година | |
| sharedconfig.py | пре 3 година | |
| test.dot | пре 3 година | |
| test.pdf | пре 3 година | |
| test_stereo.wav | пре 3 година | |
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.

Generate graphviz and code
Schedule length = 292
Memory usage 6614 bytes
And when executed you should get an animation looking like this:
The Python main.py contains a line which can be uncommented to record the animation as a .mp4 video.