#include <mythplugins/mythmusic/mythmusic/visualize.h>
|
static double | hz2mel (double hz) |
|
static double | mel2hz (double mel) |
|
|
std::vector< int > | m_indices |
|
std::array< QString, 12 > | m_notes = {"C", ".", "D", ".", "E", "F", ".", "G", ".", "A", ".", "B"} |
|
std::array< int, 126 > | m_pixels {0} |
|
std::array< int, 126 > | m_freqs {0} |
|
int | m_scale {0} |
|
int | m_range {0} |
|
Definition at line 197 of file visualize.h.
◆ MelScale()
MelScale::MelScale |
( |
int |
maxscale = 0 , |
|
|
int |
maxrange = 0 , |
|
|
int |
maxfreq = 0 |
|
) |
| |
|
explicit |
◆ scale()
int MelScale::scale |
( |
| ) |
const |
|
inline |
◆ range()
int MelScale::range |
( |
| ) |
const |
|
inline |
◆ setMax()
void MelScale::setMax |
( |
int |
maxscale, |
|
|
int |
maxrange, |
|
|
int |
maxfreq |
|
) |
| |
◆ hz2mel()
static double MelScale::hz2mel |
( |
double |
hz | ) |
|
|
inlinestatic |
◆ mel2hz()
static double MelScale::mel2hz |
( |
double |
mel | ) |
|
|
inlinestatic |
◆ operator[]()
int MelScale::operator[] |
( |
int |
index | ) |
|
◆ note()
QString MelScale::note |
( |
int |
note | ) |
|
◆ pixel()
int MelScale::pixel |
( |
int |
note | ) |
|
◆ freq()
int MelScale::freq |
( |
int |
note | ) |
|
◆ m_indices
std::vector<int> MelScale::m_indices |
|
private |
◆ m_notes
std::array<QString, 12> MelScale::m_notes = {"C", ".", "D", ".", "E", "F", ".", "G", ".", "A", ".", "B"} |
|
private |
◆ m_pixels
std::array<int,126> MelScale::m_pixels {0} |
|
private |
◆ m_freqs
std::array<int,126> MelScale::m_freqs {0} |
|
private |
◆ m_scale
int MelScale::m_scale {0} |
|
private |
◆ m_range
int MelScale::m_range {0} |
|
private |
The documentation for this class was generated from the following files: