Skip to content

Instantly share code, notes, and snippets.

@jeffvautin
Created July 23, 2014 15:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jeffvautin/afce7541aa24f40153b7 to your computer and use it in GitHub Desktop.
Save jeffvautin/afce7541aa24f40153b7 to your computer and use it in GitHub Desktop.
Simple analysis of difference between 16- and 24-bit versions Eno • Hyde song “Return”.
%% Read files
[return_16,FS_16,NBITS_16,OPTS_16] = wavread('High Life-001-Eno ∑ Hyde-Return 16.wav');
[return_24,FS_24,NBITS_24,OPTS_24] = wavread('High Life-001-Eno ∑ Hyde-Return 24.wav');
%% Make Diff
return_diff = return_24 - return_16;
return_diff_boost = 0.99*return_diff/max(max(abs(return_diff)));
%% Plot
plot(return_diff_boost(1:5000,1));
title('Difference Between 24 and 16-bit Versions of Return');
xlabel('Samples'); ylabel('FS');
%% Write file
wavwrite(return_diff_boost,FS_16,NBITS_16,'High Life-001-Eno ∑ Hyde-Return Diff.wav');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment