Passive acoustic foams have limitations in efficiently reducing low-frequency noise below 800 Hz due to the associated wavelengths for reasonable material thickness. To address this challenge, passive or semi-active resonators are commonly employed solutions. Linear resonators are very efficient within a narrow frequency bandwidth. However, nonlinear oscillators can broaden this bandwidth, but activation of their nonlinear responses typically requires high excitation amplitudes, beyond human hearing tolerance amplitudes. Furthermore, the specific type of nonlinearity in such devices is often predetermined by the inherent properties of the resonator. In this study, we employ a novel digital control algorithm, allowing to activate the nonlinear response of the electroacoustic resonator at low excitation amplitudes. This algorithm, which relies on real-time integration, facilitates the creation of nonlinear resonators featuring polynomial or diverse non-polynomial nonlinearities within the range of low amplitudes. The nonlinear control is carried out on a loudspeaker equipped with a microphone. Our research highlights the potential to create nonlinear resonators with different, versatile and programmable behaviors. Unprecedented non-polynomial nonlinear behaviors are experimentally exhibited, we consider cubic, piece-wise linear, and logarithmic nonlinearities. These behaviors are implemented and compared to a semi-analytic model to control an acoustic mode of a tube under conditions of low excitation amplitudes and frequencies.