/* BseEvaluator - evaluates expressions -*-mode: c++;-*- * Copyright (C) 2003 Stefan Westerfeld * * 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 2 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, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * */ #include namespace Bse { class Evaluator : Bse::Effect { /*Info icon = "icons/bseevaluator.png";*/ Info options = "unstable"; Info authors = "Stefan Westerfeld"; Info license = _("GNU General Public License"); Info category = _("/Misc/Evaluator"); Info blurb = _("BseEvaluator is a module which can compute arithmetic operations in a small language. " "The audio input signal is called input, the audio output signal is called output. " "Simple examples for programs would be \"output = input * 5\" or \"output = 2 * input + 1\"."); IStream input = (_("Audio In"), _("Audio input")); OStream output = (_("Audio Out"), _("Audio output")); group _("Parameters") { String source = String (_("Source code"), _("The source code"), "output = input", STANDARD); String status = String (_("Status"), _("Status used to output error messages"), "", GUI_RDONLY); }; }; }; // Bse /* vim:set ts=8 sw=2 sts=2 syntax=cpp: */