Results 1 to 6 of 6

Thread: New voice commands not recoqnized

  1. #1
    Junior Member
    Join Date
    Jun 2019
    Posts
    4

    New voice commands not recoqnized

    I'm trying to add more voice commands in the macro, but strangely a lot of them are not recognized afterwards. I looked in the Macros XML, and they are there.

    When testing if Voice Attack understand the same commands, everything seems fine.

    Most of my new commands are recoqnized as "good pass" - not really what I want to say when someone rams me!

    Am I doing sometgin wrong?

  2. #2
    Crew Chief Mega Corp CEO mr_belowski's Avatar
    Join Date
    Feb 2017
    Posts
    1,815
    Post the JSON file and I'll have a look

  3. #3
    Junior Member
    Join Date
    Jun 2019
    Posts
    4
    Quote Originally Posted by mr_belowski View Post
    Post the JSON file and I'll have a look
    Sure - here is the entire thing.

    {
    "macros": [
    {
    "name": "say sorry",
    "description": "opens chat, types 'sorry, my bad', presses enter. An action sequence item starting with {FREE_TEXT} tells the app to press each of the following keys in sequence. Numbers, letters, commas and full-stops only are supported.",
    "voiceTriggers": [
    "say sorry"
    ],
    "commandSets": [
    {
    "description": "r3e version",
    "gameDefinition": "RACE_ROOM",
    "actionSequence": [
    "KEY_C",
    "{FREE_TEXT}Sorry, my bad",
    "ENTER"
    ],
    "keyPressTime": 10,
    "waitBetweenEachCommand": 30
    },
    {
    "description": "pcars2 version",
    "gameDefinition": "PCARS2",
    "actionSequence": [
    "KEY_T",
    "{FREE_TEXT}Sorry, my bad",
    "ENTER"
    ],
    "keyPressTime": 50,
    "waitBetweenEachCommand": 100
    },
    {
    "description": "iracing version",
    "gameDefinition": "IRACING",
    "actionSequence": [
    "KEY_T",
    "{FREE_TEXT}Sorry, my bad",
    "ENTER"
    ],
    "keyPressTime": 50,
    "waitBetweenEachCommand": 100
    }
    ]
    },
    {
    "name": "say good pass",
    "description": "opens chat, types 'good pass', presses enter. An action sequence item starting with {FREE_TEXT} tells the app to press each of the following keys in sequence. Numbers, letters, commas and full-stops only are supported",
    "voiceTriggers": [
    "say good pass"
    ],
    "commandSets": [
    {
    "description": "r3e version",
    "gameDefinition": "RACE_ROOM",
    "actionSequence": [
    "KEY_C",
    "{FREE_TEXT}good pass",
    "ENTER"
    ],
    "keyPressTime": 10,
    "waitBetweenEachCommand": 30
    },
    {
    "description": "pcars2 version",
    "gameDefinition": "PCARS2",
    "actionSequence": [
    "KEY_T",
    "{FREE_TEXT}good pass",
    "ENTER"
    ],
    "keyPressTime": 50,
    "waitBetweenEachCommand": 100
    },
    {
    "description": "iracing version",
    "gameDefinition": "IRACING",
    "actionSequence": [
    "KEY_T",
    "{FREE_TEXT}Good pass",
    "ENTER"
    ],
    "keyPressTime": 50,
    "waitBetweenEachCommand": 100
    }
    ]
    },
    {
    "name": "request pit",
    "description": "requests a pitstop",
    "confirmationMessage": "mandatory_pit_stops/pit_stop_requested",
    "voiceTriggers": [
    "request pit",
    "box this lap",
    "in this lap"
    ],
    "buttonTriggers": [
    {
    "description": "wheel button X - button trigger not yet implemented",
    "deviceId": "12345456",
    "buttonIndex": 1
    },
    {
    "description": "keyboard key z - key trigger not yet implemented",
    "deviceId": "1",
    "buttonIndex": 99
    }
    ],
    "commandSets": [
    {
    "description": "r3e version, keyPressTime quite short because of low key-repeat-delay. The action sequence item {WAIT,5000} tells the app to wait 5000 milliseconds before moving to the next command",
    "gameDefinition": "RACE_ROOM",
    "actionSequence": [
    "KEY_R",
    "{WAIT,2000}",
    "KEY_Q"
    ],
    "keyPressTime": 10,
    "waitBetweenEachCommand": 60
    },
    {
    "description": "pcars2 version, keyPressTime longer",
    "gameDefinition": "PCARS2",
    "actionSequence": [
    "KEY_R"
    ],
    "keyPressTime": 100,
    "waitBetweenEachCommand": 100
    }
    ]
    },
    {
    "name": "cancel pit request",
    "description": "cancels a pit request, if one is set - applies only to pCars2",
    "confirmationMessage": "mandatory_pit_stops/pit_request_cancelled",
    "voiceTriggers": [
    "cancel request pit",
    "cancel pit stop",
    "cancel pit request",
    "cancel pit",
    "No pit stop",
    "no pitting",
    "cancel pitting",
    "no pit",
    "cancel box",
    "cancel boxing",
    "no stop"
    ],
    "buttonTriggers": [],
    "commandSets": [
    {
    "description": "pcars2 version, keyPressTime longer",
    "gameDefinition": "PCARS2",
    "actionSequence": [
    "KEY_R"
    ],
    "keyPressTime": 100,
    "waitBetweenEachCommand": 100
    },
    {
    "description": "Race Room version",
    "gameDefinition": "RACE_ROOM",
    "actionSequence": [
    "KEY_Q",
    "{MULTIPLE,7}KEY_W",
    "{MULTIPLE,7}KEY_S",
    "KEY_E",
    "KEY_Q"
    ],
    "keyPressTime": 20,
    "waitBetweenEachCommand": 30
    }
    ]
    },
    {
    "name": "auto fuel",
    "description": "In R3E, this macro requires the pit menu fuel item be selected (green). It can be set to any amount (or any of the presets). An item with {MULTIPLE,7} tells the app to repeat that key press 7 times. An item starting {MULTIPLE,Fuel} tells the app to ask the Fuel event for the right number of times to press this key",
    "confirmationMessage": "acknowledge/fuel_to_end",
    "voiceTriggers": [
    "fuel to the end",
    "fuel to the end of the race",
    "race fuel"
    ],
    "buttonTriggers": [],
    "commandSets": [
    {
    "description": "This is an attempt to automate the fuel process for R3E using the app's current fuel estimate. Starts by ensuring the cursor is at the top of the menu, then it goes to the fuel row and presses 'decrease' a many times to ensure the fuel menu is on 'safe', then presses 'increase' 3 times, putting the fuel amount on 0L. Then it presses 'increase' the correct number of times for the fuel required, then presses 'select' to activate refuelling, then waits a bit before closing the pit menu.",
    "gameDefinition": "RACE_ROOM",
    "actionSequence": [
    "KEY_Q",
    "{MULTIPLE,7}KEY_W",
    "KEY_S",
    "KEY_E",
    "{MULTIPLE,153}KEY_A",
    "{MULTIPLE,Fuel}KEY_D",
    "KEY_E",
    "{WAIT,2000}",
    "KEY_Q"
    ],
    "keyPressTime": 20,
    "waitBetweenEachCommand": 20
    },
    {
    "description": "This is an attempt to automate the fuel process for pCARS2 using the app's current fuel estimate. Navigates to the adjust stratgey option, then fuel, then reduces the amount to 0 and then adds however many litres the app calculated",
    "gameDefinition": "PCARS2",
    "actionSequence": [
    "KEY_E",
    "KEY_W",
    "KEY_D",
    "{MULTIPLE,3}KEY_W",
    "{MULTIPLE,2}KEY_S",
    "KEY_D",
    "{MULTIPLE,2}KEY_S",
    "{MULTIPLE,150}KEY_A",
    "{MULTIPLE,Fuel}KEY_D",
    "{MULTIPLE,2}KEY_W",
    "KEY_D",
    "{MULTIPLE,2}KEY_W",
    "KEY_D",
    "KEY_S",
    "KEY_D"
    ],
    "keyPressTime": 40,
    "waitBetweenEachCommand": 30
    }
    ]
    },
    {
    "name": "manual fuel",
    "description": "Note the {0,150} - this means recognise all numbers between 0 and 150. In R3E, this macro requires the pit menu fuel item be selected (green). It can be set to any amount (or any of the presets). An item with {MULTIPLE,7} tells the app to repeat that key press 7 times. An item starting {MULTIPLE,VOICE_TRIGGER} tells the app to repeat this key using the number recognised from the voice command",
    "confirmationMessage": "acknowledge/OK",
    "voiceTriggers": null,
    "buttonTriggers": [],
    "commandSets": [
    {
    "description": "navigates to the fuel amount, de-selects it, presses decrease 150 times to ensure it's at zero, then adds the number of litres parsed from the voice command. {MULTIPLE,X} is press (X) times. {MULTIPLE,VOICE_TRIGGER} is press (number recognised from voice command) times. {MULTIPLE,Fuel} means the Fuel event resolves the amount (in code)",
    "gameDefinition": "RACE_ROOM",
    "actionSequence": [
    "KEY_Q",
    "{MULTIPLE,7}KEY_W",
    "KEY_S",
    "KEY_E",
    "{MULTIPLE,150}KEY_A",
    "{MULTIPLE,VOICE_TRIGGER}KEY_D",
    "KEY_E",
    "{WAIT,5000}",
    "KEY_Q"
    ],
    "keyPressTime": 20,
    "waitBetweenEachCommand": 20
    },
    {
    "description": "navigates to the fuel amount, de-selects it, presses left (decrease) 150 times to ensure it's at zero, then adds the number of litres parsed from the voice command",
    "gameDefinition": "PCARS2",
    "actionSequence": [
    "KEY_E",
    "KEY_W",
    "KEY_D",
    "{MULTIPLE,3}KEY_W",
    "{MULTIPLE,2}KEY_S",
    "KEY_D",
    "{MULTIPLE,2}KEY_S",
    "{MULTIPLE,150}KEY_A",
    "{MULTIPLE,VOICE_TRIGGER}KEY_D",
    "{MULTIPLE,2}KEY_W",
    "KEY_D",
    "{MULTIPLE,2}KEY_W",
    "KEY_D",
    "KEY_S",
    "KEY_D"
    ],
    "keyPressTime": 40,
    "waitBetweenEachCommand": 30
    }
    ],
    "integerVariableVoiceTrigger": "add fuel, {0,150} litres"
    },
    {
    "name": "next pit preset",
    "description": "selects next pitstop preset, r3e only",
    "voiceTriggers": [
    "next strategy",
    "next pit preset"
    ],
    "buttonTriggers": [],
    "commandSets": [
    {
    "description": "r3e version - pcars indexes the strategies (see 'select strategy 1' etc)",
    "gameDefinition": "RACE_ROOM",
    "actionSequence": [
    "KEY_Q",
    "KEY_D",
    "KEY_S",
    "KEY_E",
    "KEY_S",
    "KEY_E",
    "KEY_S",
    "KEY_E",
    "{WAIT,3000}",
    "KEY_Q"
    ],
    "keyPressTime": 10,
    "waitBetweenEachCommand": 200
    }
    ]
    },
    {
    "name": "previous pit preset",
    "description": "selects previous pitstop preset, r3e only",
    "voiceTriggers": [
    "previous strategy",
    "previous pit preset"
    ],
    "buttonTriggers": [],
    "commandSets": [
    {
    "description": "r3e version - pcars indexes the strategies (see 'select strategy 1' etc)",
    "gameDefinition": "RACE_ROOM",
    "actionSequence": [
    "KEY_Q",
    "KEY_A",
    "KEY_S",
    "KEY_E",
    "KEY_S",
    "KEY_E",
    "KEY_S",
    "KEY_E",
    "{WAIT,3000}",
    "KEY_Q"
    ],
    "keyPressTime": 10,
    "waitBetweenEachCommand": 200
    }
    ]
    },
    {
    "name": "select race strategy 1",
    "description": "selects strategy 1 from the pCARS2 ICM",
    "confirmationMessage": "acknowledge/pit_strategy_1",
    "voiceTriggers": [
    "strategy one",
    "strat one",
    "race strat one",
    "strat 1"
    ],
    "buttonTriggers": [],
    "commandSets": [
    {
    "description": "pcars2 select strat 1",
    "gameDefinition": "PCARS2",
    "actionSequence": [
    "KEY_E",
    "KEY_W",
    "KEY_D",
    "{MULTIPLE,5}KEY_W",
    "KEY_S",
    "KEY_D",
    "KEY_S",
    "KEY_D",
    "{MULTIPLE,5}KEY_W",
    "KEY_D",
    "KEY_W",
    "KEY_D",
    "KEY_S",
    "KEY_D"
    ],
    "keyPressTime": 100,
    "waitBetweenEachCommand": 100
    }
    ]
    },
    {
    "name": "select race strategy 2",
    "description": "selects strategy 2 from the pCARS2 ICM",
    "confirmationMessage": "acknowledge/pit_strategy_2",
    "voiceTriggers": [
    "strategy two",
    "strat two"
    ],
    "buttonTriggers": [],
    "commandSets": [
    {
    "description": "pcars2 select strat 2",
    "gameDefinition": "PCARS2",
    "actionSequence": [
    "KEY_E",
    "KEY_W",
    "KEY_D",
    "{MULTIPLE,5}KEY_W",
    "KEY_S",
    "KEY_D",
    "KEY_S",
    "KEY_S",
    "KEY_D",
    "{MULTIPLE,5}KEY_W",
    "KEY_D",
    "KEY_W",
    "KEY_D",
    "KEY_S",
    "KEY_D"
    ],
    "keyPressTime": 100,
    "waitBetweenEachCommand": 100
    }
    ]
    },
    {
    "name": "select race strategy 3",
    "description": "selects strategy 3 from the pCARS2 ICM",
    "confirmationMessage": "acknowledge/pit_strategy_3",
    "voiceTriggers": [
    "strategy three",
    "strat three"
    ],
    "buttonTriggers": [],
    "commandSets": [
    {
    "description": "pcars2 select strat 3",
    "gameDefinition": "PCARS2",
    "actionSequence": [
    "KEY_E",
    "KEY_W",
    "KEY_D",
    "{MULTIPLE,5}KEY_W",
    "KEY_S",
    "KEY_D",
    "KEY_S",
    "KEY_S",
    "KEY_S",
    "KEY_D",
    "{MULTIPLE,5}KEY_W",
    "KEY_D",
    "KEY_W",
    "KEY_D",
    "KEY_S",
    "KEY_D"
    ],
    "keyPressTime": 100,
    "waitBetweenEachCommand": 100
    }
    ]
    },
    {
    "name": "select race strategy 4",
    "description": "selects strategy 4 from the pCARS2 ICM",
    "confirmationMessage": "acknowledge/pit_strategy_4",
    "voiceTriggers": [
    "strategy four",
    "strat four"
    ],
    "buttonTriggers": [],
    "commandSets": [
    {
    "description": "pcars2 select strat 4",
    "gameDefinition": "PCARS2",
    "actionSequence": [
    "KEY_E",
    "KEY_W",
    "KEY_D",
    "{MULTIPLE,5}KEY_W",
    "KEY_S",
    "KEY_D",
    "KEY_S",
    "KEY_S",
    "KEY_S",
    "KEY_S",
    "KEY_D",
    "{MULTIPLE,5}KEY_W",
    "KEY_D",
    "KEY_W",
    "KEY_D",
    "KEY_S",
    "KEY_D"
    ],
    "keyPressTime": 100,
    "waitBetweenEachCommand": 100
    }
    ]
    },
    {
    "name": "open / close pit menu",
    "description": "open or close the pit menu - fallback for manual navigation",
    "voiceTriggers": [
    "toggle pit menu",
    "pit menu toggle",
    "pit menu"
    ],
    "commandSets": [
    {
    "description": "r3e version",
    "gameDefinition": "RACE_ROOM",
    "actionSequence": [
    "KEY_Q"
    ],
    "keyPressTime": 10,
    "waitBetweenEachCommand": 200
    },
    {
    "description": "pcars2 version",
    "gameDefinition": "PCARS2",
    "actionSequence": [
    "KEY_E"
    ],
    "keyPressTime": 100,
    "waitBetweenEachCommand": 100
    }
    ]
    },
    {
    "name": "pit menu select",
    "description": "pit menu select - fallback for manual navigation",
    "voiceTriggers": [
    "pit menu select",
    "menu select"
    ],
    "commandSets": [
    {
    "description": "r3e version",
    "gameDefinition": "RACE_ROOM",
    "actionSequence": [
    "KEY_E"
    ],
    "keyPressTime": 10,
    "waitBetweenEachCommand": 200
    }
    ]
    },
    {
    "name": "pit menu up",
    "description": "pit menu up - fallback for manual navigation",
    "voiceTriggers": [
    "pit menu up",
    "menu up"
    ],
    "commandSets": [
    {
    "description": "r3e version",
    "gameDefinition": "RACE_ROOM",
    "actionSequence": [
    "KEY_W"
    ],
    "keyPressTime": 10,
    "waitBetweenEachCommand": 200
    },
    {
    "description": "pcars2 version",
    "gameDefinition": "PCARS2",
    "actionSequence": [
    "KEY_W"
    ],
    "keyPressTime": 100,
    "waitBetweenEachCommand": 100
    }
    ]
    },
    {
    "name": "pit menu down",
    "description": "pit menu down - fallback for manual navigation",
    "voiceTriggers": [
    "pit menu down",
    "menu down"
    ],
    "commandSets": [
    {
    "description": "r3e version",
    "gameDefinition": "RACE_ROOM",
    "actionSequence": [
    "KEY_S"
    ],
    "keyPressTime": 10,
    "waitBetweenEachCommand": 200
    },
    {
    "description": "pcars2 version",
    "gameDefinition": "PCARS2",
    "actionSequence": [
    "KEY_S"
    ],
    "keyPressTime": 100,
    "waitBetweenEachCommand": 100
    }
    ]
    },
    {
    "name": "pit menu left",
    "description": "pit menu left - fallback for manual navigation",
    "voiceTriggers": [
    "pit menu left",
    "menu left"
    ],
    "commandSets": [
    {
    "description": "r3e version",
    "gameDefinition": "RACE_ROOM",
    "actionSequence": [
    "KEY_A"
    ],
    "keyPressTime": 10,
    "waitBetweenEachCommand": 200
    },
    {
    "description": "pcars2 version",
    "gameDefinition": "PCARS2",
    "actionSequence": [
    "KEY_A"
    ],
    "keyPressTime": 100,
    "waitBetweenEachCommand": 100
    }
    ]
    },
    {
    "name": "pit menu right",
    "description": "pit menu right - fallback for manual navigation",
    "voiceTriggers": [
    "pit menu right",
    "menu right"
    ],
    "commandSets": [
    {
    "description": "r3e version",
    "gameDefinition": "RACE_ROOM",
    "actionSequence": [
    "KEY_D"
    ],
    "keyPressTime": 10,
    "waitBetweenEachCommand": 200
    },
    {
    "description": "pcars2 version",
    "gameDefinition": "PCARS2",
    "actionSequence": [
    "KEY_D"
    ],
    "keyPressTime": 100,
    "waitBetweenEachCommand": 100
    }
    ]
    },
    {
    "name": "Lap Timing Black Box",
    "description": "Displays Lap Timing Black Box",
    "voiceTriggers": [
    "black box lap time"
    ],
    "commandSets": [
    {
    "description": "iRacing only",
    "gameDefinition": "IRACING",
    "actionSequence": [
    "F1"
    ],
    "keyPressTime": 10,
    "waitBetweenEachCommand": 200
    }
    ]
    },
    {
    "name": "Standings Black Box",
    "description": "Displays Standings Black Box",
    "voiceTriggers": [
    "black box standings"
    ],
    "commandSets": [
    {
    "description": "iRacing only",
    "gameDefinition": "IRACING",
    "actionSequence": [
    "F2"
    ],
    "keyPressTime": 10,
    "waitBetweenEachCommand": 200
    }
    ]
    },
    {
    "name": "Relative Black Box",
    "description": "Displays Relative Black Box",
    "voiceTriggers": [
    "black box relative"
    ],
    "commandSets": [
    {
    "description": "iRacing only",
    "gameDefinition": "IRACING",
    "actionSequence": [
    "F3"
    ],
    "keyPressTime": 10,
    "waitBetweenEachCommand": 200
    }
    ]
    },
    {
    "name": "Fuel Black Box",
    "description": "Displays Fuel Black Box",
    "voiceTriggers": [
    "black box fuel"
    ],
    "commandSets": [
    {
    "description": "iRacing only",
    "gameDefinition": "IRACING",
    "actionSequence": [
    "F4"
    ],
    "keyPressTime": 10,
    "waitBetweenEachCommand": 200
    }
    ]
    },
    {
    "name": "Tires Black Box",
    "description": "Displays Tires Black Box",
    "voiceTriggers": [
    "black box tires"
    ],
    "commandSets": [
    {
    "description": "iRacing only",
    "gameDefinition": "IRACING",
    "actionSequence": [
    "F5"
    ],
    "keyPressTime": 10,
    "waitBetweenEachCommand": 200
    }
    ]
    },
    {
    "name": "Tire Info Black Box",
    "description": "Displays Tire Info Black Box",
    "voiceTriggers": [
    "black box tire info"
    ],
    "commandSets": [
    {
    "description": "iRacing only",
    "gameDefinition": "IRACING",
    "actionSequence": [
    "F6"
    ],
    "keyPressTime": 10,
    "waitBetweenEachCommand": 200
    }
    ]
    },
    {
    "name": "Pit-stop Adjustments Black Box",
    "description": "Displays Pit-stop Adjustments Black Box",
    "voiceTriggers": [
    "black box pit stop"
    ],
    "commandSets": [
    {
    "description": "iRacing only",
    "gameDefinition": "IRACING",
    "actionSequence": [
    "F7"
    ],
    "keyPressTime": 10,
    "waitBetweenEachCommand": 200
    }
    ]
    },
    {
    "name": "In-car Adjustments Black Box",
    "description": "Displays In-car Adjustments Black Box",
    "voiceTriggers": [
    "black box car"
    ],
    "commandSets": [
    {
    "description": "iRacing only",
    "gameDefinition": "IRACING",
    "actionSequence": [
    "F8"
    ],
    "keyPressTime": 10,
    "waitBetweenEachCommand": 200
    }
    ]
    },
    {
    "name": "Mirror Adjustments Black Box",
    "description": "Displays Mirror Adjustments Black Box",
    "voiceTriggers": [
    "black box mirror"
    ],
    "commandSets": [
    {
    "description": "iRacing only",
    "gameDefinition": "IRACING",
    "actionSequence": [
    "F9"
    ],
    "keyPressTime": 10,
    "waitBetweenEachCommand": 200
    }
    ]
    },
    {
    "name": "Radio Adjustments Black Box",
    "description": "Displays Radio Adjustments Black Box",
    "voiceTriggers": [
    "black box radio"
    ],
    "commandSets": [
    {
    "description": "iRacing only",
    "gameDefinition": "IRACING",
    "actionSequence": [
    "F10"
    ],
    "keyPressTime": 10,
    "waitBetweenEachCommand": 200
    }
    ]
    },
    {
    "name": "Select Next Control",
    "description": "Selects The Next Control",
    "voiceTriggers": [
    "menu next"
    ],
    "commandSets": [
    {
    "description": "iRacing only",
    "gameDefinition": "IRACING",
    "actionSequence": [
    "UP"
    ],
    "keyPressTime": 10,
    "waitBetweenEachCommand": 200
    }
    ]
    },
    {
    "name": "Select Previous Control",
    "description": "Selects The Previous Control",
    "voiceTriggers": [
    "menu previous"
    ],
    "commandSets": [
    {
    "description": "iRacing only",
    "gameDefinition": "IRACING",
    "actionSequence": [
    "DOWN"
    ],
    "keyPressTime": 10,
    "waitBetweenEachCommand": 200
    }
    ]
    },
    {
    "name": "Increment Selected Control",
    "description": "Increase Value Of Selected Control",
    "voiceTriggers": [
    "menu increase"
    ],
    "commandSets": [
    {
    "description": "iRacing only",
    "gameDefinition": "IRACING",
    "actionSequence": [
    "RIGHT"
    ],
    "keyPressTime": 30,
    "waitBetweenEachCommand": 200
    }
    ]
    },
    {
    "name": "Decrement Selected Control",
    "description": "Decrease Value Of Selected Control",
    "voiceTriggers": [
    "menu decrease"
    ],
    "commandSets": [
    {
    "description": "iRacing only",
    "gameDefinition": "IRACING",
    "actionSequence": [
    "LEFT"
    ],
    "keyPressTime": 10,
    "waitBetweenEachCommand": 200
    }
    ]
    },
    {
    "name": "Toggle Selected Control",
    "description": "Toggles The Selected Control",
    "voiceTriggers": [
    "menu toggle"
    ],
    "commandSets": [
    {
    "description": "iRacing only",
    "gameDefinition": "IRACING",
    "actionSequence": [
    "SPACE_BAR"
    ],
    "keyPressTime": 10,
    "waitBetweenEachCommand": 200
    }
    ]
    },
    {
    "name": "Get Out Of Car",
    "description": "Presses ESC key for 2 sec.",
    "voiceTriggers": [
    "get out",
    "fuck this shit"
    ],
    "commandSets": [
    {
    "description": "iRacing version",
    "gameDefinition": "IRACING",
    "actionSequence": [
    "ESC"
    ],
    "keyPressTime": 2000,
    "waitBetweenEachCommand": 200
    }
    ]
    },
    {
    "name": "Get Out Of Car",
    "description": "Presses ESC key for 1.1 sec.",
    "voiceTriggers": [
    "get out",
    "fuck this shit"
    ],
    "commandSets": [
    {
    "description": "Race Room version",
    "gameDefinition": "RACE_ROOM",
    "actionSequence": [
    "ESC"
    ],
    "keyPressTime": 1100,
    "waitBetweenEachCommand": 200
    }
    ]
    },
    {
    "name": "say pass right",
    "description": "",
    "voiceTriggers": [
    "say pass right"
    ],
    "commandSets": [
    {
    "description": "Race Room version",
    "gameDefinition": "RACE_ROOM",
    "actionSequence": [
    "KEY_C",
    "{FREE_TEXT}Pass right",
    "ENTER"
    ],
    "keyPressTime": 10,
    "waitBetweenEachCommand": 30
    }
    ]
    },
    {
    "name": "say pass left",
    "description": "",
    "voiceTriggers": [
    "say pass left"
    ],
    "commandSets": [
    {
    "description": "Race Room version",
    "gameDefinition": "RACE_ROOM",
    "actionSequence": [
    "KEY_C",
    "{FREE_TEXT}Pass left",
    "ENTER"
    ],
    "keyPressTime": 10,
    "waitBetweenEachCommand": 30
    }
    ]
    },
    {
    "name": "say rammer",
    "description": "",
    "voiceTriggers": [
    "say rammer"
    ],
    "commandSets": [
    {
    "description": "Race Room version",
    "gameDefinition": "RACE_ROOM",
    "actionSequence": [
    "KEY_C",
    "{FREE_TEXT}Thanks for ramming!",
    "ENTER"
    ],
    "keyPressTime": 10,
    "waitBetweenEachCommand": 30
    }
    ]
    },
    {
    "name": "say yes",
    "description": "",
    "voiceTriggers": [
    "say yes"
    ],
    "commandSets": [
    {
    "description": "Race Room version",
    "gameDefinition": "RACE_ROOM",
    "actionSequence": [
    "KEY_C",
    "{FREE_TEXT}Great Race!",
    "ENTER"
    ],
    "keyPressTime": 10,
    "waitBetweenEachCommand": 30
    }
    ]
    },
    {
    "name": "say have fun",
    "description": "",
    "voiceTriggers": [
    "say have fun"
    ],
    "commandSets": [
    {
    "description": "Race Room version",
    "gameDefinition": "RACE_ROOM",
    "actionSequence": [
    "KEY_C",
    "{FREE_TEXT}GOOD LUCK, HAVE FUN!",
    "ENTER"
    ],
    "keyPressTime": 10,
    "waitBetweenEachCommand": 30
    }
    ]
    },
    {
    "name": "say no problem",
    "description": "",
    "voiceTriggers": [
    "say no problem"
    ],
    "commandSets": [
    {
    "description": "Race Room version",
    "gameDefinition": "RACE_ROOM",
    "actionSequence": [
    "KEY_C",
    "{FREE_TEXT}No problem!",
    "ENTER"
    ],
    "keyPressTime": 20,
    "waitBetweenEachCommand": 30
    }
    ]
    },
    {
    "name": "say clean race",
    "description": "",
    "voiceTriggers": [
    "say clean race"
    ],
    "commandSets": [
    {
    "description": "Race Room version",
    "gameDefinition": "RACE_ROOM",
    "actionSequence": [
    "KEY_C",
    "{FREE_TEXT}Clean race, please dont ram!",
    "ENTER"
    ],
    "keyPressTime": 20,
    "waitBetweenEachCommand": 30
    }
    ]
    }
    ]
    }

  4. #4
    Crew Chief Mega Corp CEO mr_belowski's Avatar
    Join Date
    Feb 2017
    Posts
    1,815
    try it without the ! characters

    If you look at the app's console output after you press Start, there are errors:

    Code:
    19:07:41.126 : Unable to convert character ! to a key press
    19:07:41.126 : Macro "say rammer" failed to load - some actionItems didn't parse succesfully
    19:07:41.126 : Unable to convert character ! to a key press
    19:07:41.126 : Macro "say yes" failed to load - some actionItems didn't parse succesfully
    19:07:41.126 : Unable to convert character ! to a key press
    19:07:41.126 : Macro "say have fun" failed to load - some actionItems didn't parse succesfully
    19:07:41.126 : Unable to convert character ! to a key press
    19:07:41.126 : Macro "say no problem" failed to load - some actionItems didn't parse succesfully
    19:07:41.126 : Unable to convert character ! to a key press
    19:07:41.126 : Macro "say clean race" failed to load - some actionItems didn't parse succesfully

    [edit]

    there is a task on our work backlog to implement a better character -> keypress conversion method that should be able to handle non-alpha numeric characters, but until we complete it you should stick to letters and numbers

  5. #5
    Junior Member
    Join Date
    Jun 2019
    Posts
    4
    Quote Originally Posted by mr_belowski View Post
    try it without the ! characters

    If you look at the app's console output after you press Start, there are errors:

    Code:
    19:07:41.126 : Unable to convert character ! to a key press
    19:07:41.126 : Macro "say rammer" failed to load - some actionItems didn't parse succesfully
    19:07:41.126 : Unable to convert character ! to a key press
    19:07:41.126 : Macro "say yes" failed to load - some actionItems didn't parse succesfully
    19:07:41.126 : Unable to convert character ! to a key press
    19:07:41.126 : Macro "say have fun" failed to load - some actionItems didn't parse succesfully
    19:07:41.126 : Unable to convert character ! to a key press
    19:07:41.126 : Macro "say no problem" failed to load - some actionItems didn't parse succesfully
    19:07:41.126 : Unable to convert character ! to a key press
    19:07:41.126 : Macro "say clean race" failed to load - some actionItems didn't parse succesfully

    [edit]

    there is a task on our work backlog to implement a better character -> keypress conversion method that should be able to handle non-alpha numeric characters, but until we complete it you should stick to letters and numbers
    Ah, of course - I didn't notice the errors!

    Thank you for a speedy response

    Crew Chief is really becomming a strong tool. I used to combine it with Voice Attack, but that is more or less not needed anymore. Only thing I am really missing, are some of the more advanced tools like kind of simple programming of variables and doing if/then/elses...

  6. #6
    Crew Chief Mega Corp CEO mr_belowski's Avatar
    Join Date
    Feb 2017
    Posts
    1,815
    yeah, the if-then-else stuff in the macros would be nice. There are some 'special' macros that trigger bits of logic in the app's code but it's such a nasty hack - i do need to implement something that allows the macros to contain some logic but it's quite tricky

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •