Nexus MIDI for Kraftor user Manual

DateRevisionChanges
2024-09-271.0Added : Record text-to-speech in MIDI (via serial)
2024-05-090.1initial release

Connect your Kraftor via USB, and it will appear as “Kraftor” in your MIDI device’s list.

You can also connect your Kraftor via the MIDI TRS connection

Note that while “MIDI Note ON” events are supported, “MIDI Note OFF” events will have no effect.

Whenever a MIDI note is received, the NOTE LED turns on. Whenever speech starts, the BUSY LED turns on.

The MIDI channel is used to set Nexus into three different modes directly from your DAW (there is no need to use Kraftor’s channel switch-the channel switch is not used in this code)

Mode

Mode: Phonetic (MIDI channel 1)

In this mode, phonemes are queued as they are received via MIDI notes. The speech sequence begins when the device receives the designated “Speak” note. Prosody marker notes are also functional in this mode, allowing for enhanced control over speech characteristics like pitch, speed, and volume.

Mode: Alphabet  (MIDI channel 2)

In this mode, each MIDI note corresponds to a specific letter: A=C1, B=C2…Z=C#3.

The speech is triggered when the device receives the designated “Speak” note. Special notes are also assigned to adjust Speed, Pitch, and Volume.
Similar to SD TTS mode, if a sentence ends with a period, the pitch drops at the end of the sentence; a question mark will cause the pitch to rise.

Mode: Phoneme (MIDI channel 3)

In this mode, the phoneme corresponding to the MIDI note is immediately triggered when a “Note On” event occurs. Prosody marker notes are ignored.

The phoneme’s volume can be adjusted through velocity, mapped across ten distinct levels.

Mode: Numbers (MIDI channel 4)

The notes are mapped to numbers : C-2 will be uttered as “zero”, c#-2- as “one, D-2 as “two”, ….

Mode: Nato alphabet (MIDI channel 5)

The notes are mapped to the Nato alphabet : C-2 will be uttered as “Alpha”, c#-2- as “Bravo”, D-2 as “Charlie”, ….

Mode: US Police Ten code (MIDI channel 6)

The note are mapped to the ten codes, starting at C-2

10 0Use Caution
10 1Unable Copy - Change Location
10 2Signal Good
10 3Stop Transmitting
10 4Acknowledgment
10 5Relay
10 6Busy - Unless Urgent
10 7Out of Service
10 8In Service
10 9Repeat
10 10Fight In Progress
10 11Dog Case
10 12Stand By (Stop)
10 13Weather-Road Report
10 14Prowler Report
10 15Civil Disturbance
10 16Domestic Problem
10 17Meet Complainant
10 18Quickly
10 19Return to
10 20Location
10 21Call by Phone
10 22Disregard
10 23Arrived at Scene
10 24Assignment Completed
10 25Report in Person
10 26Detaining Subject, Expedite
10 27Driver License Information
10 28Vehicle Registration Information
10 29Check for Wanted
10 30Unnecessary Use of Radio
10 31Crime in Progress
10 32Man with Gun
10 33Emergency
10 34Riot
10 35Major Crime Alert
10 36Correct Time
10 37(Investigate) Suspicious Vehicle
10 38Stopping Suspicious Vehicle
10 39Urgent - Use Light, Siren
10 40Silent Run - No Light, Siren
10 41Beginning Tour of Duty
10 42Ending Tour of Duty
10 43Information
10 44Permission to Leave
10 45Animal Carcass
10 46Assist Motorist
10 47Emergency Road Repair
10 48Traffic Standard Repair
10 49Traffic Light Out at
10 50 Accident (F-Fire, PI-Personal Injury, PD-Property Damage)
10 51Wrecker Needed
10 52Ambulance Needed
10 53Road Blocked at
10 54Livestock on Highway
10 55Intoxicated Driver
10 56Intoxicated Pedestrian
10 57Hit and Run (F-Fire, PI-Personal Injury, PD-Property Damage)
10 58Direct Traffic
10 59Convoy or Escort
10 60Squad in Vicinity
10 61Personnel in Area
10 62Reply to Message
10 63Prepare Make Written Copy
10 64Message for Local Delivery
10 65Net Message Assignment
10 66Message Cancellation
10 67Clear for Net Message
10 68Dispatch Information
10 69Message Received
10 70Fire Alarm
10 71Advise Nature of Fire
10 72Report Progress on Fire
10 73Smoke Report
10 74Negative
10 75In Contact with
10 76En Route
10 77ETA (Estimated Time of Arrival)
10 78Need Assistance
10 79Notify Coroner
10 80Chase in Progress
10 81Breatherlizer Report
10 82Reserve Lodging
10 83Work School Crossing at
10 84If Meeting Advise ETA (Estimated Time of Arrival)
10 85Delay due to
10 86Officer / Operator on Duty
10 87Pickup / Distribute Checks
10 88Present Telephone
10 89Bomb Threat
10 90Bank Alarm
10 91Pick Up Prisoner / Subject
10 92Improperly Parked Vehicle
10 93Blockade
10 94Drag Racing
10 95Prisoner / Subject in Custody
10 96Mental Subject
10 97Check (Test) Signal
10 98Prison / Jail Break
10 99Wanted / Stolen Indicated
10 101What is Status? (Are you secure?)

