Record sound: Difference between revisions

Content deleted Content added
PureFox (talk | contribs)
Added Kotlin
Wherrera (talk | contribs)
mNo edit summary
Line 279: Line 279:


<lang guiss>Start,Programs,Accessories,Sound Recorder,Button:Record</lang>
<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}}==
=={{header|Kotlin}}==