package mindstorm

  1. Overview
  2. Docs
val tone : _ conn -> vol:int -> freq:int -> ms:int -> unit

tone conn vol freq dur plays a sound with volume vol (in 0 .. 100), frequency freq (in 250 .. 10000) for the duration of ms miliseconds (in 0 .. 32767.

OCaml

Innovation. Community. Security.