updated skills
This commit is contained in:
@@ -163,4 +163,3 @@ This package ships a local mirror of the `@suaveplan/midi`
|
||||
`MidiMessage` contract in `src/midi-contract/`. Once
|
||||
`@suaveplan/midi` graduates to `workspace:^`, the local mirror is
|
||||
replaced by a re-export from that package without any shape change.
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ specialised hooks (`useMidiInput`, `useMidiDevices`) wrap it for
|
||||
narrower use-cases.
|
||||
|
||||
The hook never throws on a `denied` / `unsupported` status — it
|
||||
*reports* the state. The only throw is the structural
|
||||
_reports_ the state. The only throw is the structural
|
||||
`REACT_MIDI.NO_PROVIDER` when rendered outside a provider.
|
||||
|
||||
## Features
|
||||
|
||||
@@ -59,7 +59,7 @@ data-MSB/LSB CCs (6 and 38) are shared with NRPN — devices follow
|
||||
the convention of sending a fresh paramHigh selector to switch
|
||||
between the two address spaces, which the reducer handles via its
|
||||
"new paramHigh resets partial state" rule. Consumers that need to
|
||||
listen to *both* NRPN and RPN streams from the same port simply
|
||||
listen to _both_ NRPN and RPN streams from the same port simply
|
||||
compose the two hooks side by side; the underlying input adapter
|
||||
fans the parsed messages out to both subscriptions without
|
||||
double-binding the Web MIDI `onmidimessage` slot.
|
||||
|
||||
Reference in New Issue
Block a user