From 0638e6ab3553d1dd84bd7ce94575ae8438cfb0d9 Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Thu, 30 Apr 2026 13:40:39 +0200 Subject: [PATCH] Update to the README. --- README.wavsim | 14 +++++++------- examples/wave/README.wavsim | 28 ++++++++++++---------------- 2 files changed, 19 insertions(+), 23 deletions(-) diff --git a/README.wavsim b/README.wavsim index aa97223a3..b5a023d2f 100644 --- a/README.wavsim +++ b/README.wavsim @@ -1,16 +1,15 @@ -This branch, based on ngspice-43 from master branch on 14.07.2024, -contains functions to read, simulate and output wav audio files. +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 -has been made by Robin Gareus, enhanced by Hannu Vuolasaho at +and has been made by Robin Gareus, enhanced by Hannu Vuolasaho at https://sourceforge.net/p/ngspice/patches/13/, -compatibility and integration into ngspice-43 by Holger Vogt. +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 on Windows 10. +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/ @@ -20,7 +19,8 @@ A setup for KiCad (MS Windows) is available. The usage is described in http://gareus.org/oss/spicesound/start -This is a complete package for Windows. -Test on Linux and macOS will follow. +Example files are available at \examples\wave + +Tests on Linux and macOS will follow. diff --git a/examples/wave/README.wavsim b/examples/wave/README.wavsim index 0058d10bc..b5a023d2f 100644 --- a/examples/wave/README.wavsim +++ b/examples/wave/README.wavsim @@ -1,30 +1,26 @@ -This branch, based on ngspice-32+ from pre-master branch on 25.07.2020, -contains functions to read, simulate and output wav audio files. +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 -mady by Robin Gareus, enhanced by Hannu Vuolasaho at -https://sourceforge.net/p/ngspice/patches/13/ +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-0.1.9. +It uses the external libraries libsndfile and libsamplerate. -The current setup has been tested only with MSVC 2019 on Windows 10. +The current setup (ngspice.exe) has been tested with MSVC 2022 and CYGWIN on Windows 11. +A setup for KiCad (MS Windows) is available. -libsndfile has been downloaded from http://www.mega-nerd.com/libsndfile/ as -http://www.mega-nerd.com/libsndfile/files/libsndfile-1.0.28-w64-setup.exe +64 bit libsndfile has been downloaded from https://github.com/libsndfile/libsndfile/releases/ -libsamplerate-0.1.9 has been downloaded from http://www.mega-nerd.com/SRC/download.html as -http://www.mega-nerd.com/SRC/libsamplerate-0.1.9.tar.gz, and compiled -with mingw gcc 10.2 for 64 bit Windows 10. libsamplerate.lib has been created -from libsamplerate.def by command -lib /def:libsamplerate-0.def /out:libsamplerate-0.lib /machine:x64 -in the Visual Studio 2019 Developer Command Prompt. +64 bit libsamplerate has been downloaded from https://github.com/libsndfile/libsamplerate/releases The usage is described in http://gareus.org/oss/spicesound/start -A complete package for Windows will be made available from the ngspice web pages. -Test on Linux and macOS will follow. +Example files are available at \examples\wave + +Tests on Linux and macOS will follow.