Method: WavFile::Format#to_s

Defined in:
lib/wav-file/wav-file.rb

#to_sObject



35
36
37
38
39
40
41
42
43
44
# File 'lib/wav-file/wav-file.rb', line 35

def to_s
  <<EOS
Format ID:      #{@id}
Channels:       #{@channel}
Sampling Ratio: #{@hz} (Hz)
Byte per Sec:   #{@bytePerSec}
Bit per Sample: #{@bitPerSample} 
Block Size:     #{blockSize}
EOS
end