I would like to make it possible to update gate patterns from the UI. Either from a built in pattern editor (Think tr-909 or tb-303), or from an external file. I guess I need to expose my internal sequence buffer to the host, but how could I do that when the buffer contains data that the host does not understand. The data is currently an array of Event objects
Code: Select all
struct Event
{
uint64_t time; /*<This time is absolute*/
uint64_t type;
union
{
uint8_t bytes[16];
uint16_t words[8];
uint32_t dwords[4];
uint64_t qwords[2];
} data;
};