Lines Matching full:channel
53 @property channel: The number of channels.
54 @property channel_data: A list of lists containing samples in each channel.
55 E.g., The third sample in the second channel is
60 def __init__(self, binary, channel, sample_format):
66 @param channel: The number of channels.
69 self.channel = channel
70 self.channel_data = [[] for _ in xrange(self.channel)]
95 Reads one sample for each channel and repeats until the end of
105 channel_index = (channel_index + 1) % self.channel
110 """Copies channel data and updates channel number.
112 @param channel_data: A list of list. The channel data to be copied.
116 self.channel = len(self.channel_data)
120 """Writes channel data to file.
122 Writes samples in each channel into file in index-first sequence.
130 for ch in xrange(self.channel)]
133 'Channel lengths are not the same: %r' % lengths)
138 for ch in xrange(self.channel):