Module: Mfcc::Dct

Included in:
Calculator
Defined in:
lib/mfcc/dct.rb

Overview

Takes the discrete cosing transform. Converts an n x m matrix to an n x order matrix. ncol should be set to m.

Instance Method Summary collapse

Instance Method Details

#dct(data) ⇒ Object



5
6
7
# File 'lib/mfcc/dct.rb', line 5

def dct(data)
  Mfcc.dct(data, dct_order)
end