So yeah when for example I have a boombox and any other music thing when I hear one of them and move to the other my game freezes for 1-5 seconds then I hear the other thing music and lots of worlds contains music items so here some info about my potato pc

2.00 GB Ram
Intel(R) Pentium(R) 4 CPU 3.00GhZ 3.00 GHz
32-Bit Operating System
Windows 7

(Ik its too weak I got it from 7-8 years)
Attenpts I tried:
Low graphic
High permonace of windows
Turn off full screen
Low my cpu usage