|
🍑 nectarine
Audio synthesis tools for C23
|
Data Fields | |
| size_t | mipmap_count |
| How many mip-map levels there are in this wavetable. | |
| size_t | variant_count |
| How many different wave shape variants exist in this wavetable that can be morphed between. | |
| size_t | sample_count |
| How many samples each wave shape variant is made of. | |
| float | data [] |
| The actual wavetable data. | |
| float nec_wt::data[] |
The actual wavetable data.
A pointer to this member can be cast to the type float (*)[mipmap_count][variant_count][sample_count] to get correct multidimensional indexing.
| size_t nec_wt::mipmap_count |
How many mip-map levels there are in this wavetable.
As frequency increases, high-frequency harmonics are filtered out more aggressively.
| size_t nec_wt::variant_count |
How many different wave shape variants exist in this wavetable that can be morphed between.
This is generally what users think a "wavetable" is.