Yes it is written in C. I downloaded the source code and part of that is vu_meter.c (with vu_meter.h). Whether or not it is easy to use these parts separately I haven't as yet determined (assuming I can...); would be nice.Flash wrote:How does mhWaveEdit manage to include built-in VU meters that look like old-school galvanometers, with a dial and a needle that moves? If you're recording stereo there are two VU meters.
I think I found mhWaveEdit's executable file in usr/bin/ but I can't open it to see what's inside. Even if I could, I'm sure I wouldn't have a clue what I was looking at. I assume it's a compiled program, and the source code is somewhere else.
EDIT: alas vu_meter only provides the functions for drawing the meter, it seems to me, and would also need a wrapper program driving it, which is the stumbling box, I'd say. In more detail, vu_meter seems to be tightly wrapped in to the main mhWaveEdit program via the recorddialog.c part of the source code. I have given up on that avenue of investigation.