Magnets can control heat and sound