|
|
|||||||
| Home | Forums | Rules | Articles | Store | Gallery | Blogs | Register | Donations | FAQ | Calendar | Search | Today's Posts | Mark Forums Read | Search |
| Everything Else Anything related to audio / video / electronics etc) BUT remember- we have many new forums where your thread may now fit! .... Parts, Equipment & Tools, Construction Tips, Software Tools...... |
|
Please consider donating to help us continue to serve you.
Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving |
|
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
diyAudio Member
Join Date: Jan 2005
Location: Phoenix, Az.
|
One of the more interesting and educational features of SwitcherCAD is .wav file input and output. You can use a standard .wav file ripped from a CD as input to a circuit, then have the circuit output another .wav file. You can use this to try out filters, equalizers, crossovers, generate test signals (that you burn to CD), and etc.
I have attached a schematic of a demo circuit that shows how to use .wav I/O. This is a simple inverted stereo crossfeed circuit. All you need to do is provide a stereo .wav file named input.wav in the d:\temp directory (or just edit the text on the schematic page to point at any file you want in whatever directory it is in). The output file will be called output.wav- you can edit the name and directory for that as well. I used a 10MB .wav for input and got a 10 MB .wav for output (duh!). The simulator generates a data file with .raw extension in the same directory as the schematic file (.asc). The .raw file in this case was about 300MB, so be sure you do this on a HDD with lots of space. It takes 1600 seconds to complete the 59 second simulation on my PC. shutting off the "marching waveforms" will reduce that to about 1400 seconds. The .tran statement sets the time the simulation will run (in real seconds of audio). In this case I have it set for 59 seconds. You can adjust that as required by the length of time you want it to run up to the length (in seconds) of your input file. Have fun! I_F |
|
|
|
|
#2 |
|
diyAudio Member
Join Date: Jan 2005
Location: Phoenix, Az.
|
Here it is...
|
|
|
|
|
#3 |
|
diyAudio Member
Join Date: May 2006
|
I'm looking for that for a while now ! fantatstic !
THANKS A LOT !!! |
|
|
|
|
#4 |
|
diyAudio Member
Join Date: Jun 2004
Location: Central CA
|
I_forgot,
Try using the .save spice directive to reduce the size of the data in the .raw file. (The big multi-megabit file you mentioned) For example in your wavetest.asc file, add the spice directive .save V(LEFT). This saves only the V(LEFT) data in the .raw file. This does not effect the saving of the left and right data in the wave file. I've used the Ltspice wave command to make my own tones and other sound effects. Then I burn them to a CD and then I can play them on a hifi. The most interesting thing I did was make my own burn in CD. I modified the Lorenz Attractor file I got from the LTspice users group on Yahoo to create my own chaos sound cd. It might be considered kind of snake-oil, but it did not cost me anything. Tom |
|
|
|
|
#5 |
|
diyAudio Member
Join Date: Jan 2005
Location: Phoenix, Az.
|
I had not noticed that command. That should reduce the size considerably, especially with a complex circuit. Thanks for the heads-up!
I_F |
|
|
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
|
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| .slb file (translated library file)...! | spice freak | Solid State | 0 | 28th October 2008 03:20 PM |
| File Uploader - php script with file validation | lineup | The Lounge | 5 | 11th February 2007 09:09 AM |
| SwitcherCAD | richie00boy | Everything Else | 4 | 24th September 2006 09:00 AM |
| Switchercad symbols | Bas Horneman | Tubes / Valves | 10 | 24th July 2004 03:54 AM |
| Strange Switchercad behavior | capslock | Solid State | 2 | 17th April 2003 01:07 AM |
| New To Site? | Need Help? |
| Page generated in 0.09188 seconds (74.93% PHP - 25.07% MySQL) with 11 queries |