Quote:
Originally Posted by geekmaster
Okay, if I replace the sine function with a square function (x*x), would it then output a square wave instead of a sine wave?
|
You can make any .wav file for play-back (including a square wave) with LTspice (or any SPICE-3 program) with the .wave directive, as in:
.wave "path\to\outputfile.wav" 16 44100 NODE
Where "NODE" is the point in the circuit you want to record voltage changes as the content of the .wav file.
Combine being able to play whatever is generated by any sort of circuit with being able to define your own zero distortion (ideal) components ..
Mind boggling possibilities.
I posted the Custom Component HowTo yesterday:
http://knetconnect.com/ltspice/CustomComponents.html
That and other useful links can be found in the top post of the "Kindle Charger" thread.