I think it's from Dog Daze (WB, 1937). Unfortunately, I can't find a video of it. I remember that bit very well and I know it's a Warner short.
Actually, it's from "Dog Tales" (WB, 1958) The dog is imitating Victor Borge a pianist known as "The Great Dane." Borge was also known for falling off his piano bench in a comedic manner.