[84b1c9]: signals / linus.m  Maximize  Restore  History

Download this file

27 lines (22 with data), 666 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
function [s,fs]=linus()
%LINUS Load the 'linus' test signal.
% Usage: s=linus;
%
% `linus` loads the 'linus' signal. It is a recording of Linus Thorvalds
% pronouncing the words "Hello. My name is Linus Thorvalds, and I
% pronounce Linux as Linux".
%
% The signal is 41461 samples long and is sampled at 8 kHz.
%
% `[sig,fs]=linus` additionally returns the sampling frequency *fs*.
%
% See `<http://www.paul.sladen.org/pronunciation/>`_.
% 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;

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks