audiorecorderTL

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Video/Audio/PDF
Introduced first in SolidGeometry 4.9, Creation date: 2020-03-26, Last change: 2025-09-14

records an audio sample from a specified device

Description

simplifies the use of different input devices
for autostop use audiorecorderTLautostop

See Also: soundTL , audiotrim , audiovocoder , audiorecorderTLautostop

Example Illustration

 missing image of audiorecorderTL(DV,FS,tim,SH)

Syntax

[y,FS]=audiorecorderTL([DV,FS,tim,SH])

Input Parameter

DV: device string' default is webcam
FS: Sampe rate; default is 16000
tim: time to samplel default is 1 sec
SH: if true; a time scale is displayed; default is true

Output Parameter

y: Signal
FS: Sample rate

Examples


audiorecorderTL('HELP',16000,2); % returns the existing input devices
audiorecorderTL('pro X',16000,2); y=ans; soundTL(y,16000,'Pro X')




Copyright 2020-2025 Tim C. Lueth. All rights reserved. The code is the property of Tim C. Lueth and may not be redistributed or modified without explicit written permission. This software may be used free of charge for academic research and teaching purposes only. Commercial use, redistribution, modification, or reverse engineering is strictly prohibited. Access to source code is restricted and granted only under specific agreements. For licensing inquiries or commercial use, please contact: Tim C. Lueth

Last html export of this page out of FM database by TL: 2025-09-21