I am baffled by the combination of
pinMode(11,INPUT);
&
//tmrpcm.speakerPin = 11; //The speaker is connected to 11 Pin.