view examples/sound/sampled/lineio.scm @ 8:5e3cbbf173aa tip

Reorganise some more
author samer
date Fri, 05 Apr 2019 22:41:58 +0100
parents b67a33c44de7
children
line wrap: on
line source
(load "audio.scm")
(load "lineout.scm")

; audio input with a frame size of 1024 and a hop size of 512
; is routed directly to audio output, which must also be informed
; that hop size is 512.
(define hop 512)
(define fmt (mono 22050))
(lineout (linesnk fmt) (linein (linesrc fmt) 1024 hop) hop)
(expose)