Yes a puzzle. It sounds to me that you are recording Midi to Audio by using your external keyboard and outputting Audio back through to your keyboard. Your drivers would seem to be both IN and Out to your Yamaha keyboard. Try another driver to output through the soundcard - you will still get the MIDI recording but this will divorce the IN/Out process from the Keyboard. This may not help BUT.....