r4057 - in trunk: . r+d-files
- From: timj svn gnome org
- To: svn-commits-list gnome org
- Subject: r4057 - in trunk: . r+d-files
- Date: Thu, 2 Nov 2006 20:38:25 -0500 (EST)
Author: timj
Date: 2006-11-02 20:38:23 -0500 (Thu, 02 Nov 2006)
New Revision: 4057
Modified:
trunk/ChangeLog
trunk/r+d-files/bse-ellf.c
Log:
Fri Nov 3 02:20:01 2006 Tim Janik <timj gtk org>
* r+d-files/bse-ellf.c: ssignificantly reduced the number of
generated filters.
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2006-11-03 01:36:00 UTC (rev 4056)
+++ trunk/ChangeLog 2006-11-03 01:38:23 UTC (rev 4057)
@@ -1,3 +1,8 @@
+Fri Nov 3 02:20:01 2006 Tim Janik <timj gtk org>
+
+ * r+d-files/bse-ellf.c: ssignificantly reduced the number of
+ generated filters.
+
Thu Nov 2 22:30:27 2006 Tim Janik <timj gtk org>
* r+d-files/bse-ellf.c: initialize random generators.
Modified: trunk/r+d-files/bse-ellf.c
===================================================================
--- trunk/r+d-files/bse-ellf.c 2006-11-03 01:36:00 UTC (rev 4056)
+++ trunk/r+d-files/bse-ellf.c 2006-11-03 01:38:23 UTC (rev 4057)
@@ -1767,14 +1767,14 @@
};
const int n_sampling_frequencies = sizeof (sampling_frequencies) / sizeof (sampling_frequencies[0]);
const int filter_orders[] = {
- 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // used for random orders */
+ 1, 2, 3, 4, 5,
+ 0, 0, 0, 0, 0, /* used for random orders */
};
const int n_orders = sizeof (filter_orders) / sizeof (filter_orders[0]);
int oix, max_order_index = 0;
for (oix = 0; oix < n_orders; oix++)
max_order_index = filter_orders[oix] ? oix : max_order_index;
- int rand_order_width = (48 - filter_orders[max_order_index]);
+ int rand_order_width = (32 - filter_orders[max_order_index]);
double pbe1;
#if 1
@@ -1788,7 +1788,7 @@
einput.passband_edge = pbe1 * einput.sampling_frequency;
einput.type = LOW_PASS;
main_ellf (&einput);
- einput.type =HIGH_PASS;
+ einput.type = HIGH_PASS;
main_ellf (&einput);
/* band filters */
if (pbe1 + 0.1 < 0.48)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]