ngspice/examples/wave/sndtst.cir

25 lines
387 B
Plaintext
Raw Permalink Normal View History

2024-08-04 16:43:25 +02:00
simple audio test
2026-05-15 01:00:56 +02:00
V_V2 1 0 file gits.wav snd 0 0 1.0 0 0 32
2024-08-04 16:43:25 +02:00
R_R1 1 0 1M
2026-05-15 01:00:56 +02:00
.sndparam test-io.wav 48000 wav24 1.0 0.0 1.0
2024-08-04 16:43:25 +02:00
.sndprint tran v(1)
.tran 2.08333e-05 2.0 0 2.08333e-05
.op
.control
if $?batchmode
else
2026-05-15 01:00:56 +02:00
sndparam $inputdir/test-io.wav 48000 wav24 1.0 0.0 1.0
2024-08-04 16:43:25 +02:00
tran 6.5104166e-07 3.0 0.1 6.5104166e-07
rusage
sndprint v(1)
rusage
end
.endc
.END