Green’s Dictionary of Slang

violin n.

(Aus./n.Z. drugs/prison) a hypodermic syringe; thus play the violin v., to inject oneself.

[Aus]Tupper & Wortley Aus. Prison Sl. Gloss. 🌐 Violin. A syringe. As in ‘to play the violin.’.
[NZ]D. Looser Boobslang [U. Canterbury D.Phil. thesis] 198/1: violin, the n. a hypodermic syringe.