// // SingingStyleDefaultsOptionProvider.cs // // Author: // Mike Becker // // Copyright (c) 2019 Mike Becker // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with this program. If not, see . using System; using UniversalWidgetToolkit; namespace UniversalEditor.Plugins.Multimedia.UserInterface.OptionProviders { public class SingingStyleDefaultsOptionProvider : OptionProvider { public SingingStyleDefaultsOptionProvider () { OptionGroups.Add ("Editors:Synthesized Audio:External Programs", new Option[] { new BooleanOption("Use external _wavefile manipulation tool"), new TextOption("Path"), new BooleanOption("Use external _resampling tool"), new TextOption("Path"), new TextOption("Voicebank _directory") }); OptionGroups.Add ("Editors:Synthesized Audio:MIDI Settings", new Option[] { new GroupOption("MIDI Devices", new Option[] { new ChoiceOption("_Input device"), new ChoiceOption("_Output device") }), new BooleanOption("Play notes through MIDI output upon _selection"), new BooleanOption("Send _Program Change for the following program before continuing"), new ChoiceOption(String.Empty) }); OptionGroups.Add ("Editors:Synthesized Audio:Phoneme Dictionary", new Option[] { }); OptionGroups.Add ("Editors:Synthesized Audio:Synthesizers", new Option[] { }); OptionGroups.Add("Editors:Synthesized Audio:Singing Style Defaults", new Option[] { // new CommandOption("_Load settings from VOCALOID2"), // 2q22wnew CommandOption("_Save settings from VOCALOID2"), new ChoiceOption("_Template", null, new ChoiceOption.ChoiceOptionValue[] { new ChoiceOption.ChoiceOptionValue("(Custom)", "custom"), new ChoiceOption.ChoiceOptionValue("Normal", "normal"), new ChoiceOption.ChoiceOptionValue("Accent", "accent"), new ChoiceOption.ChoiceOptionValue("Strong Accent", "strongaccent"), new ChoiceOption.ChoiceOptionValue("Legato", "legato"), new ChoiceOption.ChoiceOptionValue("Slow Legato", "slowlegato"), }), new GroupOption("Pitch control", new Option[] { new RangeOption("_Bend depth", 8, 0, 100), new RangeOption("Bend _length", 0, 0, 100), new BooleanOption("Add portamento in _rising movement"), new BooleanOption("Add portamento in _falling movement") }), new GroupOption("Dynamics control", new Option[] { new RangeOption("_Decay", 50, 0, 100), new RangeOption("_Accent", 50, 0, 100) }) }); } } }