function final_Hex = getHexAudio(negPosValue);

if(negPosValue<-1 | negPosValue>1 | length(negPosValue)>16)
	disp('Audio Sample Out of Range');
    return
elseif (negPosValue>=0)
    calcValue = round(32767*negPosValue);
else
    calcValue = round(

final_Hex = dec2hex(calcValue);