There are composers however who , in writing a piece in D minor with B-flat clarinets , will have them change to clarinets in A if the music switches to D major , an example being Rachmaninoff 's Third Piano Concerto .
However , when some composers write a piece in D minor with B-flat clarinets , they change to clarinets in A if the music changes to D major .