code: def test_seek_to_half(self, p):
      from random import randint
  
      f = source(p, 0, 0)
      assert f.samplerate != 0
      assert f.hop_size != 0
      a = self.read_from_source(f)
      c = randint(0, a)
      f.seek(c)
      b = self.read_from_source(f)
      assert a == b + c
  
imports: from numpy.testing import TestCase, assert_equal
  from aubio import source
  from utils import list_all_sounds, parse_file_samplerate
  import unittest
  from _tools import assert_raises, assert_equal, assert_warns
  from _tools import parametrize, skipTest
label_desc: Use image node_id 6 for calling the Test_aubio_source_read obj's underlying member method code with example usage: obj.test_seek_to_half(p) without return types