I once thought: Why not connect a Redstone clock with note blocks?
It's not hard to build and anyone should be able to do it.
Instructions:

First, place 4 Redstone amplifiers on the bottom in a clockwise direction.

After that, you connect them to Redstone.

Then you set e.g. a lever, which should be activated only briefly, so that if possible only ONE or two Redstone are activated.
Destroy the lever. The redstone should now alternately go on and off clockwise.

Removes the blocks as in the picture.

Put blocks of notes over the gaps.

Connects the note blocks to the Redstone clock. Ready
Tip: You can also build bigger clocks to create more complex melodies.
If you switch the redstone amplifiers to very slow, as I did in the first picture of the tutorial, it is easier to activate the single redstone.
@PETE if you have commands on, you can make with /time set day tag and then you see the idea on the pictures better. Also I would use another clock, if you google for it you will find thousands of designs that you can turn on and off easier.
what's the point?
@Karl31a
Thanks for the tip with the tag. Unfortunately, there are no commands with the PE. I can still change it next time.
@expert_no1
It doesn't have to make sense.
Well, noteblocks to a clock is not that exciting or new idea.
Everyone has built this before... :wassat:
Have not yet dealt with the note blocks, I will do now but and if possible build a happy birthday player to surprise my son on his next birthday with it. If you really have at least 8 different notes you can do a lot with it. My village will then get the Tetris or Mario sound 😀
@DjDope
it is also possible to build larger clocks and thus include more note blocks in a melody
well built and funktinonirt'perfeckt kriegst a like from me:woot: