RouteMap: number[][]

Represents a route map. The map is a matrix where the rows represent incoming channels and the columns represent the destination channels, i.e output speaker.

Example: an stereo track with a stereo output would have the following default routing layout

            L   R
Channel 0 [ 1 , 0 ]
Channel 1 [ 0 , 1 ]

Which would connect the audio tracks first (left) channel to the second (right) destination channel.

Example: an 5.1 track with a 5.1 output would have the following default routing layout

            L   R   C  LFE  LS  RS
Channel 0 [ 1 , 0 , 0 , 0 , 0 , 0 ]
Channel 1 [ 0 , 1 , 0 , 0 , 0 , 0 ]
Channel 2 [ 0 , 0 , 1 , 0 , 0 , 0 ]
Channel 3 [ 0 , 0 , 0 , 1 , 0 , 0 ]
Channel 4 [ 0 , 0 , 0 , 0 , 1 , 0 ]
Channel 5 [ 0 , 0 , 0 , 0 , 0 , 1 ]