Commit Graph

9151 Commits

Author SHA1 Message Date
Linus Torvalds 8829d21e26 Patch fixes bug in the original linear interpolation,
along with generating a proper "streaming" resampled output.
2025-07-07 14:08:56 +02:00
Holger Vogt 492ab61ff1 provide correct path info 2025-07-07 14:02:10 +02:00
Holger Vogt 276c4f99ea Add wav to fftw version of shared ngspice 2025-04-06 18:12:09 +02:00
Holger Vogt 7f2acbfaac re-enable adding variables (path names) to list variable "sourcepath" 2025-04-06 12:47:08 +02:00
Holger Vogt e145b0dac4 Improve error messages.
Oversampling default is 4.
2025-04-06 10:06:36 +02:00
Holger Vogt 82f1100c86 Make types compatible, change from int to size_t 2025-04-06 10:06:36 +02:00
Holger Vogt 84faa15c95 Formatting
Replace tabs by spaces
2025-04-06 10:06:36 +02:00
Holger Vogt b00643c3b5 Oversampling default is 1 2025-04-06 10:06:36 +02:00
Holger Vogt 905d8ae645 Install ngspice wav on Ubuntu 24.04 2025-04-06 10:06:35 +02:00
Holger Vogt 549882be6b Examples for wav audio simulation. 2025-04-06 10:06:35 +02:00
Holger Vogt 09a8add2c2 Update to ngspice-43. 2025-04-06 10:06:35 +02:00
Holger Vogt 8e6f3446bf Use the most recent samplerate.dll from
https://github.com/libsndfile/libsamplerate/releases
2025-04-06 10:06:35 +02:00
Holger Vogt 31b443add8 Remove source of memory errors: read and write beyond boundaries
caused segfaults.
2025-04-06 10:06:35 +02:00
Holger Vogt 686960e2b6 Enable most recent build of sndfile.dll from
https://github.com/libsndfile/libsndfile
2025-04-06 10:06:35 +02:00
Holger Vogt be3f039311 Just a small fix 2025-04-06 10:06:34 +02:00
Holger Vogt de45309a4a prevent a segfault when TSTOP less than TSTART in tran command 2025-04-06 10:06:34 +02:00
Holger Vogt 79bcbf10c7 allow other simulation types, e.g. ac
prevents crash
2025-04-06 10:06:34 +02:00
Holger Vogt 87c9b18274 Enable compilation of shared ngspice with wav support 2025-04-06 10:06:34 +02:00
Holger Vogt b978d41a81 Enable compiling with *.wav (audio) file support. 2025-04-06 10:06:34 +02:00
Holger Vogt e81e288853 Enable standard search paths for *.wav file search. 2025-04-06 10:06:34 +02:00
Holger Vogt e2fee178be add dot commands .sndprint, .sndparam in inp.c 2025-04-06 10:06:34 +02:00
Holger Vogt 8919c753b2 Formatting: tabs to spaces 2025-04-06 10:06:33 +02:00
Holger Vogt 548f7e1a58 Remove unused 2025-04-06 10:06:33 +02:00
Holger Vogt 98d105d2e2 update to enable compiling for Linux and Cygwin 2025-04-06 10:06:33 +02:00
Holger Vogt b1d98bc719 link to download added 2025-04-06 10:06:33 +02:00
Holger Vogt 9764c4c38f typo 2025-04-06 10:06:33 +02:00
Holger Vogt 6445e1b76d renamed from REAME.wav 2025-04-06 10:06:33 +02:00
Holger Vogt b84a0d8fbe rename 2025-04-06 10:06:32 +02:00
Holger Vogt 54b0a1b4d1 short intro
more to follow
2025-04-06 10:06:32 +02:00
Holger Vogt 3b241a690b replace exit() by controlled_exit() 2025-04-06 10:06:32 +02:00
Holger Vogt fae6e491d9 declare functions and variables static, if so 2025-04-06 10:06:32 +02:00
Holger Vogt 9f4e03c7c7 reformat vsjack.c 2025-04-06 10:06:32 +02:00
Holger Vogt a64c9cba5d Use the current method to set the coefficients 2025-04-06 10:06:32 +02:00
Holger Vogt 7cf5c3b98b reformat, set better error message for src_process() 2025-04-06 10:06:31 +02:00
Holger Vogt 733c734e53 add progress report when entering wav output stage 2025-04-06 10:06:31 +02:00
Holger Vogt 185970dc3f add commands sndprint, sndparam with
associated functions com_sndprint and com_sndparam
2025-04-06 10:06:31 +02:00
Holger Vogt 8a738e2cec add dotcards .sndparam and .sndprint 2025-04-06 10:06:31 +02:00
Holger Vogt fb14e468b7 ngspice.h and controlled_exit() instead of exit() 2025-04-06 10:06:31 +02:00
Holger Vogt 219d842915 add sound capability to vsrc
see https://sourceforge.net/p/ngspice/patches/13/
2025-04-06 10:06:31 +02:00
Holger Vogt cf645107d2 add files sndprint, vsjack 2025-04-06 10:06:31 +02:00
Holger Vogt e011d14f6f Add version 44.2 2025-01-22 12:02:54 +01:00
Holger Vogt 80d22fc802 Prepare the bug-fix release 44.2 2025-01-11 11:55:56 +01:00
dwarning a6d6a07f79 S to Z matrix conversion by formula instead of Y inversion
low limiting Rn and Cy to prevent division by 0, fix provided by Alessio Cacciatori

there are still problems in Z matrix conversion in specific networks
2025-01-11 09:22:15 +01:00
Holger Vogt e1bd97d8f6 If C= or Q= is omitted in the instance line of a behavioral capacitor,
select as default the C= formulation, not the Q= formula..
2025-01-10 15:17:22 +01:00
Holger Vogt e0a7d821e9 Notes go to stdout, not stderr 2025-01-09 13:21:52 +01:00
Giles Atkinson 2666460663 Using XFlush() instead of XSync() avoids a round trip to the X server
on each call to DevUpdate().  That speeds plotting when using XQuartz
on Macintosh and makes iplot useable there.
2025-01-09 13:21:31 +01:00
Giles Atkinson b0953d9980 Allow out-of-tree builds. Problem reported by Carsten Schönert. 2025-01-09 13:21:22 +01:00
Holger Vogt 6e5d084a02 "x64" was hardcoded into aux-digital.bat and is used in the compiling of digital.vcxproj.
That's problematic for trying to compile x86 or ARM64.

This patch makes digital.vcxproj pass the arch as arg2 to aux-digital.bat

Patch #120 provided by Mark Roszko
2025-01-09 13:21:15 +01:00
Holger Vogt 1b7c8eb2d7 Fix a crash due to buggy user input.
Improve error message.
Reported in
https://gitlab.com/kicad/code/kicad/-/issues/19439#note_2277932762
2025-01-09 13:21:05 +01:00
Holger 01a153c9a5 Update to prepare ngspice-44 2024-12-28 15:35:25 +01:00