Back in the days when I still was an Apple user, there was simplesynth. https://notahat.com/simplesynth/
maybe it still works if it wasn't broken by one of the OS updates...
yeah, I actually use it, but I don't think it works on the newer ones (catalina+)