Home
last modified time | relevance | path

Searched refs:audio_sample (Results 1 – 4 of 4) sorted by relevance

/btstack/test/sbc/
H A Dsbc_encoder_test.py34 M = mse(actual_frame.audio_sample[blk][ch], expected_frame.audio_sample[blk][ch])
40 print (actual_frame.audio_sample[blk])
41 print (expected_frame.audio_sample[blk])
H A Dsbc_encoder.py124 frame.audio_sample[blk][ch][sb] = np.uint16(((SB * L / SF + L) - 1.0)/2.0)
126 frame.audio_sample[blk][ch][sb] = 0
H A Dsbc_decoder.py109 …frame.audio_sample = np.ndarray(shape=(frame.nr_blocks, frame.nr_channels, frame.nr_subbands), dty…
113 frame.audio_sample[blk][ch][sb] = get_bits(fin, frame.bits[ch][sb])
131 AS = frame.audio_sample[blk][ch][sb]
H A Dsbc.py215 audio_sample = np.zeros(shape = (16,2,8), dtype = np.uint16) variable in SBCFrame
238 self.audio_sample = np.zeros(shape=(nr_blocks, nr_channels, nr_subbands), dtype = np.uint16)
247 print(self.audio_sample[blk][ch])
607 add_bits(frame.audio_sample[blk][ch][sb], frame.bits[ch][sb])