What command can I use to detect when a minecraft record ends?

I want to know how can I detect if a "music disc" or "record" ends to activate redstone.


Solution 1:

Unfortunately, no. There is no way to detect when a record ends. However, as immibis said, you could use a timer.