The tone function uses the same hardware timer as the IRremote library. You'll have to move one of those to a different timer.
The tone function uses the same hardware timer as the IRremote library. You'll have to move one of those to a different timer.