• 大小: 5.55MB
    文件类型: .zip
    金币: 2
    下载: 1 次
    发布日期: 2023-10-04
  • 语言: Matlab
  • 标签: matlab  音频  GUI  

资源简介

播放wav格式的文件实时显示波形,可以暂停继续,高质量录音,音频编辑(剪辑,滤波),还有几个无关紧要的功能。附带exe文件,不过要安装matlab2012b的mcr。好不容易写的,给个积分吧。实在想要又没有分的就联系我,或者需要使用但遇到问题也可以联系我。QQ2670166943

资源截图

代码片段和文件信息

function varargout = MUSIC(varargin)
% MUSIC MATLAB code for MUSIC.fig
%      MUSIC by itself creates a new MUSIC or raises the existing
%      singleton*.
%
%      H = MUSIC returns the handle to a new MUSIC or the handle to
%      the existing singleton*.
%
%      MUSIC(‘CALLBACK‘hobjecteventDatahandles...) calls the local
%      function named CALLBACK in MUSIC.M with the given input arguments.
%
%      MUSIC(‘Property‘‘Value‘...) creates a new MUSIC or raises the
%      existing singleton*.  Starting from the left property value pairs are
%      applied to the GUI before MUSIC_OpeningFcn gets called.  An
%      unrecognized property name or invalid value makes property application
%      stop.  All inputs are passed to MUSIC_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 MUSIC

% Last Modified by GUIDE v2.5 25-Feb-2015 00:07:34

% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct(‘gui_Name‘       mfilename ...
                   ‘gui_Singleton‘  gui_Singleton ...
                   ‘gui_OpeningFcn‘ @MUSIC_OpeningFcn ...
                   ‘gui_OutputFcn‘  @MUSIC_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 MUSIC is made visible.
function MUSIC_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 MUSIC (see VARARGIN)

% Choose default command line output for MUSIC
delete(timer);
handles.output = hobject;

% Update handles structure
guidata(hobject handles);

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


% --- Outputs from this function are returned to the command line.
function varargout = MUSIC_OutputFcn(hobject eventdata handles) 
% varargout  cell array for returning output args (see VARARGOUT);
% hobject    handle to figure
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)

% Get default command line output from handles structure
varargout{1} = handles.output;


% --- Executes on button press in pushbutton1.
function pushbutton1_Callback(hobject eventdata handles)
% hobject    handle to pushbutton1 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with 

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     文件       17416  2015-02-25 01:00  music_gui\MUSIC.fig
     文件       36436  2015-02-25 01:00  music_gui\MUSIC.m
     文件     5860186  2015-02-04 04:08  music_gui\MUSIC_pkg.exe
     文件        1116  2015-02-02 10:42  music_gui\playaudio.m
     目录           0  2015-03-10 09:42  music_gui\

评论

共有 条评论