Hi Mike! 2012/11/26 Mike MacHenry <mike.mache...@gmail.com>: > I found out a little while ago that the answer to my question is ocaml-mm, > and to use the add function in the Audio module. There is an example of this > in liquidsoap's add operator in src/operators/add.ml. > > I am wondering if anyone knows why the audio mixer is simply adding the two > floats, rather than using the typical audio mixing formula of > > mix f1 f2 = f1 +. f2 -. f1 *. f2 > > which equalizes the volume so that it doesn't grow unnaturally louder with > more pieces of audio mixed in.
The operator has a "normalize" option that does this; it is enabled by default. Romain ------------------------------------------------------------------------------ Keep yourself connected to Go Parallel: BUILD Helping you discover the best ways to construct your parallel projects. http://goparallel.sourceforge.net _______________________________________________ Savonet-users mailing list Savonet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/savonet-users