Finalize modgui details, add example preset
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
1567dd7a09
commit
0cbf3cd166
13 changed files with 273 additions and 29 deletions
|
@ -201,6 +201,7 @@ struct AudioToCVPitch : Module {
|
|||
}
|
||||
};
|
||||
|
||||
#ifndef HEADLESS
|
||||
struct SmallPercentageNanoKnob : NanoKnob<2, 0> {
|
||||
SmallPercentageNanoKnob() {
|
||||
box.size = Vec(32, 32);
|
||||
|
@ -354,6 +355,17 @@ struct AudioToCVPitchWidget : ModuleWidgetWith9HP {
|
|||
}));
|
||||
}
|
||||
};
|
||||
#else
|
||||
struct AudioToCVPitchWidget : ModuleWidget {
|
||||
AudioToCVPitchWidget(AudioToCVPitch* const module) {
|
||||
setModule(module);
|
||||
addInput(createInput<PJ301MPort>({}, module, AudioToCVPitch::AUDIO_INPUT));
|
||||
addOutput(createOutput<PJ301MPort>({}, module, AudioToCVPitch::CV_PITCH));
|
||||
addOutput(createOutput<PJ301MPort>({}, module, AudioToCVPitch::CV_GATE));
|
||||
|
||||
}
|
||||
};
|
||||
#endif
|
||||
|
||||
// --------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue