assert number of channels on initialisation