Commit Graph

9555 Commits

Author SHA1 Message Date
Giles Atkinson d07b31dd5a Add CPP macros to allow XSPICE macros to be used in local functions. 2026-05-08 14:32:07 +01:00
Giles Atkinson b47673ace7 Fix two bugs in the "let" command:
"let plot.vec = ..." fails when creating a new vector;
 if the new vector does not exist, "let" may modify a "const" value.
It is likely that existing scripts rely on the second one,
so variable "sanelet" must be set to enable the fix.
2026-05-08 14:30:31 +01:00
Giles Atkinson 3ba232eaa6 Filter duplicate entries in sourcepath. 2026-05-07 18:24:12 +01:00
Giles Atkinson 902ea0acd1 Do not report an error when correctly indexing a length-1 vector. 2026-05-07 18:14:31 +01:00
Giles Atkinson 451f9feb5b Disable output redirection for "let" so that normal comparison
operators may be used.
2026-05-07 18:09:15 +01:00
Giles Atkinson c06a3b4484 Command "setplot new" may set name and description of the new plot. 2026-05-07 18:05:43 +01:00
Giles Atkinson bfb5381bfc Allow building without soundfile libraries. 2026-05-07 17:30:12 +01:00
Giles Atkinson 8e2f72f129 CMPP: also skip over single-quoted strings in code-model source. 2026-05-06 08:25:07 +01:00
Giles Atkinson dc8794925c Fix Bug #776 -
"vlnggen fails to find verilator in MSYS2/MINGW64 on Windows 10".
Patch by Chaojun.
2026-05-06 08:25:07 +01:00
Holger Vogt 936ca5cec7 Update project files: integrate wave compilation
including sdnfile.dll and samplerate.dll, make
both project files more uniform.
2026-05-05 15:49:35 +02:00
Holger Vogt 65fd1e833f Add copying sndfile.dll and samplerate.dll 2026-05-05 15:48:01 +02:00
Holger Vogt 1f6e466c8e Update of wave README 2026-05-05 15:47:16 +02:00
Holger Vogt 3f3194babf Update to meas: stdout-->stderr, remove unusable error message,
reported by Dmitriy
2026-05-04 16:54:53 +02:00
Holger Vogt 6a99f7978e Update description for Linux. 2026-04-30 15:24:04 +02:00
Holger Vogt 531c4550bc Update for compiling with macOS Apple Silicon, tested with M2 2026-04-30 14:55:57 +02:00
Holger Vogt 0638e6ab35 Update to the README. 2026-04-30 13:40:39 +02:00
Holger Vogt db8cbb5c6e Remove result file 2026-04-30 13:06:31 +02:00
Linus Torvalds a1cd8d0565 Allow loading the entire audio file at vsjack_open() time,
get the actual oversampling, to allocate the sample space.
2026-04-30 13:06:31 +02:00
Linus Torvalds b672580181 Add some reset to -re-enable consecutive simulations 2026-04-30 13:06:31 +02:00
Linus Torvalds 6694fd882d Patch fixes bug in the original linear interpolation,
along with generating a proper "streaming" resampled output.
2026-04-30 13:06:31 +02:00
Holger Vogt a40e283ddc provide correct path info 2026-04-30 13:06:30 +02:00
Holger Vogt 8efc138b73 Add wav to fftw version of shared ngspice 2026-04-30 13:06:30 +02:00
Holger Vogt 70a1c3fc6e Improve error messages.
Oversampling default is 4.
2026-04-30 13:06:30 +02:00
Holger Vogt f3a243fd1f Make types compatible, change from int to size_t 2026-04-30 13:06:30 +02:00
Holger Vogt d71146a37a Formatting
Replace tabs by spaces
2026-04-30 13:06:30 +02:00
Holger Vogt 9f2f8bd567 Oversampling default is 1 2026-04-30 13:06:30 +02:00
Holger Vogt 8fda6f73ba Install ngspice wav on Ubuntu 24.04 2026-04-30 13:06:30 +02:00
Holger Vogt d774f5cf7c Examples for wav audio simulation. 2026-04-30 13:06:29 +02:00
Holger Vogt 412d9a7289 Update to ngspice-43. 2026-04-30 13:06:29 +02:00
Holger Vogt 2c9f7a7ebf Use the most recent samplerate.dll from
https://github.com/libsndfile/libsamplerate/releases
2026-04-30 13:06:29 +02:00
Holger Vogt d26c19f984 Remove source of memory errors: read and write beyond boundaries
caused segfaults.
2026-04-30 13:06:29 +02:00
Holger Vogt 302df8ddac Enable most recent build of sndfile.dll from
https://github.com/libsndfile/libsndfile
2026-04-30 13:06:29 +02:00
Holger Vogt 5bf1e82ac3 Just a small fix 2026-04-30 13:06:29 +02:00
Holger Vogt f4c56990f8 prevent a segfault when TSTOP less than TSTART in tran command 2026-04-30 13:06:28 +02:00
Holger Vogt 17665eb843 allow other simulation types, e.g. ac
prevents crash
2026-04-30 13:06:28 +02:00
Holger Vogt 271e9ce6b1 Enable compilation of shared ngspice with wav support 2026-04-30 13:06:28 +02:00
Holger Vogt 7a88c3341d Enable compiling with *.wav (audio) file support. 2026-04-30 13:06:28 +02:00
Holger Vogt 831754e71a Enable standard search paths for *.wav file search. 2026-04-30 13:06:28 +02:00
Holger Vogt 44a625e4df add dot commands .sndprint, .sndparam in inp.c 2026-04-30 13:06:28 +02:00
Holger Vogt 852c48194b Formatting: tabs to spaces 2026-04-30 13:06:27 +02:00
Holger Vogt 50c5a8e2ea Remove unused 2026-04-30 13:06:27 +02:00
Holger Vogt 338e50f15d update to enable compiling for Linux and Cygwin 2026-04-30 13:06:27 +02:00
Holger Vogt 8e9c5fb84a link to download added 2026-04-30 13:06:27 +02:00
Holger Vogt efe634cd71 typo 2026-04-30 13:06:27 +02:00
Holger Vogt 58d7739334 renamed from REAME.wav 2026-04-30 13:06:27 +02:00
Holger Vogt 63e7bd665e rename 2026-04-30 13:06:27 +02:00
Holger Vogt 07e61044c1 short intro
more to follow
2026-04-30 13:06:26 +02:00
Holger Vogt ab32d47860 replace exit() by controlled_exit() 2026-04-30 13:06:26 +02:00
Holger Vogt 93dbc846a3 declare functions and variables static, if so 2026-04-30 13:06:26 +02:00
Holger Vogt c1a35dbb92 reformat vsjack.c 2026-04-30 13:06:26 +02:00