Mercurial > hg > aimmat
annotate aim-mat/tools/@signal/edit.m @ 4:537f939baef0 tip
various bug fixes and changed copyright message
author | Stefan Bleeck <bleeck@gmail.com> |
---|---|
date | Tue, 16 Aug 2011 14:37:17 +0100 |
parents | 20ada0af3d7d |
children |
rev | line source |
---|---|
bleeck@3 | 1 % This external file is included as part of the 'aim-mat' distribution package |
bleeck@3 | 2 % (c) 2011, University of Southampton |
bleeck@3 | 3 % Maintained by Stefan Bleeck (bleeck@gmail.com) |
bleeck@3 | 4 % download of current version is on the soundsoftware site: |
bleeck@3 | 5 % http://code.soundsoftware.ac.uk/projects/aimmat |
bleeck@3 | 6 % documentation and everything is on http://www.acousticscale.org |
tomwalters@0 | 7 function edit(sig) |
tomwalters@0 | 8 % opens the signal in CoolEdit (if installed) |
tomwalters@0 | 9 name='temp_signal_in_edit'; |
tomwalters@0 | 10 |
tomwalters@0 | 11 filename=get_new_filename(name,'wav'); |
tomwalters@0 | 12 |
tomwalters@0 | 13 savewave(sig,filename); |
tomwalters@0 | 14 try |
tomwalters@0 | 15 winopen(filename); |
tomwalters@0 | 16 catch |
tomwalters@0 | 17 error('sorry, no wave editor installed'); |
tomwalters@0 | 18 end |
tomwalters@0 | 19 |