2010 850 touring whining noise

ive got a 2010 850 xp touring, the last two times Ive rode it it’s started to make a loud whining noise that seems to be coming from somewhere under the handlebars or front of engine, it does it after I ride it for about 10-15 minutes when it gets good and warmed up, rode up a couple small hills and that’s when I noticed it, it whines with the engine rpms, when you rev it up the noise gets louder, rpms go down and the noise gets quieter, it doesn’t matter if you’re in park, neutral, low or high, 4wd or 2wd ( I was in 2wd when it done it on me, I took it in and out of 4wd but made no difference) I parked it in the driveway and tried to see where the noise was coming from for about 10-15 minutes, turned it of and on a couple times looking around For the noise and then it quit, all of the fluids are where they should be and air filter is ok, I could hear the noise pretty good when I put my ear where the air filter is, that’s when I kinda ruled out the clutch cause that was my first thought. It was bought new by my uncle who never abused it, he maintained it and changed fluids religiously, I bought it a couple years ago from him and have only taken it on 4-5 good day rides, thought it could be water pump but by the time I went to check it the noise had faded off and quit, the coolant fan seems to come on and off like it should. When it makes this whining noise It doesn’t seem to affect the running of it but you can tell the noise shouldn’t be there and gets pretty loud the faster you go, my uncle was riding it towards me a couple hundred feet away and you could hear the noise coming from the front and was almost all you could hear. I could really use some input if anyone has had issues like this or may know what to check. I apologize if I posted this twice, had a computer crash the first time I was tryin to post this a couple days ago.