Box API Examples¶
Design sketches showing different ways the Faust Box API can be used in cyfaust.
Note: the Faust interpreter does not support vectorization, parallel code, or scheduler code.
Example 1¶
Original C++:
Functional (snake_case):
Object-oriented:
Hybrid:
With auto-boxing of numeric literals (not yet implemented):
Example 2¶
Original C++:
Functional:
Object-oriented:
Hybrid: