The machine is often called a tape player or tape recorder.
Before the advent of digital music and digital recording technology, tape players and recorders were widely used audio devices that could play and record audio signals on tapes. With the development of digital technology, tape players and recorders have gradually been eliminated, but in some specific occasions, such as collectors and music lovers, they are still used to play and record tapes.