spek

Acoustic spectrum analyser https://github.com/alexkay/spek spek.cc
git clone http://git.hanabi.in/repos/spek.git
Log | Files | Refs | README

spek-palette.h (224B)


      1 #pragma once
      2 
      3 #include <stdint.h>
      4 
      5 enum palette {
      6     PALETTE_SPECTRUM,
      7     PALETTE_SOX,
      8     PALETTE_MONO,
      9     PALETTE_COUNT,
     10     PALETTE_DEFAULT = PALETTE_SOX,
     11 };
     12 
     13 uint32_t spek_palette(enum palette palette, double level);