Code covered by the BSD License  

Highlights from
Simple Audio Editor

4.8
4.8 | 5 ratings Rate this file 54 Downloads (last 30 days) File Size: 26.5 KB File ID: #19873 Version: 1.0
image thumbnail

Simple Audio Editor

by

 

09 May 2008 (Updated )

This is a simple audio editor GUI to read, write, cut, copy, paste, filter and analyze audio data.

| Watch this File

File Information
Description

AudioEditor creates a GUI used for editing audio data. It supports reading from a WAVE audio file, writing to a WAVE audio file, importing from a MATLABĀ® variable, exporting to a MATLAB variable and recording from microphone. There are editing features like cut, copy, paste with undo and redo support for them. There are also filters to process the audio data and analyzers to analyze the data.

You can start the audio editor by typing AudioEditor at the command prompt.

Required Products Signal Processing Toolbox
MATLAB release MATLAB 7.6 (R2008a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (15)
21 Jun 2015 eran golden

hi navan, is it possible to compare two signals and to estimate their similarity using your program?

Comment only
18 Nov 2014 Yu Liu

Yu Liu (view profile)

 
18 Jul 2014 Navan Ruthramoorthy

Selection code is in axesButtonDownCallback method. You can instantiate AudioEditor in a function and simply return the value.

Comment only
10 Jul 2014 tan

tan (view profile)

ohh, how can i do that? And may i know which part of the codes does the job of after selected an region, and click the waveform again the red line will reset?

Comment only
08 Jul 2014 Navan Ruthramoorthy

tan, Are you building your own ui with copy paste functionality? Look for cutCallback, copyCallback and pasteCallback in AudioEditor.m to see how they are implemented. You can create a function which creates and returns AudioEditor.

Comment only
03 Jul 2014 tan

tan (view profile)

How to change the class file to function file? for the functions of paste copy cut undo redo and select wave. or how to use those function into a new gui

Comment only
12 Dec 2013 Mike

Mike (view profile)

Ah that makes sense. Thanks again.

Comment only
09 Dec 2013 Navan Ruthramoorthy

Currently command line inputs are not supported by AudioEditor. The class is there only to create the GUI and everything else is done through the UI. You can add a filename input as an argument to the constructor by modifying the AudioEditor class. You need to assign

this.Filename = varargin{1};

as the first line in the constructor.

Comment only
07 Dec 2013 Mike

Mike (view profile)

Hello again. I'm new to user defined classes and I've been having difficulty understanding how to start AudioEditor with a file already in a function as opposed to loading it from the 'Data' tab in the GUI.

Is there a way that I can just assign 'Filename' in 'varargin' in the constructor function? From what I've read that function creates an object, 'this,' of the class but I don't understand what it's doing with 'varargin'.

I've been playing around with the 'Filename' property using uigetfile and it works when calling AudioEditor from the Command Window but not from within a function. I always get the answer, "AudioEditor with no properties."

Lastly I tried setting the 'Filename' with "AudioEditor.Filename = 'test.wav'" before calling 'AudioEditor' but that just resulted in an output of "Filename: 'test.wav'.

Should I be looking to modify 'getFromMATLABVarNameandFs.m' to accomplish this?

Also, could you explain the difference between Filename, AudioData, and filename?

Thanks for your help,

Mike

Comment only
03 Dec 2013 Mike

Mike (view profile)

Thanks! That did the trick.

03 Dec 2013 Navan Ruthramoorthy

Mike,
In the file AudioEditor.m change the line "load audiotoolbaricons;" to "load uiscope_icons;". That should fix it.

Comment only
03 Dec 2013 Mike

Mike (view profile)

Hello Navan, thanks for the program.

I'm receiving the error: "Unable to read file 'audiotoolbaricons': no such file or directory."

Do you have any suggestions on what I need to do to point to this?

Thank you.

Comment only
10 Apr 2012 Arturo Serrano

Arturo Serrano (view profile)

 
01 Feb 2011 Mark

Mark (view profile)

Works great right out of the gate. Simple to use. Thanks!

14 Jan 2011 Aleksandr Ivanov

Excellent work!

Updates
14 May 2008

Updated description.

Contact us