What the bugler played as one sat randomly round the piano (4)
I believe the answer is:
'what the bugler played' is the definition.
I can't judge whether this defines the answer.
'one sat randomly round the piano' is the wordplay.
'randomly' indicates an anagram (I've seen 'roaming randomly' mean this).
'round' is an insertion indicator.
'the piano' becomes 'p' (musical abbreviation).
'sat' is an anagram of 'tas'.
'tas' enclosing 'p' is 'TAPS'.
'as' is the link.
Can you help me to learn more?
(Other definitions for taps that I've seen before include "Bugs (wire)" , "pierces" , "The sound of lights out" , "Flow controllers" , "Knocks gently" .)