I understand a square-wave will be made up of a sum of sine waves in the form $$\frac{1}{n}sin(nf_0)$$
So when a squarewave is input to a LCR circut designed to be a bandpass filter, it will attenuate the signals either side of the resonant frequency, eg say $$f_0 = 5000 Hz$$
The signals other than the 5th harmonic will be filtered out (with elements of the 3rd and 7th coming through since it isn't a perfect band-pass filter).
I do not understand the output waveform however.
So there should be 5 peaks between each cycle of the square wave right? Due to it being the 5th harmonic. That's about all I understand, and I'm really struggling to find good sources which discuss the square-wave input to tuned bandpass filters.
The output I have has the 5 peaks between one cycle of the squarewave. When the squarewave is high, the output's first peak is at the peak amplitude, which then decreases until the squarewave switches to low, once it switches to low the output will increase in amplitude (but less than the first peak) and then decrease again until the squarewave switches back to high and the cycle repeats.
What is the cause of the decreasing amplitudes of the output and the relation between the increase in amplitude when the square-wave switches from high to low?
edit: The LCR is in series.
edit:
scale on channel 1 is 2V, had to resize to decrease the file size to <2MB