 
 (defonce buf (buffer 44100)) ;; create a buffer to store the audio 
 
-(def snare (sample (freesound-path 26903))) 
+(def snare (sample (freesound-path 26903)))
+(def snare (sample (freesound-path 68447))) 
 
-(def snare-buf (load-sample (freesound-path 26903))) 
+(def samp-buf (load-sample (freesound-path 68447))) 
 
   ;; ============================================
   ;; buffer fun

  (:require [clojure.core.matrix :as mat])
  (:require [mikera.image.core :as img])
  (:require [mikera.image.colours :as col])
  (:import [mikera.matrixx Matrix AMatrix])
  (:import [java.awt.image BufferedImage]))


          h (.getHeight bi)]
      (dotimes [x w]
        (dotimes [y h]
          (.setRGB bi (int x) (- (dec h) (int y)) (unchecked-int (spec/heatmap (* 0.01 (.get M (int y) (int x))) ))))))
    bi))

(def M (fft-matrix arr))

(defn demo-code []
  
  (img/show (render M)))