mirror of
https://github.com/yokemura/Magical8bitPlug2.git
synced 2025-05-24 23:00:21 -04:00
Defined mono mode parameters
This commit is contained in:
parent
10be019661
commit
fffe531b59
@ -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]
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user