Gambit {version} by MPP — Start here

INSTALL
Close Live, run Gambit-{version}.pkg, then reopen Live. This Apple Silicon development installer installs Gambit VST3, Audio Unit and the complete Max companion for the current macOS user:
  ~/Library/Audio/Plug-Ins/VST3/Gambit.vst3
  ~/Library/Audio/Plug-Ins/Components/Gambit.component
  ~/Music/Ableton/User Library/Presets/Audio Effects/Max Audio Effect/Gambit Bridge/
Build architectures: {arches}. macOS 11+, Live 12 and Max for Live 8.6+ for software mappings. Hardware MIDI cards do not require Max. The plug-ins are ad-hoc signed; this local development installer is not Developer ID signed or notarized.

Load Gambit_Bridge_Companion_10.amxd from Live's User Library. The AMXD now embeds its JavaScript; Collect All and Save can copy that one file without losing its script. Editable MAXPAT and JS sources are also included. If your User Library is elsewhere, add the installed Gambit Bridge folder to Places or copy the AMXD into your library.
If Companion 10 is already in your Set, keep it there; this native plug-in update does not require replacing it or remapping its targets.
Use only one active companion per Bridge Channel. Match the channel in Gambit, and enable Bridge Send. Replace Companion 08/09 with 10 and map Live parameters once when upgrading; deleting/replacing a device removes the old device's saved mappings. After this upgrade, use normal Save/Collect All rather than replacing the companion. The installer does not insert devices or change your Live Set.

WHAT IS NEW IN 0.25.7
Draw and Stamp are immediately before Random. Curve is removed from the
visible menu; older saved curves retain their playback and edit as Draw.
Right-click a white node and choose Delete node, or Option-Command-click it
(Alt-Ctrl on Windows). Neighbours join smoothly; at least two handles remain.
Restore nodes is available in the same menu. Deletion is saved and undoable.
Tempo and synchronization behavior are unchanged.

CHANGES IN 0.25.6
Draw uses a continuous pencil stroke with a normal click and drag. Release
to smooth the stroke. No Shift key is required. Command/Ctrl-drag retains
white-node adjustment. Each completed stroke is one Undo action.

CHANGES IN 0.25.5
Card flip animations run only for a manual invert-button click. Preset changes,
automation, undo and saved-session recall update the switches silently.

CHANGES IN 0.25.4
Draw has nine individually editable nodes with smooth interpolation. Stamp
keeps three handles per selected stamp. Full bar stamps have sharp rectangular
edges (stage/global Smooth can still soften playback). Time Wave multipliers
sit below the A/B/C/D targets. Drag a card number or its dotted header grip to
move it on any stage; a short number click still toggles the step. Invert buttons
perform a quick axis-matched card flip; modulation updates immediately.
The clipped OFF header text is replaced by a subtle status indicator.

Map 1-4: Center shows the legal modulation range as a band, a white center mark,
and a moving glow for the outgoing value. The shape preview remains below it.
Clear all, to the left of Live channel, releases all Live assignments and resets
hardware destinations. Hardware restores its captured starting value first.
An offline Live reset waits for the companion on the same channel to reconnect.

STAMP
Choose Stamp in the step's shape menu. Each card has FOUR equal stamp slots,
the same comfortable visual width as a shape repeated at x4. Stamp width is
independent of note division and stage timing; changing the time multiplier
does not change the editor footprint or the card's saved shapes.
Right-click the graph to choose Full bar, ramp, sine, triangle, parabola,
S-curve, notch or dip. Click one slot to stamp it. Right-click and choose a
DIFFERENT brush, then stamp another slot in the SAME card. Existing stamps in
the other slots stay in place. Mix up to four different shapes in each card.
Draw has a pencil icon and Stamp has a rubber stamp icon. The normal mouse pointer stays visible beside the white preview.
Stamp dragging updates changed values only and groups host edit gestures over
the stroke, reducing needless host traffic while retaining one Undo action.
The white hover previews one slot. Hold and drag up/down to set its height;
drag right to repeat into following slots and the next cards, including cards
that were not in Stamp mode. Drag left to rescale existing shapes.
Release to return to the normal pointer. Hover over a stamp to reveal its three
white handles (start, middle, end), then drag a handle to edit it. Click away
from the handles to start another stamp, or right-click a brush to arm Stamp.
One captured stroke is one Undo. Saved curve detail, card timing, repeats and
switches are retained. Shift-drag remains available for freehand drawing.
The pop-up/detail editor and its expand buttons have been removed. Editing
happens directly in the normal step cards.

