#include #define NUM_CH 5 #define THRESH 5 typedef ap_fixed<32, 32>udata_t; typedef ap_fixed<16, 3>note_offset_t; typedef ap_fixed<8, 8>control_t; void sequencer(udata_t *y, bool *tlast, bool lfo, udata_t root, control_t steps, control_t direction, control_t mode);