Search found 3 matches
- Wed Nov 17, 2010 10:01 pm
- Forum: General Audio Programming
- Topic: understanding peak-meters
- Replies: 18
- Views: 5609
Re: understanding peak-meters
Thank you guys for the detailed explanations and inspirations, now I have a clear picture of this case. So Audacity takes the maximum value inside a buffer of samples, but only the positive ones (and this seems to be an issue). I don't think that something like fabs(x) would slow down the processing...
- Tue Nov 16, 2010 11:28 am
- Forum: General Audio Programming
- Topic: understanding peak-meters
- Replies: 18
- Views: 5609
Re: understanding peak-meters
Hi Koz, if with "top half" you mean positive values, I think that this is the right way, because you need to know only the absolute value of a sample (modulus). Please correct me if I'm wrong!Audacity only meters the top half of the blue waves
- Sun Nov 14, 2010 10:01 pm
- Forum: General Audio Programming
- Topic: understanding peak-meters
- Replies: 18
- Views: 5609
understanding peak-meters
Dear forum, this is my first post here, so ... nice to meet you (and forgive my English) :) I'm trying to understand how audacity peak meter works, and so far these are my knowledges: 1) the "core" thing is into Meter::UpdateDisplay(int numChannels, int numFrames, float *sampleData) 2) the formula: ...