Direct transcoding is available with specialized software that was built for this particular purpose but even if you use a tool like this, you will need to first record the audio and then transcribe the audio using a pedal of your keyboard. Express Scribe might come in help if you're planning to do this.