code for embedding image in audio

1 次查看(过去 30 天)
ponnu kunnath
ponnu kunnath 2018-3-21
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++; } }

回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by