BEAST/BSE - Better Audio System and Sound Engine
0.8.2
|
00001 // Licensed GNU LGPL v2.1 or later: http://www.gnu.org/licenses/lgpl.html 00002 include "bse/bsecxxmodule.idl"; 00003 namespace Bse { 00004 interface Balance : Effect { 00005 Info icon = "icons/balance.png"; 00006 Info authors = "Tim Janik"; 00007 Info license = _("GNU Lesser General Public License"); 00008 Info category = _("/Spatial/Balance"); 00009 Info blurb = _("BseBalance is a stereo panning module with " 00010 "two audio and two control inputs, each of which can " 00011 "be seperately level adjusted. " 00012 "The resulting output balance is controlled by a balance adjustment " 00013 "and the sum of the control inputs. " 00014 "To avoid aliasing artefacts for rapid balance changes, the control " 00015 "signal is preprocessed by a simple lowpass filter with adjustable " 00016 "cutoff frequency."); 00017 IStream audio_in1 = Stream (_("Audio In1"), _("First audio input")); 00018 IStream audio_in2 = Stream (_("Audio In2"), _("Second audio input")); 00019 IStream ctrl_in1 = Stream (_("Ctrl In1"), _("First control input")); 00020 IStream ctrl_in2 = Stream (_("Ctrl In2"), _("Second control input")); 00021 OStream left_out = Stream (_("Left Out"), _("Left audio output")); 00022 OStream mix_out = Stream (_("Mix Out"), _("Mixed audio output")); 00023 OStream right_out = Stream (_("Right Out"), _("Right audio output")); 00024 group _("Audio Input") { 00025 Real alevel1 = Perc (_("Input 1 [%]"), _("Attenuate the level of audio input 1"), 100, STANDARD); 00026 Real alevel2 = Perc (_("Input 2 [%]"), _("Attenuate the level of audio input 2"), 100, STANDARD); 00027 Real abalance = Balance (_("Balance"), _("Balance audio input levels"), 0, GUI); 00028 }; 00029 group _("Control Input") { 00030 Real clevel1 = Perc (_("Input 1 [%]"), _("Attenuate the level of control input 1"), 100, STANDARD); 00031 Real clevel2 = Perc (_("Input 2 [%]"), _("Attenuate the level of control input 2"), 100, STANDARD); 00032 Real cbalance = Balance (_("Balance"), _("Balance control input levels"), 0, GUI); 00033 }; 00034 group _("Output Panning") { 00035 Real ostrength = Perc (_("Control Strength"), _("Adjust how much the control signals affect the output balance"), 100, STANDARD); 00036 Real lowpass = SfiReal (_("Lowpass [Hz]"), _("Lowpass filter frequency for the control signal"), 100, 100, 1000, 10, "scale:" STANDARD); 00037 Real obalance = Balance (_("Output Balance"), _("Adjust output balance between left and right"), 0, STANDARD); 00038 }; 00039 }; 00040 00041 };