Defined mono mode parameters

This commit is contained in:
Takeshi Yokemura 2021-05-16 19:21:07 +09:00
parent 10be019661
commit fffe531b59
2 changed files with 12 additions and 4 deletions

View File

@ -115,7 +115,7 @@ void ChoiceComponent::comboBoxChanged (ComboBox* comboBoxThatHasChanged)
if (comboBoxThatHasChanged == comboBox.get())
{
//[UserComboBoxCode_comboBox] -- add your combo box handling code here..
printf ("value = %d\n", comboBoxThatHasChanged->getSelectedId());
// printf ("value = %d\n", comboBoxThatHasChanged->getSelectedId());
//[/UserComboBoxCode_comboBox]
}

View File

@ -65,11 +65,19 @@ Magical8bitPlug2AudioProcessor::Magical8bitPlug2AudioProcessor()
0.5f), //skew
0.0f), //default
//
// Arpeggio
// Monophonic
//
std::make_unique<AudioParameterBool> ("isArpeggioEnabled_raw", "Enabled", false),
std::make_unique<AudioParameterFloat> ("arpeggioTime", "Time", 0.0f, 0.3f, 0.033f),
std::make_unique<AudioParameterChoice> ("monophonicBehavior", "Behavior", StringArray ({"Legato", "Arpeggio Up", "Arpeggio Down", "Non-legato"}), 0),
std::make_unique<AudioParameterChoice> ("arpeggioIntervalType", "Interval", StringArray ({"1frame", "2frames", "3frames", "96th", "64th", "48th", "32th", "24th", "Slider"}), 0),
std::make_unique<AudioParameterFloat> ("arpeggioIntervalSliderValue", //ID
"Interval", //name
NormalisableRange<float> (0.001f, //min
0.3f, //max
0.001f, //step
0.5f), //skew
0.001f), //default
std::make_unique<AudioParameterChoice> ("arpeggioDirection", "Direction", StringArray ({"up", "down"}), 0),
std::make_unique<AudioParameterFloat> ("portamentoTime", "Portamento Time", 0.0f, 1.0f, 0.0f),
//
// Bend
//