clj-mfcc

Mel-frequency cepstral coefficients (MFCCs) [comirva-0.0.36]


License
MIT

Documentation

clj-MFCC

Using comirva-0.36

Installation

Add the following dependency to your project.clj file:

[clj-mfcc "0.0.1"]

Usage

(ns hello-world.core
  (:require [clj-mfcc.mfcc :as mfcc]))

(def NUMBERS_OF_COEFF   17)
(def WINDOW_SIZE       512)
(def USE_FIRST_COEFF false)
(def MIN_FREQ         20.0)
(def MAX_FREQ      16000.0)
(def NUMBER_OF_FILTERS 250)

(defn calculate-mfcc
  [file]
  (mfcc/MFCC file WINDOW_SIZE NUMBERS_OF_COEFF USE_FIRST_COEFF MIN_FREQ MAX_FREQ NUMBER_OF_FILTERS))

License

Copyright © 2014 Dyachenko Ivan

Distributed under the MIT License.