lib/pwn/plugins/baresip.rb in pwn-0.4.543 vs lib/pwn/plugins/baresip.rb in pwn-0.4.544
- old
+ new
@@ -542,9 +542,22 @@
spectrogram = "#{recording}-spectrogram.png"
print "Generating Audio Spectrogram for #{recording}..."
system(
sox_bin,
+ '--show-progress',
+ '--type',
+ 'sndfile',
+ '--encoding',
+ 'signed-integer',
+ '--bits',
+ '16',
+ '--endian',
+ 'little',
+ '--channels',
+ '1',
+ '--rate',
+ '8000',
recording,
'-n',
'spectrogram',
'-o',
spectrogram,