Use short sessions over a week or so to teach your dog this step.
Whenever your dog barks when you have not given the "speak" command, blow the whistle.
Give one sharp blow, then praise and treat your dog if he stops barking.
Repeat this step every time your dog barks without the "speak" command.