 Collections = require('base').Collections
 
 all_palettes = require('../palettes/palettes').all_palettes
-ColorMapper = require('../color_mapper').ColorMapper
+console.log all_palettes
+ColorMapper = require('../mappers/color/linear_color_mapper').LinearColorMapper
 
 NUM_SAMPLES = 1024
 SAMPLING_RATE = 44100

    success: (data, textStatus, jqXHR) =>
      if not data[0]?
        _.delay((=> @throttled_request_data), 130)
      else  
        @on_data(data)
        requestAnimationFrame(
          => @throttled_request_data())

  setInterval((() ->
    spec.request_data()),
    400)


