support for multichannel in patch file