Skip to content
Snippets Groups Projects
Commit f7c58667 authored by Marina Kreme's avatar Marina Kreme
Browse files

add function

parent a3d5768f
Branches
Tags
No related merge requests found
function wav_write(filename, y, fs)
%% WAV_WRITE
% Function that writes an audio data file $y$ from a sampling frequency $fs$to a
% file called a $filename$.The filename entry also specifies the format
% of the output file.
%
% Author : A. Marina KREME
% e-mail : ama-marina.kreme@lis-lab.fr/ama-marina.kreme@univ-amu.fr
% Created: 2020-28-01
%%
x= y/max(abs(y));
audiowrite(filename,x,fs);
end
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment