added an example of two channels with different durations