shithub: sox

Download patch

ref: 82528814c05f863eb65157fa9238a94f5d3847b5
parent: e1d31edf191fb570754e92616397375f6e05b35d
author: robs <robs>
date: Sat Oct 25 06:26:17 EDT 2008

set initial sin phase = pi/2 for initial mod = 0

--- a/src/tremolo.c
+++ b/src/tremolo.c
@@ -22,7 +22,7 @@
   double speed, depth = 40;
   char dummy;     /* To check for extraneous chars. */
   char offset[100];
-  char * args[] = {"sine", "fmod", 0, 0};
+  char * args[] = {"sine", "fmod", 0, 0, "25"};
 
   if (n < 1 || n > 2 ||
       sscanf(argv[0], "%lf %c", &speed, &dummy) != 1 || speed < 0 ||