uhhh... you're confusing me here... if you're just using MIDI connections, then it doesn't matter what the audio ports are set to, because well... they're not connected... however if you're talking about how you should set up the audio ports when you connect your keyboard to the audio ports, they should be set to line rather than mic or guitar.