bleeck@3: % This external file is included as part of the 'aim-mat' distribution package bleeck@3: % (c) 2011, University of Southampton bleeck@3: % Maintained by Stefan Bleeck (bleeck@gmail.com) bleeck@3: % download of current version is on the soundsoftware site: bleeck@3: % http://code.soundsoftware.ac.uk/projects/aimmat bleeck@3: % documentation and everything is on http://www.acousticscale.org tomwalters@0: function edit(sig) tomwalters@0: % opens the signal in CoolEdit (if installed) tomwalters@0: name='temp_signal_in_edit'; tomwalters@0: tomwalters@0: filename=get_new_filename(name,'wav'); tomwalters@0: tomwalters@0: savewave(sig,filename); tomwalters@0: try tomwalters@0: winopen(filename); tomwalters@0: catch tomwalters@0: error('sorry, no wave editor installed'); tomwalters@0: end tomwalters@0: