I have created a resource pack where records get other music
and would like to know whether you can get different sounds via a kind of random generator
can run on a vinyl record or a different sound is always played
becomes. If yes then how
I think you mean the note pad. You can play a wide variety of tones on it and also make entire songs with Redstone. Otherwise I don't know what you mean, I hope I could help you further.
With command blocks.
My suggestion: create a scoreboard and give a fictional person a random number there. Then you can make a certain sound per / playsound for each number.
If that was understandable now
No turntable
You can specify several sound files in the sounds.json, which will then be chosen randomly.