Recent works on the response of barrel neurons to periodic deflections of the rat vibrissae have shown that the stimulus velocity is encoded in the cortical spike rate (Pinto et al., J. Neurophysiol. 83(3): 1158-1166, 2000 Arabzadeh et al., J. Neurosci. 23(27): 9146-9154, 2003). Other studies have reported that repetitive pulse stimulation produces band-pass filtering of the barrel response rate centered around 7-10 Hz (Garabedian et al., J. Neurophysiol. 90:1379-1391 whereas sinusoidal stimulation gives an increasing rate up to 350 Hz (Arabzadeh et al., J. Neurosci. 23(27):9146-9154, 2003). To explore the mechanisms underlying these results we propose a simple computational model consisting in an ensemble of cells in the ventro-posterior medial thalamic nucleus (VPm) encoding the stimulus velocity in the temporal profile of their response, connected to a single barrel cell through synapses showing short-term depression. With sinusoidal stimulation, encoding the velocity in VPm facilitates the response as the stimulus frequency increases and it causes the velocity to be encoded in the cortical rate in the frequency range 20-100 Hz.