ARLINGTON, Va. (AP) _ President Reagan complained Wednesday that the music industry and the media are providing children ''with glorifications of drugs and violence and perversity,'' and that pornographers have more rights than parents.

''I often think the real heroes of today are the parents, trying to raise their children in an environment that seems to have grown more and more hostile to family life,'' the president said.

''Music and the media floods their children's world with glorifications of drugs and violence and perversity - and there's nothing they can do about it, they're told, because of the First Amendment,'' he added.

It was the second time Reagan has spoken out about rock songs with raunchy lyrics. He made similar remarks during an educational awards ceremony on the South Lawn on Oct. 1.

The Senate Commerce Committee held hearings on the subject last month to a standing room only crowd.

Reagan raised the subject during an address to a fund-raising luncheon in a Washington suburb for Virginia GOP gubernatorial candidate Wyatt Durrette.

''I don't think that James Madison, author of the Bill of Rights and one of Virginia's proudest sons, ever imagined that his great document of liberty would be twisted into a pretext for license,'' Reagan said.

''I don't believe that our founding fathers ever intended to create a nation where the rights of pornographers would take precedence over the rights of parents, and the violent and malevolent would be given free rein to prey upon our children,'' Reagan said.

Praising Durrette, Reagan said, ''Family, faith, freedom and opportunity aren't just campaign slogans for him; they're the foundation upon which his political philosophy is built.''

Reagan also put in plugs for the tax-overhaul plan he hopes Congress will adopt this year, and a proposal aimed at balancing the federal budget by 1991.