Open martin-henz opened 2 months ago
https://share.sourceacademy.org/jhd28
(import "sound" (play make_sound)) (define π 3.141592653589793) (play (make_sound (lambda (t) (sin (* 2 π t 440))) 1))
currently gives
Line 6: Error: play is expecting sound, but encountered t => t >= duration ? 0 : wave(t),1
I suspect this stems from the differing number representations of scm-slang and SA. will work on a way to reconcile this issue!
https://share.sourceacademy.org/jhd28
currently gives