def extract_features(options={})
      rate = options[:sample_rate] || "8000"
      begin
        parameters = []
        parameters << "-r #{rate}"
        parameters << ":source"
        parameters = parameters.flatten.compact.join(" ").strip.squeeze(" ")
        success = Cocaine::CommandLine.new("yaafehero", parameters).run(:source => get_path(@file))
      rescue => e
        raise AudioHeroError, "These was an issue getting stats from #{@basename}"
      end
      garbage_collect(@file) if options[:gc] == "true"
      MessagePack.unpack(success)
    end
def extract_features(options={})
      rate = options[:sample_rate] || "8000"
      begin
        parameters = []
        parameters << "-r #{rate}"
        parameters << ":source"
        parameters = parameters.flatten.compact.join(" ").strip.squeeze(" ")
        success = Cocaine::CommandLine.new("yaafehero", parameters).run(:source => get_path(@file))
      rescue => e
        raise AudioHeroError, "These was an issue getting stats from #{@basename}"
      end
      garbage_collect(@file) if options[:gc] == "true"
      MessagePack.unpack(success)
    end
Requires custom version of yaafe