Simple new device could find use in loudspeakers, artificial muscles or soft robots