Play recorded sounds: Difference between revisions

m
(julia example)
Line 322:
push!(args, "trim", string(tstart), string(tend))
end
playprocess = run(`play $args`; wait=false)
clearfornew()
end
Line 333:
filenames = fill("", numfiles)
filedurations = zeros(numfiles)
playprocess = @async(0)
foreach(i -> set_gtk_property!(filebutton[i], :label, "Select File $i"), 1:numfiles)
set_gtk_property!(GtkAdjustment(repeats), :value, 0)
Line 339 ⟶ 338:
end
killplay(w) = @async(thowtokill(playprocess, DomainError()))
 
playsimul(w) = play(true)
Line 359 ⟶ 358:
recordingplayerapp()
</lang>
 
 
=={{header|Mathematica}}==
4,102

edits