Arbitrary voltage signal in transcient simulation

There is also already another topic about this: NGspice simulation of Wave File