Re: DavOrgan C++ port - please review (tuning support added)
- From: Tim Janik <timj gtk org>
- To: Stefan Westerfeld <stefan space twc de>
- Cc: Beast Liste <beast beast gtk org>
- Subject: Re: DavOrgan C++ port - please review (tuning support added)
- Date: Mon, 18 Dec 2006 01:21:36 +0100 (CET)
On Mon, 18 Dec 2006, Stefan Westerfeld wrote:
On Mon, Dec 11, 2006 at 11:25:06PM +0100, Stefan Westerfeld wrote:
Yes. Anyway, here is my new suggestion for an 1:1 port. I didn't include
improvements to the IDL fil you suggest, but concentrated on getting the
mix_freq() dependant table right. Also I am no longer introducing
double (i) casts, at the cost of having the loops that fill the tables
do double <-> int comparisions, which I wanted to avoid before.
I added musical tuning support as required by recent svn.
plugins/davorgan.idl:
========================================================================
namespace Bse {
namespace Dav {
class Organ : Effect {
Info icon = "icons/organ.png";
Info authors = "David A. Bartold";
Info license = _("GNU Lesser General Public License");
Info category = _("/Audio Sources/Organ");
Info blurb = _("DavOrgan is a modifiable additive organ synthesizer");
IStream freq_in = (_("Freq In"), _("Frequency Input"));
OStream audio_out = (_("Audio Out"), _("Organ output"));
group _("Base Frequency") {
Real base_freq = Freq (_("Frequency"), NULL, BSE_KAMMER_FREQUENCY, STANDARD ":dial");
Int base_note = Note (_("Note"), NULL, BSE_KAMMER_NOTE, GUI);
Int transpose = (_("Transpose"), _("Transposition of the frequency in semitones"),
0, BSE_MIN_TRANSPOSE, BSE_MAX_TRANSPOSE, 12,
STANDARD ":f:dial:skip-default");
Int fine_tune = FineTune (_("Fine Tune"), _("Amount of detuning in cent (hundredth part of a semitone)"),
STANDARD ":f:dial:skip-default");
the property decls need indentation fixes.
also, you lack the tooltips that were recently added;
probably even other stuff.
i don't want to have to compare your files line-by-line with the C
sources in SVN, so please make sure you incroporate *all* recent changes
before sending the new patch.
};
Cu... Stefan
---
ciaoTJ
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]