Kraftor SAM User Manual

Browser control surface for the Kraftor SAM firmware. This manual covers GUI version 1.6.

Open the GUI

Requirements

Serial Speech

  1. Open GUI/index.html.
  2. Click Select port.
  3. Choose the Kraftor USB serial device.
  4. With firmware 1.2 or newer, confirm that the GUI shows Polaxis Kraftor SAM and the same chip ID shown on the board display at startup.
  5. Click Identify Serial to make the connected board speak "serial connection".
  6. Type text in the text box and click Speak.

Firmware 1.2 reports MODEL=SAM and its unique SAMD21 chip ID during the serial handshake. Firmware 1.1 remains compatible, but the GUI displays only Kraftor because that firmware does not report a model or chip ID.

The GUI sends the text line over USB Serial at 115200. The firmware speaks the line when it receives Enter.

MIDI Voice Control

  1. Click Connect MIDI.
  2. Allow browser MIDI access if prompted.
  3. Select the desired MIDI output.
  4. Select the MIDI channel that matches the firmware 1.3 DIP switches.
  5. Click Identify MIDI.
  6. Confirm that the expected Kraftor speaks "meedee connection".
  7. Move the knobs.

The selected channel applies to CC 1–3, pitch bend, presets, and Identify MIDI. The selection is remembered by the browser.

Identify MIDI requires both serial and MIDI connections. The GUI writes "meedee connection" into temporary RAM slot 0 through serial, then sends MIDI note 28 on the selected channel to the selected MIDI output. RAM is cleared at boot, so the identification sentence is temporary and remains only for the current session.

If multiple boards use the same MIDI name, the selector adds a compact Web MIDI ID to each duplicate name. Chrome does not expose a guaranteed relationship between a Web Serial port and a Web MIDI endpoint. Use Identify Serial and Identify MIDI to match the two connections.

GUI Control MIDI Message Firmware Effect
Speed CC 1 Higher knob value means faster speech.
Pitch Pitch Bend Higher knob value means higher perceived pitch.
Mouth CC 2 SAM mouth parameter.
Throat CC 3 SAM throat parameter.

Firmware 1.3 DIP Switches

Move a switch toward its ON marking to turn it on. DIP1 is the highest-value switch and DIP4 is the lowest-value switch. Choose the channel selected in the GUI, then reset or power-cycle Kraftor so the firmware reads the new setting. All switches OFF select Omni mode, which receives every MIDI channel.

Mode DIP1 (8) DIP2 (4) DIP3 (2) DIP4 (1)
Omni OFF OFF OFF OFF
Channel 1 OFF OFF OFF ON
Channel 2 OFF OFF ON OFF
Channel 3 OFF OFF ON ON
Channel 4 OFF ON OFF OFF
Channel 5 OFF ON OFF ON
Channel 6 OFF ON ON OFF
Channel 7 OFF ON ON ON
Channel 8 ON OFF OFF OFF
Channel 9 ON OFF OFF ON
Channel 10 ON OFF ON OFF
Channel 11 ON OFF ON ON
Channel 12 ON ON OFF OFF
Channel 13 ON ON OFF ON
Channel 14 ON ON ON OFF
Channel 15 ON ON ON ON

Firmware Compatibility

Feature Firmware 1.1 Firmware 1.2 Firmware 1.3+
Speech, sentence banks, and MIDI controls Supported Supported Supported
Identify Serial and Identify MIDI Supported Supported Supported
Model and chip ID in the GUI Not reported Supported Supported
Chip ID on the board display at startup Not available Supported Supported
DIP-switch MIDI channels 1–15 plus Omni Not available Not available Supported

RAM And FRAM Sentences

When the serial port connects, the GUI asks the firmware for its sentence-bank layout. The reply tells the GUI how many RAM slots exist, whether FRAM is present, the first MIDI note for each bank, and the maximum sentence length.

If FRAM is not detected, the FRAM tab stays disabled. If FRAM is detected, the GUI enables the FRAM tab and loads the stored sentences from the board.

Use Reload from board to read the current bank, Save all changed to write edited slots, and Play on a slot to speak it immediately. Fill RAM slots and Fill FRAM slots copy one non-empty pasted line into each slot.

RAM slots are MIDI-triggered from the RAM note range shown in the tab header. FRAM MIDI notes start after the RAM note range, so the two banks do not overlap. If there are more FRAM slots than available MIDI notes, the remaining FRAM slots can still be edited and played from the GUI.

Presets

The preset dropdown applies common SAM voice settings and sends MIDI when MIDI is connected.

Random creates a new voice. Reset to default returns to the SAM default.

Skins

The skin menu changes the look of the GUI. The selected skin is remembered by the browser.