Solid State Guitar Amp Forum | DIY Guitar Amplifiers

Solid State Amplifiers => Software => Topic started by: Orson Maxwell on January 25, 2014, 07:54:13 AM

Title: wav2pwl for OrCAD simulation
Post by: Orson Maxwell on January 25, 2014, 07:54:13 AM
Hi, guys!

I thought I'll just throw in a little program I came up with when I got to reamping virtual circuits in OrCAD. I don't know if anyone here is into it, but anyway here it is:

Link to my box (https://app.box.com/s/ugzx26tsu6t1jc88c76n)

It is a command line program and requires Python 2.7.X to run, but I can try and see about that if required.

Some features:
- supports wave audio up to 88.2kHz / 24b;
- Supports multichannel wavs (the channel to convert is chosen via the '-c' option);
- Works fast (a minute of maximum supported resolution audio gets converted in 45 seconds. You can benefit further using lighter wav format and quicker HDD);
- Does not lock up and shows progress;
- Can be interrupted via standard Ctrl+C combination at any time - even when writing data to file - all offloaded data gets saved;
- Shows help if run without arguments.

Cheers.
Title: Re: wav2pwl for OrCAD simulation
Post by: Orson Maxwell on January 27, 2014, 05:16:41 PM
Fixed some bugs and added the complimentary utility to convert the simulation results (.csd) back into audio:

Link to the box. (https://app.box.com/s/4u2atx3zapxhldx99tzm)

Cheers guys :)