BEAST/BSE - Better Audio System and Sound Engine  0.8.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
davorgan.idl
Go to the documentation of this file.
00001  // Licensed GNU LGPL v2.1 or later: http://www.gnu.org/licenses/lgpl.html
00002 include "bse/bsecxxmodule.idl";
00003 namespace Bse {
00004 namespace Dav {
00005 interface Organ : Effect {
00006   Info    icon      = "icons/organ.png";
00007   Info    authors   = "David A. Bartold";
00008   Info    license   = _("GNU Lesser General Public License");
00009   Info    category  = _("/Audio Sources/Organ");
00010   Info    blurb     = _("DavOrgan is a versatile additive organ synthesizer");
00011   IStream freq_in   = Stream (_("Freq In"), _("Frequency Input"));
00012   OStream audio_out = Stream (_("Audio Out"), _("Organ output"));
00013   group _("Base Frequency") {
00014     Real base_freq = Freq (_("Frequency"), _("Organ frequency in Hertz, i.e. the pitch of the base tone"),
00015                            BSE_KAMMER_FREQUENCY, STANDARD ":dial");
00016     Int  base_note = Note (_("Note"), _("Organ frequency as note, converted to Hertz according to the current musical tuning"),
00017                            BSE_KAMMER_NOTE, GUI);
00018     Int  transpose = SfiInt (_("Transpose"), _("Transposition of the frequency in semitones"),
00019                           0, BSE_MIN_TRANSPOSE, BSE_MAX_TRANSPOSE, 12, STANDARD ":dial:skip-default");
00020     Int  fine_tune = FineTune (_("Fine Tune"), _("Amount of detuning in cent (hundredth part of a semitone)"),
00021                                STANDARD ":dial:skip-default");
00022   };
00023   group _("Harmonics") {
00024     Real harm0 = Perc (_("16th"),    _("16th Harmonic"), 100.0, STANDARD ":scale");
00025     Real harm1 = Perc (_("8th"),     _("8th Harmonic"), 100. * 36. / 127., STANDARD ":scale");
00026     Real harm2 = Perc (_("5 1/3rd"), _("5 1/3rd Harmonic"), 100. * 100. / 127., STANDARD ":scale");
00027     Real harm3 = Perc (_("4th"),     _("4th Harmonic"), 100. * 32. / 127., STANDARD ":scale");
00028     Real harm4 = Perc (_("2 2/3rd"), _("2 2/3rd Harmonic"), 100. * 91. / 127., STANDARD ":scale");
00029     Real harm5 = Perc (_("2nd"),     _("2nd Harmonic"), 100. * 55. / 127., STANDARD ":scale");
00030    };
00031   group _("Instrument flavour") {
00032     Bool brass = Bool (_("Brass Sounds"), _("Change the organ to sound more brassy"), false, STANDARD);
00033     Bool reed  = Bool (_("Reed Sounds"),  _("Add reeds sound"), false, STANDARD);
00034     Bool flute = Bool (_("Flute Sounds"), _("Add flute sounds"), false, STANDARD);
00035   };
00036 };
00037 
00038 } // Dav
00039 } // Bse
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines