You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 7463 Reporter: jilljenn Status: resolved (set by @xavierleroy on 2017-01-28T17:43:36Z) Resolution: won't fix Priority: normal Severity: minor Platform: Mac OS: OS X El Capitan OS Version: 10.11.6 Version: 4.04.0 Category: standard library
Bug description
Whenever I do "ocaml graphics.cma", then:
open Graphics;;
open_graph "";;
sound 440 1000;;
I only hear the system beep, instead of the requested frequency (440 Hz).
I'm afraid this is a limitation of Mac OS's implementation of the X11 protocol, whereas changing the frequency of the beep is not supported. Apparently this limitation has been with us for a long time. I doubt we want to invest time and effort to work around this particular limitation. If anyone cares enough to provide an alternate Mac OS implementation, please reopen this report.
Original bug ID: 7463
Reporter: jilljenn
Status: resolved (set by @xavierleroy on 2017-01-28T17:43:36Z)
Resolution: won't fix
Priority: normal
Severity: minor
Platform: Mac
OS: OS X El Capitan
OS Version: 10.11.6
Version: 4.04.0
Category: standard library
Bug description
Whenever I do "ocaml graphics.cma", then:
open Graphics;;
open_graph "";;
sound 440 1000;;
I only hear the system beep, instead of the requested frequency (440 Hz).
It was quite cumbersome to get the Graphics library working (because of XQuartz replacing X11). I followed these instructions:
http://www.cis.upenn.edu/~cis120/current/ocaml_setup.shtml
Apparently I got the same problem 9 years ago, under Caml Light:
http://caml.inria.fr/pub/ml-archives/caml-list/2008/01/ec702a21efe0060d15766bacce6c073b.fr.html
Steps to reproduce
Type "ocaml graphics.cma" in a console, then:
open Graphics;;
open_graph "";;
sound 440 1000;;
The text was updated successfully, but these errors were encountered: