Stochastic cooling of the high-precision spectrometer ring (SRing) at the High Intensity Heavy-Ion Accelerator Facility (HIAF) project in China, which is used mainly for experiments with radioactive fragment beams, is applied to speed up the cooling process of a stored ion beam. In this article, a new coaxial-type notch filter with an amplitude equalizer in the long branch and an optical-type notch filter with phase-stabilized optical fiber are discussed and evaluated for the SRing stochastic cooling system. Both prototypes of coaxial and optical notch filters are fabricated and tested. The minimum notch depth of coaxial and optical notch filters reaches to 26 and 40 dB, respectively. The performance of both coaxial notch filter and optical fiber notch filter is presented in this work. These developments will be used not only for the longitudinal stochastic cooling system but also have potential for the beam feedback system.