An electric generator based on the magnetostrictive effect is presented. Longitudinal oscillations of a Terfenol-D rod give rise to a varying flux which induces a current in a coil wound around the rod. A small prototype of such a device is discussed, and both calculations and experiments are performed. The problem of eddy current losses is addressed