MATLAB Answers

code for embedding image in audio

1 view (last 30 days)
ponnu kunnath
ponnu kunnath on 21 Mar 2018
hi, I need to hide an image with audio file. Since I don't know matlab coding,I got the java code but i dont know how to convert the javacode to matlab code? %int audioByteCount=0; %for(int i=0;i<colorBytes.length;i++){ %int colorByte = colorBytes[i]; %for(int bit=7; bit>=0; --bit){ %int b = (colorByte >>> bit) & 1; %audioBytes[audioByteCount] = ((audioBytes[audioByteCount] & 0xFE) | b ); %colorByteCount++; } }

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!