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|Nimrod}}==
=={{header|Nim}}==
{{trans|C}}
{{trans|C}}
<lang nimrod>proc record(bytes): auto =
<lang nim>proc record(bytes): auto =
var f = open("/dev/dsp")
var f = open("/dev/dsp")
result = newSeq[int8](bytes)
result = newSeq[int8](bytes)