add function to create splitter and specify channelMode