feat: sequences v2, bridges, and sim-controller

Rework sequences (engine, seqplay, envelope, API, web UI), add bridge
support, add the host sim-controller and rig simulation tests, and
update docs, presets and project tooling config.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
jimmyandClaude Sonnet 5.5 committed 2026-11-10 17:47:27 +13:00
1 parent d664026ee5
commit 2543673bd8
68 files changed
+5761 -460

No files matched your search

@@ -0,0 +1,21 @@
#pragma once
// Host build: no pins. Calls succeed and do nothing.
#include <stdint.h>
#include "esp_err.h"
typedef int gpio_num_t;
typedef enum { GPIO_MODE_DISABLE = 0, GPIO_MODE_INPUT = 1, GPIO_MODE_OUTPUT = 2, GPIO_MODE_INPUT_OUTPUT = 3 } gpio_mode_t;
typedef enum { GPIO_PULLUP_DISABLE = 0, GPIO_PULLUP_ENABLE = 1 } gpio_pullup_t;
typedef enum { GPIO_PULLDOWN_DISABLE = 0, GPIO_PULLDOWN_ENABLE = 1 } gpio_pulldown_t;
typedef enum { GPIO_INTR_DISABLE = 0 } gpio_int_type_t;
typedef struct {
uint64_t pin_bit_mask;
gpio_mode_t mode;
gpio_pullup_t pull_up_en;
gpio_pulldown_t pull_down_en;
gpio_int_type_t intr_type;
} gpio_config_t;
static inline esp_err_t gpio_config(const gpio_config_t *c) { (void)c; return ESP_OK; }
static inline esp_err_t gpio_set_direction(int pin, gpio_mode_t m) { (void)pin; (void)m; return ESP_OK; }
static inline esp_err_t gpio_set_level(int pin, uint32_t l) { (void)pin; (void)l; return ESP_OK; }
static inline int gpio_get_level(int pin) { (void)pin; return 1; }
static inline esp_err_t gpio_reset_pin(int pin) { (void)pin; return ESP_OK; }
@@ -0,0 +1,11 @@
#pragma once
// Host build: the store's /db is a real directory (docker volume), so mounting is a no-op
#include <stdbool.h>
#include "esp_err.h"
typedef struct {
const char *base_path;
const char *partition_label;
bool format_if_mount_failed;
bool grow_on_mount;
} esp_vfs_littlefs_conf_t;
esp_err_t esp_vfs_littlefs_register(const esp_vfs_littlefs_conf_t *conf);
@@ -0,0 +1,2 @@
#pragma once
#include <netdb.h>
@@ -0,0 +1,9 @@
#pragma once
// Host build: lwip's socket API is the host's
#include <sys/socket.h>
#include <sys/select.h>
#include <netinet/in.h>
#include <netinet/tcp.h>
#include <arpa/inet.h>
#include <unistd.h>
#include <fcntl.h>