[xiph-cvs] cvs commit: postfish multicompand.c version.h

Monty xiphmont at xiph.org
Mon Mar 8 03:07:07 PST 2004



xiphmont    04/03/08 06:07:06

  Modified:    .        multicompand.c version.h
  Log:
  Ratio setting bug in suppressor

Revision  Changes    Path
1.4       +3 -3      postfish/multicompand.c

Index: multicompand.c
===================================================================
RCS file: /usr/local/cvsroot/postfish/multicompand.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- multicompand.c	8 Mar 2004 07:20:15 -0000	1.3
+++ multicompand.c	8 Mar 2004 11:07:06 -0000	1.4
@@ -456,7 +456,7 @@
   /* (since this one is kinda unique) The Suppressor....
 
      Reverberation in a measurably live environment displays
-     log-amplitute decay with time (linear decay when plotted on a dB
+     log amplitude decay with time (linear decay when plotted on a dB
      scale).
 
      In its simplest form, the suppressor follows actual {RMS|peak}
@@ -465,7 +465,7 @@
      decay.
 
      The 'depth' setting is used to limit the expanded distance
-     between actual and slow decy; it's also used to drag the slow
+     between actual and slow decay; it's also used to drag the slow
      decay down with the actual decay once the expansion has hit the
      depth limit.
 
@@ -474,7 +474,7 @@
 
   int ii;
   float *envelope; 
-  float ratio=1.+c.suppress_ratio/1000.;
+  float ratio=c.suppress_ratio/100.;
   float decay=c.suppress_decay/(float)(1024*1024);
   float depth=-c.suppress_depth/10.;
   float chase=e->suppress_decay_chase;

<p><p>1.42      +2 -2      postfish/version.h

Index: version.h
===================================================================
RCS file: /usr/local/cvsroot/postfish/version.h,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -r1.41 -r1.42
--- version.h	8 Mar 2004 07:20:15 -0000	1.41
+++ version.h	8 Mar 2004 11:07:06 -0000	1.42
@@ -1,2 +1,2 @@
-#define VERSION "$Id: version.h,v 1.41 2004/03/08 07:20:15 xiphmont Exp $ "
-/* DO NOT EDIT: Automated versioning hack [Mon Mar  8 02:18:37 EST 2004] */
+#define VERSION "$Id: version.h,v 1.42 2004/03/08 11:07:06 xiphmont Exp $ "
+/* DO NOT EDIT: Automated versioning hack [Mon Mar  8 06:01:38 EST 2004] */

<p><p>--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list