def __init__(self,x,start_offset = <NUM_LIT:0>):
self.n_chan = x.ndim<EOL>if self.n_chan == <NUM_LIT:2>:<EOL><INDENT>if x.shape[<NUM_LIT:1>] != <NUM_LIT:2>:<EOL><INDENT>x = x.T<EOL><DEDENT><DEDENT>self.x = x<EOL>self.x_len = x.shape[<NUM_LIT:0>]<EOL>self.loop_pointer = start_offset<EOL>
Create a 1D or 2D array for audio looping