Comments
parent
267a8a2ad6
commit
5ea64d3e07
|
@ -51,6 +51,9 @@ Ergodox& Ergodox::init(
|
||||||
return Instance;
|
return Instance;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// Instance is a static function variable,
|
||||||
|
// and will be deleted at end of program.
|
||||||
Ergodox::~Ergodox() {
|
Ergodox::~Ergodox() {
|
||||||
close();
|
close();
|
||||||
hid_exit();
|
hid_exit();
|
||||||
|
|
|
@ -43,9 +43,9 @@ class FFT_Visualizer {
|
||||||
// Visualizer parameters
|
// Visualizer parameters
|
||||||
///
|
///
|
||||||
|
|
||||||
// How many bars this visualizer will generate
|
// Horizontal resolution
|
||||||
const size_t width;
|
const size_t width;
|
||||||
// Resolution of this visualizer's bars.
|
// Vertical resolution
|
||||||
const size_t height;
|
const size_t height;
|
||||||
// Leftmost frequency in spectrum
|
// Leftmost frequency in spectrum
|
||||||
const double HZ_MIN;
|
const double HZ_MIN;
|
||||||
|
|
Loading…
Reference in New Issue