ngspice/examples/wave
Holger Vogt 0638e6ab35 Update to the README. 2026-04-30 13:40:39 +02:00
..
README.examples Examples for wav audio simulation. 2026-04-30 13:06:29 +02:00
README.wavsim Update to the README. 2026-04-30 13:40:39 +02:00
gits.wav Examples for wav audio simulation. 2026-04-30 13:06:29 +02:00
jhfface.pdf Examples for wav audio simulation. 2026-04-30 13:06:29 +02:00
jimi_fuzz-snd.cir Examples for wav audio simulation. 2026-04-30 13:06:29 +02:00
jimi_fuzz.cir Examples for wav audio simulation. 2026-04-30 13:06:29 +02:00
nowave.wav Examples for wav audio simulation. 2026-04-30 13:06:29 +02:00
rcfilter.cir provide correct path info 2026-04-30 13:06:30 +02:00
rcsim.cir Examples for wav audio simulation. 2026-04-30 13:06:29 +02:00
sndtst.cir Examples for wav audio simulation. 2026-04-30 13:06:29 +02:00
sweep_sin20_20k_5s48k.wav Examples for wav audio simulation. 2026-04-30 13:06:29 +02:00

README.wavsim

This branch, contains functions to read, simulate and output wav audio files.

The origin of the code stems from
http://gareus.org/oss/spicesound/start
http://gareus.org/oss/spicesound/examples
and has been made by Robin Gareus, enhanced by Hannu Vuolasaho at
https://sourceforge.net/p/ngspice/patches/13/,
compatibility and integration into ngspice-46 by Holger Vogt.

It uses the external libraries libsndfile and libsamplerate.

The current setup (ngspice.exe) has been tested with MSVC 2022 and CYGWIN on Windows 11.
A setup for KiCad (MS Windows) is available.

64 bit libsndfile has been downloaded from https://github.com/libsndfile/libsndfile/releases/

64 bit libsamplerate has been downloaded from https://github.com/libsndfile/libsamplerate/releases

The usage is described in
http://gareus.org/oss/spicesound/start

Example files are available at \examples\wave

Tests on Linux and macOS will follow.