It converts the volume slider from decibels (dB) to a linear gain "vol".
On Sat, Apr 15, 2017 at 4:08 AM, rajhans sarah <rajhansa...@gmail.com> wrote: > I was going through program of simple oscillator program where I found this > , > > import("stdfaust.lib"); > > vol = hslider("volume [unit:dB]", 0, -96, 0, 0.1) : ba.db2linear : si.smoo ; > freq = hslider("freq [unit:Hz]", 1000, 20, 24000, 1); > > process = vgroup("Oscillator", os.osc(freq) * vol); > > > what is the use of ba.db2linear in this case?? > > regards > > Rajhans > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Faudiostream-users mailing list > Faudiostream-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/faudiostream-users > -- Julius O. Smith III <j...@ccrma.stanford.edu> Professor of Music and, by courtesy, Electrical Engineering CCRMA, Stanford University http://ccrma.stanford.edu/~jos/ ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Faudiostream-users mailing list Faudiostream-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/faudiostream-users