diff --git a/docs/_index.md b/docs/_index.md index eff92c1..3582d92 100644 --- a/docs/_index.md +++ b/docs/_index.md @@ -1,14 +1,13 @@ # cs-midi -A standalone pico-sdk extraction of [tttapa/Control-Surface](https://github.com/tttapa/Control-Surface) (GPL-3.0). +A pico-sdk port of [tttapa/Control-Surface](https://github.com/tttapa/Control-Surface) (GPL-3.0). -cs-midi provides the core MIDI element system, BLE MIDI transport, banks, selectors, and the declarative `Control_Surface` singleton for use with the Raspberry Pi Pico SDK and the CYW43 radio module (BTstack BLE backend). +cs-midi provides the full Control Surface MIDI element system — output elements, input elements, banks, selectors, MIDI routing, and the declarative `Control_Surface` singleton — for use with the Raspberry Pi Pico SDK. ## Getting Started ```cpp #include "pico/stdlib.h" -#include "pico/cyw43_arch.h" #include using namespace cs; @@ -19,7 +18,6 @@ NoteButton button {5, {MIDI_Notes::C[4], Channel_1}}; int main() { stdio_init_all(); - if (cyw43_arch_init()) return 1; Control_Surface.begin(); while (true) { Control_Surface.loop(); @@ -31,10 +29,9 @@ int main() { ## Differences from Control Surface - `#include ` replaces `#include ` -- `cs::BluetoothMIDI_Interface` replaces `USBMIDI_Interface` -- Standard `main()` with `cyw43_arch_init()` replaces Arduino `setup()`/`loop()` +- Standard `main()` replaces Arduino `setup()`/`loop()` - All types live in the `cs::` namespace -- No `MCU::` namespace — use raw CC numbers or `MIDI_CC::` constants +- No `MCU::` namespace yet — use raw CC numbers or `MIDI_CC::` constants ## Credits diff --git a/docs/classes.md b/docs/classes.md index d4a2af5..7a91d2a 100644 --- a/docs/classes.md +++ b/docs/classes.md @@ -82,7 +82,7 @@ These classes are available in cs-midi and work identically to their Control Sur | Class | Template | Description | |-------|----------|-------------| -| `BluetoothMIDI_Interface` | | BLE MIDI via CYW43 BTstack | +| `BluetoothMIDI_Interface` | | BLE MIDI interface | ### MIDI Routing diff --git a/docs/examples/03-interfaces/01-ble-midi.md b/docs/examples/03-interfaces/01-ble-midi.md index b072b68..dfca6f4 100644 --- a/docs/examples/03-interfaces/01-ble-midi.md +++ b/docs/examples/03-interfaces/01-ble-midi.md @@ -1,6 +1,6 @@ # BLE MIDI -Basic Bluetooth Low Energy MIDI interface setup. Replaces `USBMIDI_Interface` from the original library. +Bluetooth Low Energy MIDI interface setup. ```cpp #include "pico/stdlib.h"