Record sound: Difference between revisions
m
no edit summary
(Added Kotlin) |
mNo edit summary |
||
Line 279:
<lang guiss>Start,Programs,Accessories,Sound Recorder,Button:Record</lang>
=={{header|Julia}}==
<lang Julia>
using PortAudio, LibSndFile
stream = PortAudioStream("Microphone (USB Microphone)", 1, 0) # 44100 samples/sec
buf = read(stream, 441000)
save("recorded10sec.wav"), buf)
</lang>
=={{header|Kotlin}}==
|