Hi everyone.
This is DEMO code for getting the RMS value of a symmetrical sampled waveform. It works a treat except see below.
I have used awk as the prime mover as CygWin does not havd 'bc' or 'dc' yet and this is going into AudioScope.sh soon.
However, I hit an anomaly.
In the code below parts B, C, D and G are more than acceptable and E was as expected and also within limits acceptable.
However I never expected this, assume the waveform starts at centreline 0V...
View part F in the code and using just 4 samples with the input waveform being an isosceles triangle then a stepped squarewave becomes the sample.
(The results on editing each waveform are in the code.)
As far as I am concerned there is no way of the sample knowing that the original signal was
either a sinewave or a triangle wave but the RMS result is that of a sinewave.
I can't find anything on a sample size of 4 on a triangle waveform and and its inversion so this anomaly stays.
Now I have two wave file(*.wav) at Tru64 Unix machine.
I want to make a new wave file including the two wave file.
how I should finish this programmer.
If you know, can you give me the format of the wave file(*.wav)
and Sun au file(*.au).
Thank you. (1 Reply)
I am challenged with porting an old application from Solaris to Red Hat. The application uses Rogue Wave and I am searching for a Red Hat implementation. Your help is appreciated! (2 Replies)