Menu

#13 Sound I/O support

open
nobody
None
5
2020-08-01
2011-09-13
No

I am not original author of sndfile patch. I found it
http://gareus.org/oss/spicesound

Original patch didn't work so I fixed it.

Changes except finding the place where to put hunks are:
1) in commands.c:
{ "sndprint", com_sndprint, FALSE, FALSE, TRUE,
+ { 040000, 040000, 040000, 040000 }, E_BEGINNING, 1, LOTS,
+ arg_print,
+ "[col] expr ... : Print vector values." }
removed the TRUE.
2) forget fteext.h hunk.

I am not good with with CVS. So forgive me. This tar archive has new
files and soundfile.patch which is up to date patch ( hopefully current
svn tree.) Also copy of the original ng-spice-rework-17-snd-v3.2.diff
patch file is provided.

Hannu Vuolasaho

Discussion

  • Hannu Vuolasaho

    Hannu Vuolasaho - 2011-09-13

    Support for audio I/O

     
  • Franz Zinn

    Franz Zinn - 2012-06-12

    Thank you for this patch. It would be nice to see this functionality in ngspice.

     
  • Holger Vogt

    Holger Vogt - 2020-08-01

    There is a new git branch wav-audio available, using a modified version of this patch onto ngspice-32+.

    The current setup has only been roughly tested on MSVC2019 forWindows 10.

    Please have a look at README.wavsim.

     

    Last edit: Holger Vogt 2020-08-01
  • Holger Vogt

    Holger Vogt - 2020-08-01

    You may download a ngspice for Windows executable, made from the wav-audio branch, with all necessary libraries and some examples added.

    See http://ngspice.sourceforge.net/download.html#wav

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.