class_docstr: Defines the expected attributes for a test audiofile.
class_docstr_tok: ["Defines","the","expected","attributes","for","a","test","audiofile","."]
code: def __init__(self, filename, duration, channels, samplerate):
      self.path = os.path.join(DATADIR, filename)
      self.duration = duration
      self.channels = channels
      self.samplerate = samplerate
  
imports: import json
  import os
  import pytest
label_desc: Use image node_id 1 to create a new AudiofileSpec object  with example: obj = AudiofileSpec(filename, duration, channels, samplerate)