Stft

Páginas: 8 (2000 palabras) Publicado: 11 de febrero de 2013
ANALISIS DE SEÑAL DE VOZ UTILIZANDO STFT
JAVIER E. VANEGAS R., javievr@yahoo.com COD. 20122101012
ESPECIALIZACION EN INFORMÁTICA Y AUTOMÁTICA INDUSTRIAL
ENERO DE 2013, BOGOTÁ D.C

Resumen: Se pretende realizar un análisis de señales de voz, utilizando Transformada de Fourier en Tiempo Corto (STFT); es decir, se le aplicará “ventaneo” como es el caso de Hamming, Chebyshev, Gauss, Bartlett yHanning, a una señal de voz para interpretar el resultado.

INTRODUCCION

Mediante GUI de Matlab se realiza una interfaz donde el usuario puede grabar su voz y a su vez analizarla aplicando STFT pulsando el botón correspondiente a la ventana deseada (Hamming, Chebyshev, Gauss, Bartlett y Hanning) para así ver su comportamiento en el espectro frecuencia vs tiempo, y gráficamentedependiendo el ancho de banda utilizado con el número de muestras deseadas.

METODO

Se realizan códigos en matlab para capturar la señal de voz, mediante una interfaz gráfica GUI o “guide” al igual dichos códigos tienen la particularidad de arrojar graficas en donde se analizan segmentos de señal pequeños que permiten tener una buena resolución en tiempo pero una mala resolución en frecuencia ya quesolo se podrán observar las componentes de frecuencia igual y mayores al inverso del tamaño de la ventana; pero al igual si la ventana seleccionada es muy ancha se tendrá una buena resolución en frecuencia pero una mala resolución en tiempo. Así:

function varargout = Principal(varargin)

% PRINCIPAL MATLAB code for Principal.fig
% PRINCIPAL, by itself, creates a new PRINCIPAL or raisesthe existing
% singleton*.
%
% H = PRINCIPAL returns the handle to a new PRINCIPAL or the handle to
% the existing singleton*.
%
% PRINCIPAL('CALLBACK',hObject,eventData,handles,...) calls the local
% function named CALLBACK in PRINCIPAL.M with the given input arguments.
%
% PRINCIPAL('Property','Value',...) creates a new PRINCIPAL or raises the
%existing singleton*. Starting from the left, property value pairs are
% applied to the GUI before Principal_OpeningFcn gets called. An
% unrecognized property name or invalid value makes property application
% stop. All inputs are passed to Principal_OpeningFcn via varargin.
%
% *See GUI Options on GUIDE's Tools menu. Choose "GUI allows only one
% instance to run(singleton)".
%
% See also: GUIDE, GUIDATA, GUIHANDLES

% Edit the above text to modify the response to help Principal

% Last Modified by GUIDE v2.5 22-Jan-2013 11:28:51

% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct('gui_Name', mfilename, ...
'gui_Singleton', gui_Singleton, ...
'gui_OpeningFcn',@Principal_OpeningFcn, ...
'gui_OutputFcn', @Principal_OutputFcn, ...
'gui_LayoutFcn', [] , ...
'gui_Callback', []);
if nargin && ischar(varargin{1})
gui_State.gui_Callback = str2func(varargin{1});
end

if nargout
[varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
else
gui_mainfcn(gui_State, varargin{:});end

% End initialization code - DO NOT EDIT


% --- Executes just before Principal is made visible.
function Principal_OpeningFcn(hObject, eventdata, handles, varargin)
% This function has no output args, see OutputFcn.
% hObject handle to figure
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
%varargin command line arguments to Principal (see VARARGIN)

% Choose default command line output for Principal
handles.output = hObject;

% Update handles structure
guidata(hObject, handles);

% UIWAIT makes Principal wait for user response (see UIRESUME)
% uiwait(handles.figure1);


% --- Outputs from this function are returned to the command line.
function varargout =...
Leer documento completo

Regístrate para leer el documento completo.

Conviértase en miembro formal de Buenas Tareas

INSCRÍBETE - ES GRATIS