I would like to use speech to text voice-recognition software to write code. Essentially, I would like to dictate code blocks based on predefined commands or scripts.
Instead of having to type up arbitrary code blocks (classes, if blocks, while blocks, methods etc.), I simply have predefined vocal scripts to dictate the code instead.
Have you and implementation of dictating code instead of typing?
I use Dragon NaturallySpeaking to dictate code instead of typing. I do this by creating predefined skeleton code within the script and simply dictate the script which pastes the skeleton code.
You'll find below an an example Dragon NaturallySpeaking script which does this:
Once you save your Dragon Script (depicted above), it gets placed into the Dragon script list or library (outlined below). By building up your personalized Dragon scripts you can dictate a substantial amount of code without typing.
I provided a video link outlining a demonstration of using voice dictation to write up Java code Dictating Code
The example I've used was with Java, but you can also build up your personalized dictation scripts for any coding language.