Hi Muhammad Taimoor,
As per my understanding, you need to distinguish whether the given voice is male or female. As per the steps, it’s evident that you might need to design a bandpass filter for characteristic male and female voices.
In the next step, you passed the input signal through a bandpass filter (both). In frequency domain, this operation is equivalent to multiplying the signal with a bandpass filter. This operation filters away all the other frequency component except the one at ω and 
Case 1
Male Voice + Male Bandpass filter
Say male bandpass filter is extending from
while the male voice range in frequency domain is within this bandpass filter level. Once you multiply it and takes the RMS value of the resulting signal, one will get a considerable value.
Case 2
Male Voice + Female Bandpass filter
Say male bandpass filter is extending from
while the male voice range in frequency domain is not within this bandpass filter level. Once you multiply it and takes the RMS value of the resulting signal, one will get a value less than the one obtained in case 1.
To put it together, the voice characteristics are determined by the RMS value. The RMS value corresponding to the characteristic bandpass filter having the higher RMS value can be assigned male/female status accordingly.