Skip to content

Sound not working? #24

@martin-henz

Description

@martin-henz

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions