Welcome
In the future, you can use the x3 section:
X3 - BMW Forum - BimmerWerkz.com
I think the valve is just to muzzle the noise at low engine speeds. It opens to allow better flow at teh cost of noise when the engine is revving faster. Look in the picture below and let me know if that looks representative of teh valve you are seeing.