I learnt violin a long time ago, but I didn't like practicing so I quit.
昔 a long time ago
バイオリン violin
習っていた I learnt
けど but
練習 practice
嫌 didn't like
やめちゃった I quit/I stopped
「何か楽器をやっていた?」というのは Did you used to play any instruments? で表現できます。
参考になれば幸いです。
I used to take violin lessons, but I got tired of practicing and gave up.
この場合、次のような言い方ができますよ。
A: Have you ever played any kind of musical instruments?
「なにか楽器をやってたことある?」
B: I used to take violin lessons, but I got tired of practicing and gave up.
「バイオリンのレッスン受けてたけど、練習が嫌でやめちゃった」
to take violin lessons で「バイオリンのレッスンを受ける・バイオリンを習う」
ご参考まで!