#!ruby f=open("flat_48000.dat","w") f.puts "; Sample Rate 44100 ; Channels 1" (48000*120).times{|n| f.puts "#{n.to_f/48000} 1"}