Files
Terrarum/work_files/romapidoc/api_speaker.tex
Song Minjae 7fec3fc066 beeps are now processed sorely on the computer, added speaker driver (wip)
Former-commit-id: c8339104815a62db51e5bd26460a87f1f653a775
Former-commit-id: f22320a45734b141c4f02ca61fbd79772e32c7c5
2016-09-28 00:44:02 +09:00

10 lines
403 B
TeX

The Speaker API provides means to control computer's built-in beeper speaker.
\begin{tabularx}{\textwidth}{l l X}
\textbf{\large Function} & \textbf{\large Return} & \textbf{\large Description}
\\ \\
\endhead
speaker.enqueue(len: int, freq: num) & nil & Enqueues speaker driving information. Queues will be started automatically.
\\ \\
speaker.clear() & nil & Clears speaker queue.
\end{tabularx}