[5f391e]: signals / ltfatlogo.m Maximize Restore History

Download this file

ltfatlogo.m    31 lines (25 with data), 718 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
function [s,fs]=ltfatlogo()
%LTFATLOGO Load the 'ltfatlogo' test signal.
% Usage: s=ltfatlogo;
%
% LTFATLOGO loads the 'ltfatlogo' signal. This is a sound synthezised from an
% artificial spectrogram of the word 'LTFAT'. See the help of LTFATTEXT.
%
% [sig,fs]=LTFATLOGO additionally returns the sampling frequency fs.
%
% The signal is 7200 samples long and recorded at 8 kHz. It has been
% scaled to not produce any clipping.
%
% See also: ltfattext
%
% Demos: demo_isgram
% AUTHOR : Peter Soendergaard
% TESTING: TEST_SIGNALS
% REFERENCE: OK
if nargin>0
error('This function does not take input arguments.')
end;
f=mfilename('fullpath');
s = wavread([f,'.wav']);
fs=8000;
%OLDFORMAT