_dev_audio.rb �y:��U @ ���U require 'coreaudio' dev = CoreAudio.default_output_device buf = dev.output_loop(44000) line = ARGV[0] puts line 44000.times do |t| # buf[i] = 0x3FFF * rand() # buf[i] = t * ((t >> 9 | t >> 13) & 25 & t >> 6) buf[t] = eval line end buf.start sleep 10 buf.stop __END__ SYNOPSIS: % ruby _dev_audio.rb 't * ((t >> 9 | t >> 13) & 25 & t >> 6)' SEE ALSO: http://d.hatena.ne.jp/m