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

add function

parent 6e5501cb
No related branches found
No related tags found
No related merge requests found
Pipeline #5970 canceled
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