shut up testsynth
parent
2bfd06acf2
commit
e007063e92
9
notes
9
notes
|
@ -35,7 +35,14 @@ TODO {
|
|||
about-license info
|
||||
}
|
||||
|
||||
- templatize svfilter and have mono version for synth use
|
||||
pool I guess
|
||||
|
||||
implement dlmalloc as backend for some things
|
||||
|
||||
more ui options for laptop stuff {
|
||||
invert scrollwheel (knobs)
|
||||
maybe scroll sensitivity
|
||||
}
|
||||
|
||||
revert-to-saved menu action
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ namespace {
|
|||
const double PI = std::atan(1)*4;
|
||||
const double SEMI = std::pow(2.0, 1.0/12.0);
|
||||
|
||||
double fOsc(double& time) {
|
||||
[[maybe_unused]] double fOsc(double& time) {
|
||||
time = std::fmod(time, 2.0);
|
||||
|
||||
auto a = 0.0;
|
||||
|
@ -96,7 +96,7 @@ void TestSynth::process() {
|
|||
//qDebug() << "rate" << rate << "note" << note;
|
||||
|
||||
for (size_t s = 0; s < ts; s++) {
|
||||
double ip = std::floor(osc);
|
||||
/*double ip = std::floor(osc);
|
||||
double fp = osc - ip;
|
||||
size_t lutIndex = static_cast<size_t>(fp*NodeLib::LUT_STEPS) % NodeLib::LUT_STEPS;
|
||||
auto& pt = NodeLib::resamplerLUT[lutIndex];
|
||||
|
@ -106,7 +106,7 @@ void TestSynth::process() {
|
|||
auto si = ii+static_cast<ptrdiff_t>(i);
|
||||
//if (si >= 0 && si < static_cast<ptrdiff_t>(smp->length())) out += (*smp)[static_cast<size_t>(si)] * pt[i];
|
||||
}
|
||||
(*p)[s] = out;
|
||||
(*p)[s] = out;*/
|
||||
|
||||
|
||||
osc += rate;
|
||||
|
|
Loading…
Reference in New Issue