You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
3 years ago | |
|---|---|---|
| .. | ||
| docassets | 3 years ago | |
| CMakeLists.txt | 3 years ago | |
| README.md | 3 years ago | |
| appnodes.py | 3 years ago | |
| custom.py | 3 years ago | |
| dynamic_image.py | 3 years ago | |
| graph.py | 3 years ago | |
| main.py | 3 years ago | |
| mfcc.mp4 | 3 years ago | |
| sched.py | 3 years ago | |
| sharedconfig.py | 3 years ago | |
| test.dot | 3 years ago | |
| test.pdf | 3 years ago | |
| test_stereo.wav | 3 years ago | |
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.
Expected output
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.
