CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
rapid7

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.

GitHub Repository: rapid7/metasploit-framework
Path: blob/master/data/sounds/aiff2wav.rb
Views: 11766
1
#!/usr/bin/env ruby
2
3
Dir.open(".").entries.grep(/.aiff$/).each do |inp|
4
out = inp.gsub(".aiff", ".wav")
5
system("sox #{inp} #{out}")
6
end
7
8
9