The observations of 3 and 5 minute oscillations in sunspots present information on propagation of MHD waves in the magnetic tubes of sunspots. We present a comparison of wavelet spectra of radio flux oscillations at λ = 1.76 cm and oscillations of longitudinal component of the velocity at the chromosphere in sunspot umbra and penumbra in AR 10661 (2004, Aug 18). The radio maps of the Sun obtained with the Nobeyama Radioheliograph were used. The spatial resolution of the radio data was about 10-15 arcsec, and 10 sec cadence was used. On the radio maps sunspot-associated sources were identified and time profiles of their maximum brightness temperatures for each radio source were calculated. Radio data consists of information of oscillations of plasma parameters (in the regions with magnetic field B = 2000 G) at the level of the chromosphere-corona transition region. The optical observations were carried out at Sayan observatory. These data included information on longitude component of the magnetic field at the photosphere (line Fe I 6569 Å) and longitudinal component of the velocity at the chromosphere (line Hα was used). Comparing the wavelet diagrams covering the same periods of observations at radio and optics showed that some wave trains of time profiles are very similar in both kinds of observations (similar oscillation frequencies and their drifts, variations of amplitudes), however, some significant differences were also registered. The best similarity in optical and radio oscillations was found when the active region (AR) was near the center of the solar disk. The phase shifts between the two kinds of observations reflecting the propagation of MHD waves were also analyzed.