Re: CVS commit - 0.95.07

Jan Depner <[email protected]>
Newsgroups gmane.comp.audio.jamin.devel
Message-ID <1178300836.6699.11.camel@eviltwin>
On Fri, 2007-05-04 at 12:24 -0500, Jan Depner wrote:
> OK, I've got the meters set up for RMS on output and I've got the
> function calls set up in intrim.c to handle it.  If someone can figure
> out how to compute RMS using Steve's routines -
> http://www.ecs.soton.ac.uk/~swh/rms/ we can get this thing working.  I
> am assuming that the calls would need to go in the following loop in
> process.c :
> 
>     for (pos = 0; pos < nframes; pos++) {
> 	for (port = 0; port < nchannels; port++) {
> 	    const float oa = fabs(out[port][pos]);
> 
> 	    if (oa > lim_peak[LIM_PEAK_OUT]) {
> 		lim_peak[LIM_PEAK_OUT] = oa;
> 	    }
> 	    if (oa > out_peak[port]) {
> 		out_peak[port] = oa;
> 	    }
> 	}
>     }
> 
> but I'm probably wrong ;-)
> 

    Just for fun I implemented the "naive" RMS in the above loop and it
looks purty (as we say down here in the South).  It's probably not what
we're looking for but it does prove that I've got the meters and
callbacks set up properly ;-)


> Jan
> 
> 
> On Fri, 2007-05-04 at 10:28 -0500, Jan Depner wrote:
> >     *  Now saves bypass state for all bypass buttons except global
> >     *  GEQ slider increment is now .1dB with .2dB page step size
> >     *  GEQ slider value labels removed from the top of each slider
> >     *  GEQ frequency and amplitude labels under the sliders, these
> >        are updated whenever the cursor enters the event box of a
> >        slider or the slider is moved
> >     *  Put the scale back into the output meter, somehow this had
> >        gone missing
> > 
> > 
> > Question - does anyone really want to save the solo state?  I don't see
> > much reason for it.
> > 
> > Jan
> > 
> > 
-- 
Jan 'Evil Twin' Depner
http://myweb.cableone.net/eviltwin69

"Life should NOT be a journey to the grave with the intention of 
arriving safely in an attractive and well preserved body, but rather to 
skid in sideways, chardonnay in one hand, chocolate in the other, body 
thoroughly used up, totally worn out, and screaming 'WOO HOO, what a ride'"


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.