Mode: Eno’s Oblique strategies (MIDI channel 7)

Any note will trigger a random strategy

Recording Text-to-Speech as MIDI sequence

Kraftor allows you to generate speech on the fly from text input via a serial terminal, helping you refine the speech in real-time.

It also sends the speech back as MIDI notes on channel 2 (Alphabet mode), allowing you to record and save the text sequences in your DAW.

These two functionalities help you create, fine-tune, and store text-to-speech sequences in your DAW with great precision.

Here’s how to set it up:

Connect Kraftor via USB:

• Attach the serial port to your terminal software (we recommend [CoolTerm](http://freeware.the-meiers.org/) by Roger Meirs, available for macOS, Windows, and Linux).

 

Setting Up CoolTerm:

  • Start CoolTerm.
  •  Open the Serial Port Options (under Connection > Options).
  •  Select Kraftor’s USB port and set the baud rate to 115200.

  •  In the Terminal section, set the mode to “Line Mode”.
  • Make sure the Enter Key Emulation is set to “CR” or “CR + LF”

Generating Speech:

  • Type your text into the terminal and press Enter. This will trigger Kraftor to start speaking.

Recording MIDI Notes:

  • The spoken text is also sent back to your computer as MIDI notes on channel 2.
  • When satisfied with the speech, press the down arrow on the right in CoolTerm to cycle through previously sent lines. Select the one you want, press Enter, and then immediately press Record in your DAW to capture the MIDI sequence.
  • To play it back, simply play the MIDI notes in your DAW, and Kraftor will interpret them as letters, generating speech through its Nexus engine.

 

Midi Controllers

Midi controller can also be applied in real-time, once the speech is started, both in Phonetic and Alphabet mode (see the following table)

NexusRangeController
Speed0-13Modulation wheel CC1
Voice0-10Breath controller CC2
Reverb0-9Controller CC3
Formant0-99Foot pedal CC4
Pitch0-99Portamento CC5
Expression 0-9Data Entry CC6
Volume 0-9Volume CC7

MIDI to Phonemes mapping

NumberPhonemeMIDI NoteExample
0AC1das (Spanish)
1AAC#1cot
2AED1cat
3AHD#1cut
4AWE1cow
5AXF1bottom
6AYF#1bite
7BG1bib
8CHG#1church
9DA1did
10DHA#1either
11DXB1city
12EC2ser (Spanish)
13EHC#2bet
14EID2mesa (Spanish)
15ERD#2bird
16EWE2acteur (French)
17EYF2bake
18FF#2fee
19GG2gag
20HG#2he
21IA2libro (Spanish)
22IHA#2bit
23IXB2rabbit
24IYC3beet
25JC#3age
26KD3cute
27KXD#3ski
28LE3long
29MF3me
30NF#3new
31NGG3rung
32NYG#3Niño (Spanish)
33OA3no (Spanish)
34OWA#3boat
35OYB3boy
36PC4pop
37PXC#4spot
38RD4ring
39RRD#4tres (Spanish)
40SE4sell
41SHF4shell
42TF#4tin
43THG4thin
44TXG#4stick
45UA4uno (Spanish)
46UHA#4book
47UWB4boot
48VC5valve
49WC#5we
50WHD5when
51YD#5mayo (Spanish)
52YYE5you
53ZF5zoo
54ZHF#5vision
55SPACEG5variable pause
56?G#5Question
57COMMAA5medium pause
58PERIODA#5long pause
59SpeakB5 Start speech in phonetic mode
60+ PitchC6Increase pitch
61- PitchC#6Decrease pitch
62+ SpeedD6Increase speed
63- SpeedD#6Decrease speed
64+ VolumeE6Increase volume
65- VolumeF6Decrease volume

Nexus voices

The text-to-speech synthesizer has 11 standard voices, and several individual voice parameter controls that can be used to vary the voice characteristics independently. The Voice command alters numerous internal voice parameters (articulation, pitch, expression, tone, etc.) and should precede any individual voice parameter control commands.
NVoice Name
0Perfect Paul (default)
1 Vader
2Big Bob
3Precise Pete
4Ricochet Randy
5Biff
6Skip
7Robo Robert
8Goliath
9 Alvin
10Gretchen