code: def test_get_methods(self):
      o = onset(method="default", buf_size=512, hop_size=256)
  
      assert o.get_silence() == -70
      o.set_silence(-20)
      assert_almost_equal(o.get_silence(), -20)
  
      assert o.get_compression() == 1
      o.set_compression(0.99)
      assert_almost_equal(o.get_compression(), 0.99)
  
      assert o.get_awhitening() == 0
      o.set_awhitening(1)
      assert o.get_awhitening() == 1
  
      o.get_last()
      o.get_last_ms()
      o.get_last_s()
      o.get_descriptor()
      o.get_thresholded_descriptor()
  
imports: from numpy.testing import TestCase, assert_equal, assert_almost_equal
  from aubio import onset, fvec
label_desc: Use image node_id 2 for calling the aubio_onset_coverate obj's underlying member method code with example usage: obj.test_get_methods() without return types