The new type of linear oscillating electrical generator is proposed. The electrical power is being generated by the help of oscillating dielectric (BaTiO(3)) piston in the capacitor with the modulated capacity. The translational movement of the piston is provided by the external motor. The equivalent electrical circuit and load characteristics are obtained. The power density in the dielectric material BaTiO(3) is equal 1000 W/cm(3) for the oscillation frequency 50 Hz. Other dielectric materials with the high values of dielectric constant also may be used.