Sha256: 49fde33921eb1f4f8b92702e1b1de424a20f2b6fa7a22ee9c9a29dcea8fbfffa
Contents?: true
Size: 321 Bytes
Versions: 5
Compression:
Stored size: 321 Bytes
Contents
#!/usr/bin/env ruby require 'rsox-command' ARGV.each do |file| Sox::Stats.new(file).tap do |stats| begin $stderr.puts "#{file} rms_level:#{stats.rms_level}dB rms_peak:#{stats.rms_peak}dB" if $DEBUG puts file if stats.silent? rescue => e $stderr.puts "Error: #{file}, #{e}" end end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
rsox-command-0.0.5 | bin/silent-files |
rsox-command-0.0.4 | bin/silent-files |
rsox-command-0.0.3 | bin/silent-files |
rsox-command-0.0.2 | bin/silent-files |
rsox-command-0.0.1 | bin/silent-files |