ALL FOUR STAGES
Each stage has Smooth (ms) and Animate (%), added to the overall controls.
Zero inherits the overall setting; old presets start both additions at zero.
Filter modes show a live response preview in all four stages. Cutoff sliders
also show the full legal octave sweep band and a glowing live position from DSP. The C/D header
removes its depth, multiplier, note timing and direction widgets; existing host
parameters and saved values are preserved. Time Wave still controls all four.
Drag C/D card headers to insert cards across either row, just like A/B.
The bold triangle page button preserves Steps or Wave Stack when switching;
Wave Stack now has its own C/D page, including selection and curve editing.

BROWSER INSTRUMENT
https://gambitplugin.com/play
Press Play to hear the beefy saw. Four live shaping stages, quarter-note Paint,
large editor, Wave Stack C/D, per-stage Smooth/Animate, note triggers, Save/Open
and browser-local pattern recall. Connect MIDI requests keyboard access only
when clicked, in browsers that support Web MIDI. Browser patterns use JSON and
are separate from desktop presets; Live/hardware mapping stays in the plug-in.

NOTE ENVELOPES
Enable the main MIDI Trigger checkbox. Open its adjacent arrow menu and choose Play Once. Each positive-velocity note-on starts all four stages at that note's exact sample position. Each stage plays its selected steps once at its own timing/multiplier and then holds the final value until the next note. Short note-offs do not cut the envelope short. A new note restarts the shared envelopes, including overlapping notes/chords; these are global envelopes, not separate envelopes per synth voice. Play Once listens while MIDI Trigger is checked, even while Live is stopped. A/B crossover plays the combined sequence once.
Before the first note, the status reads WAITING MIDI. Choose Retrigger Loop in the same menu to restart a continuing loop per note. Switching MIDI Trigger Off disables note triggering while retaining the menu preference. 0.22 Play Once sessions migrate with triggering enabled.

LIVE MIDI ROUTING
Gambit needs MIDI delivered to its plug-in input. Notes can be consumed by an instrument earlier in the same chain, so do not assume placing Gambit after a synth forwards its notes.
1. Leave the synth and Gambit on the instrument track.
2. Create a separate empty MIDI track named Gambit Trigger.
3. Set MIDI From to the synth track and its lower chooser to Pre FX. Set Monitor to In.
4. Set MIDI To to the track containing Gambit, then choose Gambit in the lower destination chooser (not Track In).
5. Play the synth track's MIDI clip. Enable MIDI Trigger and choose Play Once in its arrow menu. Each note should restart the playheads. The trigger track duplicates notes to Gambit without redirecting the synth track's own instrument input.
For a live keyboard, the monitored source track supplies those same notes. Hardware synth notes/audio still use your existing USB MIDI and audio routing. If WAITING MIDI persists, check the two routing choosers first.
Ableton routing reference: https://www.ableton.com/en/manual/routing-and-i-o/

DRAW AND CURVE
Choose Draw to sketch continuously with the pencil; release to smooth. Command/Ctrl-drag a white node to adjust it. Shift-drag across a graph for freehand drawing; the original smooth breakpoint data is retained underneath. Curved interpolation keeps the result smooth and bounded. Shift-drag another shape to turn it into a drawable Draw curve. Saved Custom curves retain their existing data and sound under the Draw name. Ordinary shapes retain their bend gesture; Option-drag still copies a motif across cards. Width, intensity and flips continue to affect the final result.

HARDWARE MIDI LEARN
Choose Hardware MIDI, the connected MIDI output and the exact synth/firmware profile. Click Learn on a card, then wiggle a continuous control on that synth. Set the synth's parameter transmit mode to CC (Param Send/TX); it must also receive CC for modulation playback.
Learn reads two different CC values from one control, selects its channel and CC, resolves the name using the selected model's table, and captures the control's current value as the starting base. The card stays Off: review the selected name, then turn it On. Click Cancel to retain the previous target; Learn expires after 30 seconds. Only one card learns at a time.
The MIDI input must have the same unambiguous device name as the selected output. Missing inputs are reported on the card. Bank changes, channel-mode commands and NRPN/RPN selectors are ignored. Controls already driven by another active Gambit card are ignored; switch the existing mapping Off before learning that control.
If a CC is not listed in the selected model's verified table, the card displays its numeric CC rather than inventing a control name. It remains manually selectable after learning and survives session recall. Profiles are selected manually; a CC message does not identify a synth model. Software synth templates are guided Live mapping labels; this hardware Learn does not inspect other plug-ins' host parameters.

