view examples/sound/sampled/play.scm @ 5:b67a33c44de7

Remove some crap, etc
author samer
date Fri, 05 Apr 2019 21:34:25 +0100
parents bf79fb79ee13
children 5e3cbbf173aa
line wrap: on
line source
;;; This script reads audio from standard input and presents
;;; an interface for playing it. Program exits when playback
;;; thread is killed.

(load "audio.scm")
(load "filelist.scm")
(load "lineout.scm")

(tasks)
(put "playlist.current" null)
(define in (filesource))
(.open in System.in$)

(lineout (linein in 2048 2048))
(expose)
(start)
(.join (thread))
(exit)