Commit Graph

7515 Commits

Author SHA1 Message Date
Linus Torvalds 6e9e5f7d80 Allow loading the entire audio file at vsjack_open() time,
get the actual oversampling, to allocate the sample space.
2025-07-13 15:03:07 +02:00
Linus Torvalds dbb81ae1e7 Add some reset to -re-enable consecutive simulations 2025-07-08 10:11:39 +02:00
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 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 31b443add8 Remove source of memory errors: read and write beyond boundaries
caused segfaults.
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 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 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 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 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 Vogt ce8480c690 Enable improved error message with nested .include. 2024-12-28 14:43:01 +01:00
Holger Vogt c7ee676e3d Improve the error message by hinting to the source of the error. 2024-12-28 14:42:49 +01:00
Holger 114bda2941 Add missing backslash 2024-12-27 17:31:01 +01:00
Holger Vogt 6730474067 Make verilog/libvvp.def verilog/MSVC.CMD verilog/README.txt distributable 2024-12-27 17:11:12 +01:00
Holger 3fa09bd3cf Add missing header files to enable their distribution 2024-12-27 16:20:08 +01:00
Holger Vogt a4e443fcce precautionary prevent passing instances which internally have got
upper case lettering. Removes a crash reported in
https://gitlab.com/kicad/code/kicad/-/issues/18648.
2024-12-27 11:18:00 +01:00
Holger Vogt ffde17441b Don't quote the subcircuit name in an X line 2024-12-27 11:15:09 +01:00
Giles Atkinson d549b882df Fix a crash that happens after an iplot window is zoomed and closed
while active.
2024-12-27 11:14:53 +01:00
Holger Vogt 8eea1f0b41 Prepare ngspice-44 2024-12-26 15:01:10 +01:00
Holger Vogt 20e889b736 Fix a typo 2024-12-23 16:54:34 +01:00
Brian Taylor a841a66ee1 d_process needs to strip || at the end of the process_file string when using PSpice compat mode. The failure was found by @slh on the KiCad forum. 2024-12-15 22:12:17 +01:00
Holger Vogt 1e4a6ac8b8 avoid memory leak by appending, not prepending the word 2024-12-15 10:29:32 +01:00
Holger Vogt a6ad2470f1 Add a flag compmod to struct card.
Set compmod to 1 if netlist line is included by command 'incpslt'
Guard special newcompat.hs sections by compmod
2024-12-15 10:29:23 +01:00
dwarning 3f562ae4f6 fix diode level=3 setup for multiple simulations 2024-12-15 10:29:05 +01:00
dwarning 4bd5ebe3e3 Fixed the diode scaling bug reported by A. Buermen 2024-12-15 10:28:46 +01:00
Árpád Bűrmen 727f11edf0 Fixed incorrect OSDItrunc() state index when $limit is present. 2024-12-15 10:28:33 +01:00