Skip to content

Commit

Permalink
Update lib/modules/spectrogram.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
atruskie committed Nov 6, 2012
1 parent a88973e commit e5947e8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/modules/spectrogram.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
require 'open3'

module Spectrogram
@sox_path = if OS::OS.windows? then "./vendor/bin/sox/windows/sox.exe" else "sox" end
include OS

@sox_path = if OS.windows? then "./vendor/bin/sox/windows/sox.exe" else "sox" end
@sox_arguments_verbose = "-V"
@sox_arguments_output_audio = "-n"
@sox_arguments_sample_rate = "rate 22050"
Expand Down

0 comments on commit e5947e8

Please sign in to comment.