class_docstr: This program implements ReplayGain 2.0 an should not be considered in the comparison. The wrapper was implemented
  just to assess the difference among versions. To install it follow : http://bs1770gain.sourceforge.net/
class_docstr_tok: ["This","program","implements","ReplayGain","2.0","an","should","not","be","considered","in","the","comparison",".","The","wrapper","was","implemented","just","to","assess","the","difference","among","versions",".","To","install","it","follow",":","http",":","\/\/bs1770gain.sourceforge.net\/"]
code: def compute(self, *args):
      key = args[2]
      command = ["bs1770gain", "--replaygain", args[0].routes[key]]
      output = subprocess.check_output(
          command, stderr=subprocess.STDOUT, universal_newlines=True
      )
      y = float(output.split("\n")[2].split(" ")[-5]) - 6.0
  
      return esarr(y)
  
file_path: essentia/test/src/QA/replaygain/test_replaygain.py
imports: import sys
  import subprocess
  import essentia.standard
  from qa_test import *
  from qa_testvalues import QaTestValues
label_desc: Use image node_id 1 for calling the bs1770gain obj's underlying member method code with example usage: obj.compute() and returns: esarr