Re: [CM] make-sampler vs. open

2023-12-07 Thread bil
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

[CM] make-sampler vs. open

2023-12-07 Thread James Hearon
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