Record sound: Difference between revisions
Content deleted Content added
Nimrod -> Nim |
|||
Line 311: | Line 311: | ||
<lang Mathematica>SystemDialogInput["RecordSound"]</lang> |
<lang Mathematica>SystemDialogInput["RecordSound"]</lang> |
||
=={{header| |
=={{header|Nim}}== |
||
{{trans|C}} |
{{trans|C}} |
||
<lang |
<lang nim>proc record(bytes): auto = |
||
var f = open("/dev/dsp") |
var f = open("/dev/dsp") |
||
result = newSeq[int8](bytes) |
result = newSeq[int8](bytes) |