LOGIC AND FL STUDIO — NO MAX REQUIRED FOR MIDI CARDS
This installer includes both VST3 (Live / FL Studio) and an Audio Unit (Logic). The native hardware MIDI engine works in both formats. Max and the Live-parameter cards remain specific to Ableton Live.
Logic: load the AU from AU MIDI-controlled Effects > MPP > Gambit in a software instrument slot to feed it MIDI regions or keyboard notes. Use MIDI Trigger and its arrow menu for per-note operation. This AU is a MIDI-controlled audio effect; it is not an instrument that generates sound. For audio shaping, feed the original audio track or bus through the plug-in header's Side Chain chooser; preserve the source's synth/External Instrument routing. For direct hardware cards, note playback still goes to the synth through your existing external MIDI track; duplicate/alias its note region to the Gambit track if using note triggers.
FL Studio: use Gambit VST3. For note triggering, set an unused MIDI Input port (for example 10) in Gambit's Wrapper MIDI settings. Route a MIDI Out channel to the same port/channel and place the trigger notes there. Keep the synth's own note routing. This release sends hardware/virtual-port CC directly through its cards, rather than through a VST MIDI-output bus.

SOFTWARE TARGETS OUTSIDE LIVE
There is no native cross-plug-in “click any parameter” mapping in this release. A workable route to test is a dedicated virtual MIDI bus: macOS Audio MIDI Setup > MIDI Studio > IAC Driver, make it online and add a bus named Gambit Mod. In a hardware/MIDI card choose that bus, Generic MIDI CC, and an unused CC such as 20; set Center explicitly and enable the card with Bridge Send.
Logic: map the destination synth parameter to a Smart Control, select External Assignment > Learn for that Smart Control, then enable the Gambit card briefly to supply the CC. Disable Learn once assigned. Scope assignments to the intended target/input and keep the dedicated IAC bus out of general keyboard note inputs to avoid feedback.
FL Studio: enable the virtual bus as an input in MIDI Settings, then use the target control's Link to controller dialog with the matching bus port, channel and CC. For third-party plug-ins, use Browse parameters / the wrapper parameter list when the plug-in UI has no native Link command.
A synth's own MIDI Learn is another option when its MIDI input can receive that bus. These are host-specific routes, not automatic software-template mapping. Actual Logic / FL Studio project tests are still required.
References:
https://u-he.com/support/faq/how-to/midi-effects-logic/
https://support.apple.com/en-ca/guide/audio-midi-setup/ams1013/mac
https://support.apple.com/en-euro/guide/logicpro/lgcp0155c51f/10.7/mac/11.0
https://www.image-line.com/fl-studio-learning/fl-studio-online-manual/html/automation_linking.htm
https://www.image-line.com/fl-studio-learning/fl-studio-online-manual/html/plugins/MIDI%20Out.htm

LAYOUT AND TIMING
- C / D navigation is to the right of BPM/transport. All stages continue playing when pages change.
- Time Wave always shows A, B, C and D target checkboxes on both pages; these select the stages changed by a timing gesture.
- Card number badges use mint, cyan, lavender and coral backgrounds.
- Wave-stack numbers no longer have a B suffix.
- Companion 10 is 220 pixels wide with a compact 128-pixel presentation.
- Loop clocks now anchor to Live's PPQ each block and preserve phase during rate edits. Bridge Only uses the same clock as ordinary processing. MIDI trig gives deliberate per-note alignment; one-shot runs once per note instead of looping.

SAVE / COLLECT / REOPEN CHECK
Use a copy of your working Set for this test.
1. Set distinctive Depth/Center, Stage and On/Off states on all four Live cards. Set a non-default Bridge Channel on both devices. Save the Set.
2. Collect All and Save with the appropriate external/User Library files included. Close and reopen the collected Set.
3. Confirm the companion remains on the track, its Channel and mappings return, and the native cards show the same targets, values and switches. Play a clip, stop, then play again. No companion re-drag should be needed.
4. Save/reopen again after editing a card to verify the latest change persists.
5. Test MIDI Trigger > Play Once with a short note, a long note and overlapping notes. At an envelope's end the playhead should hold; the next note restarts it.
6. Return to Retrigger Loop mode; use all four Time Wave targets and change multipliers during playback. Test with Bridge Only both On and Off.
Hardware cards save their destinations, profile, channel, source and controls in Gambit. Captured hardware bases are recaptured after reopen; move the synth control while the card is Off, or explicitly set Center. MIDI CC cannot query an entire preset automatically.

VALIDATION LIMITS
Offline tests cover note timing, held endpoints, buffer-size invariance, clock corrections, saved bridge controls, UI gestures, CoreMIDI virtual loopback and localhost bridge transport. JavaScript tests use a mocked Live API. The self-contained archive was opened in installed Max. The Audio Unit factory, parameter API, stereo rendering and three successive MIDI envelope triggers were exercised through macOS Core Audio without installing it. This release has not completed a physical Live Collect All/reopen, Logic/FL Studio project, or synth listening test; use the check above to confirm your host session.

Source and complete validation logs are included. Max persistent mapping and packaging references:
https://docs.cycling74.com/reference/live.object
https://docs.cycling74.com/userguide/m4l/live_sharing/
