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

Download this file

27 lines (22 with data), 687 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]=gspi()
%GSPI Load the 'glockenspiel' test signal.
%
% GSPI loads the 'glockenspiel' signal. The is 262144 samples long,
% mono, recorded at 44100 Hz using 16 bit quantization.
%
% [sig,fs]=GSPI additionally returns the sampling frequency fs.
%
% The signal, and other similar audio tests signals, can be found on
% http://andrew.csie.ncyu.edu.tw/html/mpeg4/sound.media.mit.edu/mpeg4/audio/sqam/index.html
%
% AUTHOR : Peter Soendergaard
% TESTING: TEST_SIGNALS
% REFERENCE: OK
if nargin>0
error('This function does not take input arguments.')
end;
f=mfilename('fullpath');
% Load audio signal
s = wavread([f,'.wav']);
fs = 44100;
%OLDFORMAT

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

Sign up for the SourceForge newsletter:





No, thanks