Record sound: Difference between revisions
Content deleted Content added
m {{task|Sound}} |
|||
Line 391: | Line 391: | ||
=={{header|Scala}}== |
=={{header|Scala}}== |
||
{{libheader|Scala}} |
|||
<lang Scala>import java.io.{File, IOException} |
|||
import javax.sound.sampled.{AudioFileFormat, AudioFormat, AudioInputStream} |
import javax.sound.sampled.{AudioFileFormat, AudioFormat, AudioInputStream} |
||
import javax.sound.sampled.{AudioSystem, DataLine, LineUnavailableException, TargetDataLine} |
import javax.sound.sampled.{AudioSystem, DataLine, LineUnavailableException, TargetDataLine} |