Code covered by the BSD License  

Highlights from
Simple Audio Editor

image thumbnail
from Simple Audio Editor by Navan Ruthramoorthy
This is a simple audio editor GUI to read, write, cut, copy, paste, filter and analyze audio data.

filewriters.WaveFileWriter
classdef WaveFileWriter < handle
    
%   Copyright 2008 The MathWorks, Inc.
%   Author: Navan Ruthramoorthy

  methods
      function this = WaveFileWriter
      end
  end

  methods (Static)
      function ext = getExt()
          ext = '.wav';
      end

      function write(fileName, data, Fs)
          wavwrite(data, Fs, fileName);
      end
  end

end

Contact us at files@mathworks.com