I'd need to see you sampler code to see what the problem
is, but this sequence works:
;; write a square-wave to test.snd
(with-sound (:output "test.snd" :to-snd #f)
(let ((g (make-square-wave 440.0)))
(do ((i 0 (+ i 1)))
((= i 44100))
(outa i (square-wave g)
;; read it
Hi,
I was trying to use make-sampler, but having a problem opening (read-sample) a
non-bandlimited square wav effectively. Snd's Open menu function works fine,
but the make-sampler approach gives a max'd out flat line which seems like it
might be an aliasing problem? I tried low-pass filtering